Vicibox Cluster issue with Asterisk and Dahdi

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Vicibox Cluster issue with Asterisk and Dahdi

Postby destefanix » Sat Feb 17, 2018 7:44 pm

Hi community,

I'm testing a cluster install with this configuration:

ViciBox_v8.x86_64-8.0.1.iso

VERSION: 2.14-659a
BUILD: 180217-0934

Server db1 (Dabatbase)
Server vici1 (Web & Telefony)
Server vici2 (Telefony & Archive)
Server vici3 (Telefony)

All machines have been updated before command vicibox-install.

When i finish installing everithing asterisk and dahdi don't start normally, 'cause they're not enabled:

Code: Select all
vici3:~ # systemctl is-enabled asterisk
disabled

vici3:~ # systemctl is-enabled dahdi
dahdi.service is not a native service, redirecting to systemd-sysv-install
Executing /usr/lib/systemd/systemd-sysv-install is-enabled dahdi
disabled

vici3:~ # systemctl enable asterisk
Synchronizing state of asterisk.service with SysV init with /usr/lib/systemd/systemd-sysv-install...
Executing /usr/lib/systemd/systemd-sysv-install enable asterisk
Warning: //etc/init.d/asterisk is masked by /usr/lib/systemd/system/asterisk.service.
Try 'chkconfig asterisk on' instead
Created symlink from /etc/systemd/system/basic.target.wants/asterisk.service to /usr/lib/systemd/system/asterisk.service.

vici3:~ # systemctl is-enabled asterisk
enabled

vici3:~ # reboot


After reboot:

Code: Select all
vici3:~ # systemctl is-enabled asterisk
enabled

vici3:~ # systemctl status asterisk
● asterisk.service - Asterisk PBX
   Loaded: loaded (/usr/lib/systemd/system/asterisk.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2018-02-18 01:30:14 CET; 51s ago
 Main PID: 579 (asterisk)
    Tasks: 76 (limit: 512)
   CGroup: /system.slice/asterisk.service
           └─579 /usr/sbin/asterisk -fn

Feb 18 01:31:04 vici3 asterisk[579]:   == [Feb 18 01:31:04]   == Manager 'updatecron' logged on from 127.0.0.1
Feb 18 01:31:04 vici3 asterisk[579]:     -- [Feb 18 01:31:04]     -- Registered IAX2 'ASTblind' (AUTHENTICATED) at 127.0.0.1:42125
Feb 18 01:31:04 vici3 asterisk[579]:     -- [Feb 18 01:31:04]     -- Registered IAX2 to '127.0.0.1', who sees us as 127.0.0.1:42125 with ...s waiting
Feb 18 01:31:04 vici3 asterisk[579]: [Feb 18 01:31:04] NOTICE[916]: chan_iax2.c:11207 socket_process_helper: Peer 'ASTblind' is now REACH...! Time: 1
Feb 18 01:31:04 vici3 asterisk[579]:     -- [Feb 18 01:31:04]     -- Registered IAX2 'ASTplay' (AUTHENTICATED) at 127.0.0.1:44557
Feb 18 01:31:04 vici3 asterisk[579]:     -- [Feb 18 01:31:04]     -- Registered IAX2 'ASTloop' (AUTHENTICATED) at 127.0.0.1:15445
Feb 18 01:31:04 vici3 asterisk[579]:     -- [Feb 18 01:31:04]     -- Registered IAX2 to '127.0.0.1', who sees us as 127.0.0.1:44557 with ...s waiting
Feb 18 01:31:04 vici3 asterisk[579]:     -- [Feb 18 01:31:04]     -- Registered IAX2 to '127.0.0.1', who sees us as 127.0.0.1:15445 with ...s waiting
Feb 18 01:31:04 vici3 asterisk[579]: [Feb 18 01:31:04] NOTICE[875]: chan_iax2.c:11207 socket_process_helper: Peer 'ASTloop' is now REACHABLE! Time: 1
Feb 18 01:31:04 vici3 asterisk[579]: [Feb 18 01:31:04] NOTICE[876]: chan_iax2.c:11207 socket_process_helper: Peer 'ASTplay' is now REACHABLE! Time: 1
Hint: Some lines were ellipsized, use -l to show in full.


But in that moment Dahdi disappear.. folder /dev/dahdi doesn't exist anymore and .. i'm blocked. Am I making some mistake?
Vicidial 2.14-650a BUILD: 180111-1544 (ViciBox_v8.x86_64-8.0.1) & Asterisk 11.25.1-vici
Vultr VPS: 6 vCore | RAM 16384 MB | 200 GB SSD | 1Gbps
destefanix
 
Posts: 14
Joined: Mon Jun 19, 2017 11:52 pm

Re: Vicibox Cluster issue with Asterisk and Dahdi

Postby destefanix » Sat Feb 17, 2018 8:13 pm

Ok..

modprobe dahdi

and /dev/dahdi comes back in the right place. But every time i reboot it disappears again. Why? And how can I solve that?
Vicidial 2.14-650a BUILD: 180111-1544 (ViciBox_v8.x86_64-8.0.1) & Asterisk 11.25.1-vici
Vultr VPS: 6 vCore | RAM 16384 MB | 200 GB SSD | 1Gbps
destefanix
 
Posts: 14
Joined: Mon Jun 19, 2017 11:52 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 105 guests