How to solve the issue Unable to create channel of type DAHDI
Unable to create Channel of type DAHDI
Topic: How to solve the issue Unable to create channel of type DAHDI
OVERVIEW:
Asterisk is a Open source Communication software , You can use Asterisk to build communications applications, things like business phone systems (also known as IP PBXs), call distributors, VoIP gateways and conference bridges.
Digium Asterisk Hardware Device Interface (DAHDI)
DAHDI is a collection of open source drivers, for linux, that are used to interface with a variety of telephony related hardware.
It consists of two parts.
The DAHDI-Linux project contains the individual board drivers for the supported hardware.
The DAHDI-Tools project contains an assortment of user space utilities that are used to setup and test the drivers.
ISSUE: 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:
1. Dahdi Driver not installed or missing
2. Physical Trunk is not active
3. DAHDI Channel name issue in dialplan
Cause 1: Dahdi Driver and Module
Make sure the Dahdi Driver and module is installed in your asterisk server, also make sure the right module is installed for the card installed in the server.
dahdi_cfg -vv
if the above command gives error run the dahdi auto gen command to auto install the right driver for the card installed
dahdi_genconf -v
If the dahdi_genconf show no spans created , you might need to edit the below file and comment all lines
/etc/modprobe.d/dahdi.blacklist.conf :#blacklist wct4xxp#blacklist wcte12xp
if still fails follow the below links according to the card inserted in the server
If Dahdi as a service fails to start ,you may proceed to reinstall or update the dahdi driver , follow the below link for reinstall or upgrade the dahdi driver.
Cause 2: Dadhi Trunk Not active
dahdi show status
pri show spans
Cause 3: Dahdi channel name in dialplan
Make sure you have mentioned the trunk name properly in the dialplan
DAHDI is the trunk name in asterisk
g0 or 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 below files
vi /etc/asterisk/chan_dahdi.confvi /etc/asterisk/dahdi-channels.conf
then mention the same group in dialplan as per below
if the group name is 0then 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})
Support:
For professional support reach me on skype:striker24x7
vicidial Unable to create channel of type 'DAHDI'