Vitalpbx release note

De SLM - MediaWiki
Révision datée du 15 novembre 2021 à 22:06 par Slemoal (discussion | contributions) (Page créée avec « V1.1 28/03/21 SLM = V2.1 - Version MSATA= == Installation == === Installation Centos 7 Minimal X86_64 === === Mise à jours centos 7 === yum check-update yum update =… »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

V1.1 28/03/21 SLM

V2.1 - Version MSATA

Installation

Installation Centos 7 Minimal X86_64

Mise à jours centos 7

yum check-update
yum update

Installation VitalPBX 3.1.1-1

wget https://raw.githubusercontent.com/VitalPBX/VPS/master/vps.sh
chmod +x vps.sh
./vps.sh

Optimisation

Activer trim

systemctl enable fstrim.timer

Configuration VitalPBX

Backup / Restore

Création d'une sauvegarde - Config Usine
Restauration depuis V1.3

Reseaux

Nom d'hôte: client.tiscom.fr
enp3s0 - igb0 - DHCP - route par defaut - DNS 1.1.1.1 & 1.0.0.1
enp7s0 - igb1 - 192.168.15.245/24
enp8s0 - igb2 - 10.90.90.245/24

Phonebook

Mise à jour liens dans conf DHCP

NTP

Ajout des plans réseaux lan dans /etc/chrony.conf

# Allow NTP client access from local network.
allow 192.168.0.0/16
allow 10.0.0.0/8
allow 172.16.0.0/16

Installation des modules

Branding
Dahdi
Phone Books
Phones Provisioning
Task Manager

Branding

Bureau: Logo V2.1 - Cercle - 300x300.png

Mobile: Logo V2.1 - Cercle - Favicon - 100x100.png

Bureau dark mode: Logo V2.1 - Cercle - 300x300.png

Mobile dark mode: Logo V2.1 - Cercle - Favicon - 100x100.png

Pied de page

<a href="https://www.tiscom.fr/" style="color:#ffffff; font-size: larger">Tiscom</a><a href="callto:0326858477" style="color:#ffffff;"> - 03 26 85 84 77 - </a><a href="mailto:commercial@tiscom" style="color:#ffffff;">commercial@tiscom.fr</a>

Slogan

<a href="https://www.tiscom.fr/" style="color:#0a81e0;">
Votre expert de proximité

</a>

Motd

Modif

/etc/profile.d/vitalwelcome.sh

Provisionning

Correction

Suppression de l'addon provisionning suite à un bug

yum remove vitalpbx-phones-provisioning.x86_64

Réinstallation depuis l'interface web- OK

Firmware

Chargement des firmwares Fanvil:

X3U : x3u-5912-RECOVERY-P0.18.23.1.23-2.4.6-1155T2021-02-02-16.22.08.z
X4U : x4u-6902-P0.18.23.41-2.4.2-3550T2021-02-07-17.08.26.z
X5U : x5u-6906-P0.18.23.41-2.4.2-3550T2021-02-07-17.14.19.z
X6U : x6u-6915-P0.18.23.41-2.4.2-3550T2021-02-07-17.26.08.z
X7  : x7-6926-P0.18.23.41-2.4.2-4175T2021-02-20-14.40.57.z
X7C : x7c-6925-P0.18.23.41-2.4.2-4175T2021-02-20-14.53.17.z
X210: x210-6924-P0.18.23.41-2.4.2-3550T2021-02-20-10.53.53.z

Template

Création
d'une Template pour les postes Fanvils suivant:
X210
X3U
X5U
X7
X7C
Modification
Template (sup gestion touche dss)

X6U : Testé X4U : Testé ligne 2 bug corrigé

Traduction FR

/usr/share/vitalpbx/i18n

https://github.com/VitalPBX/I18n/pull/171

Intégration Scrypt DynHostOVH

VitalPBX#DynHost

Optimisation

Activer gestion des hints par le système
Désactiver "activer la messagerie"
Désactiver "Activer le Portail"
Installer son fr
français - ULAW2.0.0-2 
français (France) - Fini - ULAW3.0.0-1
Notifications disque dur - technique@tiscom.fr 
Volume d'appel anormal - technique@tiscom.fr 

Bip au démarrage et arrêt

VitalPBX#Bip_au_d.C3.A9marrage_et_arr.C3.AAt

V2.2 - Version MSATA

Console

Modification du grub afin d'activer le port ttyS0,115200n8 au démarrage.

nano /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap text quiet console=ttyS0,115200n8"
GRUB_DISABLE_RECOVERY="true"

grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
 

Intégration carte openvox

https://www.openvox.cn/pub/documents/manuals/B400E_BE400E_on_DAHDI_User_Manual.pdf

yum install pciutils bison bison-devel ncurses ncurses-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc gcc-c++ libxml2 libxml2-devel
wget http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.11.5.tar.gz
tar -zxvf libpri-1.4.11.5.tar.gz
wget http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/openvox_dahdi-linux-complete-current.tar.gz
wget http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/openvox_dahdi-linux-complete-current.tar.gz --no-check-certificate
tar -xvzf openvox_dahdi-linux-complete-current.tar.gz

Monitoring

Installation Proxy Zabbix + Agent

Zabbix_Agent_VitalPBX_proxy

Correction

DynHost

Création Tache Dynhost

Motd Lors de mise à jour, le motd tiscom est écrasé par celui vital pbx

cp /etc/profile.d/vitalwelcome.sh /etc/profile.d/tiscomwelcome.sh
rm /etc/profile.d/vitalwelcome.sh

Création d'un script afin de le jouer au démarrage

nano /var/lib/vitalpbx/scripts/boot.sh
#!/bin/bash
## Supprime le motd vitalpbx si existe
if [ -e /etc/profile.d/vitalwelcome.sh ]
then
    rm -f /etc/profile.d/vitalwelcome.sh
    echo "vitalwelcome.sh a été supprimé"
fi

Donner au script des droits d’exécution

chmod +x /var/lib/vitalpbx/scripts/boot.sh

Créer une nouveau service systemd

nano /etc/systemd/system/SLM_boot.service
[Unit]
Description=Lancement d'un script au démarrage du serveur
After=network.target

[Service]
Type=simple
ExecStart=/var/lib/vitalpbx/scripts/boot.sh
TimeoutStartSec=0

[Install]
WantedBy=default.target

Reloader le process systemd pour que notre nouveau service soit pris en compte:

systemctl daemon-reload

“Activer” le service pour qu’il se lance automatiquement au démarrage de la machine:

systemctl enable SLM_boot.service

Tester

cp /etc/profile.d/tiscomwelcome.sh /etc/profile.d/vitalwelcome.sh 
systemctl reboot

Roadmap

Provisionning - Image poste Fanvil

OpenVPN Serveur