dahdi_genconf - freepbx config conflict - SOLUTION

blanchae

Guru
Joined
Mar 12, 2008
Messages
1,910
Reaction score
9
Asterisk 1.6.0.1

dahdi_genconf creates /etc/dahdi/system.conf (similar to old /etc/zaptel.conf) and /etc/asterisk/dahdi_channels.conf (similar to old /etc/asterisk/zapata-auto.conf).

Unfortunately, /etc/asterisk/dahdi_channels.conf throws a lot of "default"settings in that really shouldn't be there such as fxs signaling, extension numbering (starting at 4001), mailboxes, T1 trunking configuration, etc..:mad5:

FreePBX generates /etc/asterisk/chan_dahdi.conf and /etc/asterisk/chan_dahdi_additional.conf where the extensions, FXS signaling , etc. is configured. These are the files that should hold this information not /etc/asterisk/dahdi_channels.conf which causes conflicts resulting in none of the dahdi channels being registered. :banghead:

If you have a problem with dahdi channels, view the /var/log/asterisk/full file (full is the filename). It has great information on why a dahdi channel fails to register. :confused5: If one channel fails, all fail! Be warned, /var/log/asterisk/full is a LARGE text file (usually 1 to 4 MB), search for the term "dahdi". Typically right after there will be the loading/registering of the dahdi channels and clues as to why it didn't get loaded/registered. (I usually delete the contents and reload asterisk to get a small 240 kB file to look at).

SOLUTION: erase all fxs configuration from /etc/asterisk/dahdi_channels.conf. I suggest using it for configuring only the fxo lines as there doesn't seem to be anyplace to do this yet.

Here's the latest up to date dahdi documents and if you've ever wondered exactly what the T1 alarms mean (yellow, red, blue, etc..) here's where you find it at the Dahdi Telephony Interface page
 

Members online

No members online now.

Forum statistics

Threads
25,824
Messages
167,825
Members
19,248
Latest member
BKhumalo
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