TIPS My PIAF suddenly stopped working with PRI

mlgarner

New Member
Joined
Jun 24, 2011
Messages
9
Reaction score
2
not sure where to ask this but my PIAF box has been rocking along for the better part of a year or more when all of a sudden calls stopped working incoming and outgoing via my Sangoma A101 card (it is a Comcast PRI). after doing some troubleshooting this is what I found out - DAHDI sees the card and channels, everything seems to load correctly no errors noted in logs. Went through DAHDI configs and all that looks right. I narrowed it down to this - looking in the web gui under DAHDI configs module I see "DAHDi Doesn't appear to be running. Click the 'Restart/Reload Dahdi Button' Below" which I do not remember seeing it before tried going through all the options and areas and the message does not go away and everything looks correct.
if I force an outgoing call to use the PRI and look in the full log I see -channel.c: No channel type registered for DAHDI and unable to create channel of type 'dahdi' (cause 66 - channel not implemented) - which is probably the issue but I searched around and cannot find where to look for this "channel type"

here is what I am running:
x PIAF Installed Version = 2.0.6.5 under *HARDWARE* x
x FreePBX Version = 2.10.1.19 x
x Running Asterisk Version = 11.10.0 x
x Asterisk Source Version = 11.10.0 x
x Dahdi Source Version = 2.9.0 x
x Libpri Source Version = 1.4.14 x
x Operating System = CentOS release 6.5 (Final) x
x Kernel Version = 2.6.32-431.1.2.0.1.el6.i686 - 32 Bit x

any guidance is greatly appreciated.

another thing to mention - I had a backup server that I put the card in and calls worked as they should until I started restoring from backup and it suddenly stopped working again.
 

dicko

Still learning but earning
Joined
Oct 30, 2015
Messages
1,607
Reaction score
826
not sure where to ask this but my PIAF box has been rocking along for the better part of a year or more when all of a sudden calls stopped working incoming and outgoing via my Sangoma A101 card (it is a Comcast PRI). after doing some troubleshooting this is what I found out - DAHDI sees the card and channels, everything seems to load correctly no errors noted in logs. Went through DAHDI configs and all that looks right. I narrowed it down to this - looking in the web gui under DAHDI configs module I see "DAHDi Doesn't appear to be running. Click the 'Restart/Reload Dahdi Button' Below" which I do not remember seeing it before tried going through all the options and areas and the message does not go away and everything looks correct.
if I force an outgoing call to use the PRI and look in the full log I see -channel.c: No channel type registered for DAHDI and unable to create channel of type 'dahdi' (cause 66 - channel not implemented) - which is probably the issue but I searched around and cannot find where to look for this "channel type"

here is what I am running:
x PIAF Installed Version = 2.0.6.5 under *HARDWARE* x
x FreePBX Version = 2.10.1.19 x
x Running Asterisk Version = 11.10.0 x
x Asterisk Source Version = 11.10.0 x
x Dahdi Source Version = 2.9.0 x
x Libpri Source Version = 1.4.14 x
x Operating System = CentOS release 6.5 (Final) x
x Kernel Version = 2.6.32-431.1.2.0.1.el6.i686 - 32 Bit x

any guidance is greatly appreciated.

another thing to mention - I had a backup server that I put the card in and calls worked as they should until I started restoring from backup and it suddenly stopped working again.


It is rarely a good idea to leave the dahdi helper active after you got dahdi working. (dahdi is NOT part of asterisk)

dahdi_cfg -vv

will show what dahdi thinks

rasterisk -x 'dahdi show status'
and
rasterisk-x 'dahdi show channels'

will show what asterisk thinks about your "dahdi module helper generated" config

If it ever worked, the never let that module "help" you :)
 

mlgarner

New Member
Joined
Jun 24, 2011
Messages
9
Reaction score
2
So should I uninstall the DAHDI module?
here is the output from the above commands:
dahdi_cfg -vv shows:
DAHDI Tools Version - 2.9.0.1

DAHDI Version: 2.9.0
Echo Canceller(s): HWEC
Configuration
======================

SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Echo Canceler: none) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: none) (Slaves: 02)
Channel 03: Clear channel (Default) (Echo Canceler: none) (Slaves: 03)
Channel 04: Clear channel (Default) (Echo Canceler: none) (Slaves: 04)
Channel 05: Clear channel (Default) (Echo Canceler: none) (Slaves: 05)
Channel 06: Clear channel (Default) (Echo Canceler: none) (Slaves: 06)
Channel 07: Clear channel (Default) (Echo Canceler: none) (Slaves: 07)
Channel 08: Clear channel (Default) (Echo Canceler: none) (Slaves: 08)
Channel 09: Clear channel (Default) (Echo Canceler: none) (Slaves: 09)
Channel 10: Clear channel (Default) (Echo Canceler: none) (Slaves: 10)
Channel 11: Clear channel (Default) (Echo Canceler: none) (Slaves: 11)
Channel 12: Clear channel (Default) (Echo Canceler: none) (Slaves: 12)
Channel 13: Clear channel (Default) (Echo Canceler: none) (Slaves: 13)
Channel 14: Clear channel (Default) (Echo Canceler: none) (Slaves: 14)
Channel 15: Clear channel (Default) (Echo Canceler: none) (Slaves: 15)
Channel 16: Clear channel (Default) (Echo Canceler: none) (Slaves: 16)
Channel 17: Clear channel (Default) (Echo Canceler: none) (Slaves: 17)
Channel 18: Clear channel (Default) (Echo Canceler: none) (Slaves: 18)
Channel 19: Clear channel (Default) (Echo Canceler: none) (Slaves: 19)
Channel 20: Clear channel (Default) (Echo Canceler: none) (Slaves: 20)
Channel 21: Clear channel (Default) (Echo Canceler: none) (Slaves: 21)
Channel 22: Clear channel (Default) (Echo Canceler: none) (Slaves: 22)
Channel 23: Clear channel (Default) (Echo Canceler: none) (Slaves: 23)
Channel 24: Hardware assisted D-channel (Default) (Echo Canceler: none) (Slaves: 24)

