Hosted Vicidial server starts from $39 Contact Us Buy Now!

Troubleshoot Unable to create channel of type DAHDI

Estimated read time: 1 min

Error : Unable to create channel of type 'DAHDI'

unable to create channel type of dahdi


OVERVIEW:

You might get the above error while dialing over a Physical trunk like PRI/ISDN/E1 analog/FXO/CO line or while logging in as agent in vicidial/goautodial

Possible Cause of this error:

  1. Trunk is not active

  2. Dahdi driver not installed Properly

  3. Trunk name not mentioned properly in Dialplan
1. Trunk is not active.

if you are using Digital cards like digium ,sangoma, allo make sure the trunk is active by running the below commands in asterisk cli


dahdi show status

*** this should show ok status,

*** if it shows red then physically the line is down.

*** if it shows yellow then cabling mistake.
pri show spans

*** this should show active and up
if it is not showing up then proceed the above steps.
Link to configure
digium cards
https://striker24x7.blogspot.com/2013/12/how-to-configure-digium-te133-and-te134.html
sangoma cards
https://striker24x7.blogspot.com/2012/02/sangoma-card-with-asterisk-goautodial.html
Allo cards
https://striker24x7.blogspot.com/2015/10/configuring-allo-3rd-gen-pri-card-in.html


2. Dahdi driver not installed properly

Make sure you have installed the Dahdi driver and libpri driver in asterisk
check the below link for reinstalling the dahdi driver


https://striker24x7.blogspot.com/2013/05/steps-to-reinstall-or-upgrade-dahdi.html

If you are using the sangoma cards  you need to install wanpipe driver also

https://striker24x7.blogspot.com/2013/06/how-to-reinstall-or-uninstall-or.html


3. Trunk name not mentioned properly in dialplan

make sure you have mentioned the trunk name properly in the dialplan 

DAHDI is the trunk name in asterisk
G0 is the default group name created in asterisk while running the dahdi configuring scripts.
if it is manually entered then check the group name in vi /etc/asterisk/chan_dahdi.conf or vi /etc/asterisk/dahdi-channels.conf
then mention the same group in dialplan as per below

if the group name is 0
then the dialplan will be


exten => _9X.,1,Dial(DAHDI/g0/${EXTEN:1})

If the group name is 1  then

exten => _9X.,2,Dial(DAHDI/g1/${EXTEN:1})



Refer
Dialplan entry guide  :
https://striker24x7.blogspot.com/2015/07/vicidial-or-goautodial-dialplan-entry.html


Conclusion:

for support Skype : striker24x7


Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.