Ever since i upgraded all the packages on my centos using yum upgrade. I have this issue when you restart the computer, asterisk 13, wanrouter and dadhi are not loaded. I have a Sangoma A101 card.
I notice also when loading yum or doing something the computer goes slow..... until.... i type wancfg_dahdi to reconfigure my dahdi settings. I go through the setup process and it goes all the way to the end and all my channels get loaded, asterisk starts functioning normally and every other process starts running normally just how its supposed to be. I tried to see if there was some problems with the packages so i uninstalled and reinstalled asterisk , dahdi , wanpipe and i didn't see any difference.
Each time i restart the computer i'm in the same situation . When the computer boots up all the status's show OK i don't see any errors during the boot up process either.
The message i get when i restart the computer and type asterisk -r i get this
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
when i try to restart the asterisk manually with service asterisk start or even amportal restart, it will just hang there. It will only fix itself after i go through the whole process of the wancfg_dahdi setup.
the only thing i found would be in /var/log/messages
after the reboot this is what i see below
May 7 20:49:10 phone systemd: wanrouter.service start operation timed out. Terminating.
May 7 20:49:10 phone systemd: Failed to start SYSV: WANPIPE WAN Router Initialization Script..
May 7 20:49:10 phone systemd: Unit wanrouter.service entered failed state.
May 7 20:49:10 phone systemd: wanrouter.service failed.
May 7 20:49:10 phone systemd: Starting LSB: DAHDI kernel modules...
May 7 20:49:10 phone dahdi: Loading DAHDI hardware modules:
May 7 20:49:10 phone dahdi: wanpipe: [ OK ]
May 7 20:49:10 phone dahdi: D: auto '/sys/bus/dahdi_devices/devices/wanpipe_devices:wanpipe1'
May 7 20:49:10 phone dahdi: auto-assign /sys/bus/dahdi_devices/devices/wanpipe_devices:wanpipe1
May 7 20:49:10 phone kernel: dahdi_devices wanpipe_devices:wanpipe1: local span 1 is already assigned span 1
May 7 20:49:10 phone kernel: wanpipe1: DAHDI Configuring device [name=, span=1, sync=0, lcfg=0xA0,]
May 7 20:49:10 phone kernel: wanpipe1: T1 Front End unconfigation!
May 7 20:49:10 phone kernel: wanpipe1: Configuring DS DS26521 T1 FE
May 7 20:49:10 phone kernel: wanpipe1: Port 1,B8ZS,ESF,0-133ft
May 7 20:49:10 phone kernel: wanpipe1: Clk Normal:0, Channels: FFFFFFFF
May 7 20:49:10 phone kernel: wanpipe1: AIS on LOS: Off (default)
May 7 20:49:10 phone kernel: wanpipe1: FE Poll driven
May 7 20:49:10 phone kernel: wanpipe1: Rx Sensitivity Gain 36dB (default).
May 7 20:49:10 phone kernel: wanpipe1: Configurig DS8/4/2/1 for T1 LRISMR=0x13
May 7 20:49:10 phone dahdi: Running dahdi_cfg: [ OK ]
May 7 20:49:10 phone systemd: Started LSB: DAHDI kernel modules.
May 7 20:49:10 phone wanrouter: Starting dahdi (via systemctl): [ OK ]
May 7 20:49:10 phone systemd: Started LSB: Asterisk PBX.
May 7 20:49:10 phone wanrouter: DAHDI Tools Version - 2.11.1
May 7 20:49:10 phone systemd: Starting SYSV: Issabel Port Knocking...
May 7 20:49:10 phone kernel: wanpipe1: DAHDI Configuring device [name=, span=1, sync=0, lcfg=0xA0,]
May 7 20:49:10 phone kernel: wanpipe1: Wanpipe front end skipped, no changes in config
May 7 20:49:10 phone wanrouter: DAHDI Version: 3.0.0
May 7 20:49:10 phone wanrouter: Echo Canceller(s):
May 7 20:49:10 phone wanrouter: Configuration
May 7 20:49:10 phone wanrouter: ======================
May 7 20:49:10 phone wanrouter: SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)
May 7 20:49:10 phone wanrouter: 24 channels to configure.
May 7 20:49:10 phone wanrouter: Setting echocan for channel 1 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 2 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 3 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 4 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 5 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 6 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 7 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 8 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 9 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 10 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 11 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 12 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 13 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 14 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 15 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 16 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 17 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 18 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 19 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 20 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 21 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 22 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 23 to none
May 7 20:49:10 phone wanrouter: Setting echocan for channel 24 to none
channels should show mg2 not none.
don't know if anyone can understand or help me try to see what i'm missing
thanks!