Error : Unable to create channel of type 'DAHDI'
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:- Trunk is not active
- Dahdi driver not installed Properly
- 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 configuredigium 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