I updated my FreePBX Distro server last night, from 5.211.65-13 to -14. After the update, everything seemed fine, but I got a frantic call this morning from my users reporting that they couldn’t call out or receive incoming calls. Turned out that DAHDI was not loading for my TE134 PRI card. Took me a while to figure out, but the relevant log entries turned up:
[2014-06-17 07:43:42] VERBOSE[6607] loader.c: chan_iax2.so => (Inter Asterisk eXchange (Ver 2))
[2014-06-17 07:43:42] VERBOSE[6607] pbx.c: == Registered application 'DAHDISendKeypadFacility'
[2014-06-17 07:43:42] VERBOSE[6607] pbx.c: == Registered application 'DAHDISendCallreroutingFacility'
[2014-06-17 07:43:42] VERBOSE[6607] sig_wat.c: -- Registered libwat
[2014-06-17 07:43:42] VERBOSE[6607] config.c: == Parsing '/etc/asterisk/chan_dahdi.conf': Found
[2014-06-17 07:43:42] VERBOSE[6607] config.c: == Parsing '/etc/asterisk/chan_dahdi_general.conf': Found
[2014-06-17 07:43:42] VERBOSE[6607] config.c: == Parsing '/etc/asterisk/chan_dahdi_general_custom.conf': Found
[2014-06-17 07:43:42] VERBOSE[6607] config.c: == Parsing '/etc/asterisk/chan_dahdi_channels_custom.conf': Found
[2014-06-17 07:43:42] VERBOSE[6607] config.c: == Parsing '/etc/asterisk/chan_dahdi_groups.conf': Found
[2014-06-17 07:43:42] VERBOSE[6607] config.c: == Parsing '/etc/asterisk/chan_dahdi_additional.conf': Found
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 1, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 2, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 3, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 4, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 5, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 6, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 7, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 8, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 9, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 10, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 11, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 12, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 13, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 14, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 15, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 16, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 17, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 18, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 19, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 20, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 21, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 22, ISDN PRI signalling
[2014-06-17 07:43:42] VERBOSE[6607] chan_dahdi.c: -- Registered channel 23, ISDN PRI signalling
[2014-06-17 07:43:42] ERROR[6607] chan_dahdi.c: Signalling requested on channel 24 is ISDN PRI but line is in Unknown signalling 896 signalling
[2014-06-17 07:43:42] ERROR[6607] chan_dahdi.c: Unable to register channel '1-24'
I won’t post two copies of that, but it started out “Unable to register channel ‘1-25’.” I tried several times to recreate the configuration in DAHDI Config, setting the group to use 24 channels, like it has been for a year. In crisis mode, I was finally able to edit chan_dahdi_groups.conf
manually to get calls flowing. The original line was channel =>1-25
so I changed it to channel =>1-24
. That still gave the same error, so I changed it again, to channel =>1-23
to get things working.
So, is this a DAHDI Config bug introduced in the update?
Thanks,
Corey