24 channels to configure.

Setting echocan for channel 1 to none
Setting echocan for channel 2 to none
Setting echocan for channel 3 to none
Setting echocan for channel 4 to none
Setting echocan for channel 5 to none
Setting echocan for channel 6 to none
Setting echocan for channel 7 to none
Setting echocan for channel 8 to none
Setting echocan for channel 9 to none
Setting echocan for channel 10 to none
Setting echocan for channel 11 to none
Setting echocan for channel 12 to none
Setting echocan for channel 13 to none
Setting echocan for channel 14 to none
Setting echocan for channel 15 to none
Setting echocan for channel 16 to none
Setting echocan for channel 17 to none
Setting echocan for channel 18 to none
Setting echocan for channel 19 to none
Setting echocan for channel 20 to none
Setting echocan for channel 21 to none
Setting echocan for channel 22 to none
Setting echocan for channel 23 to none
Setting echocan for channel 24 to none

rasterisk -x 'dahdi show status' and rasterisk-x 'dahdi show channels' gives:
rasterisk -x 'dahdi show channels'
No such command 'dahdi show channels' (type 'core show help dahdi show' for other possible commands)
rasterisk -x 'dahdi show status'
No such command 'dahdi show status' (type 'core show help dahdi show' for other possible commands)
 

mlgarner

New Member
Joined
Jun 24, 2011
Messages
9
Reaction score
2
also tried to load module chan_dahdi.so and get the below - does Asterisk have to be shutdown first or is there an issue with loading the module?


> module load chan_dahdi.so
Unable to load module chan_dahdi.so
Command 'module load chan_dahdi.so' failed.
== Parsing '/etc/asterisk/chan_dahdi.conf': Found
== Parsing '/etc/asterisk/chan_dahdi_general.conf': Found
== Parsing '/etc/asterisk/chan_dahdi_general_custom.conf': Found
== Parsing '/etc/asterisk/chan_dahdi_channels_custom.conf': Found
== Parsing '/etc/asterisk/chan_dahdi_groups.conf': Found
== Parsing '/etc/asterisk/chan_dahdi_additional.conf': Found
== Parsing '/etc/asterisk/users.conf': Found
-- Registered channel 1, ISDN PRI signalling
-- Registered channel 2, ISDN PRI signalling
-- Registered channel 3, ISDN PRI signalling
-- Registered channel 4, ISDN PRI signalling
-- Registered channel 5, ISDN PRI signalling
-- Registered channel 6, ISDN PRI signalling
-- Registered channel 7, ISDN PRI signalling
-- Registered channel 8, ISDN PRI signalling
-- Registered channel 9, ISDN PRI signalling
-- Registered channel 10, ISDN PRI signalling
-- Registered channel 11, ISDN PRI signalling
-- Registered channel 12, ISDN PRI signalling
-- Registered channel 13, ISDN PRI signalling
-- Registered channel 14, ISDN PRI signalling
-- Registered channel 15, ISDN PRI signalling
-- Registered channel 16, ISDN PRI signalling
-- Registered channel 17, ISDN PRI signalling
-- Registered channel 18, ISDN PRI signalling
-- Registered channel 19, ISDN PRI signalling
-- Registered channel 20, ISDN PRI signalling
-- Registered channel 21, ISDN PRI signalling
-- Registered channel 22, ISDN PRI signalling
-- Registered channel 23, ISDN PRI signalling
 

mlgarner

New Member
Joined
Jun 24, 2011
Messages
9
Reaction score
2
Thanks for the link - I removed the module and went through all the configs again and now all of a sudden calls are routing out the PRI again so before I remove the forwarding to my SIP trunk I will do a couple of reboots to see if it sticks - fingers crossed
 

mlgarner

New Member
Joined
Jun 24, 2011
Messages
9
Reaction score
2
well unfortunately the reboot brought back the same behavior and I am getting the "channel.c: No channel type registered for DAHDI and unable to create channel of type 'dahdi' (cause 66 - channel not implemented)" so trying to retrace my steps to see if I can find what made it start working - any suggestions greatly appreciated.
 

Members online

No members online now.

Forum statistics

Threads
25,778
Messages
167,504
Members
19,198
Latest member
serhii
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top