Unable to create channel dahdi

Get help with installing and running AsteriskNOW.

Moderators: Moderator, Support

Unable to create channel dahdi

Postby tella » Mon Feb 01, 2016 2:05 pm

Here is my configuration for an analog diguim 8 port card in the system.conf file,
Code: Select all
loadzone     = us
defaultzone  = us

fxsks = 1,2,3,4,5,6,7,8
echocanceller = mg2,1-8



Below is the dahdi.conf file
Code: Select all
;General options
usecallerid = yes
hidecallerid = no
callwaiting = yes
threewaycalling = yes
transfer = yes
echocancel = yes
echocancelwhenbridged = yes
rxgain = 0.0
txgain = 0.0
;FXS Modules
group = 1
echocancel = yes
signalling = fxs_ks
context = voip
channel = 1-8


on reload the module with the command :
#modprobe wcaxx
#dahdi_cfg -vv
All the 8 port are shown to configure,
on ,my dialplan i set it like that
Code: Select all
[voip]
exten =>_7XXX,1,Dial(SIP/${EXTEN},30)
exten =>_7XXX,2,Hangup()

[voip]
exten =>_XXXXXXXXXX,1,Authenticate(1719,a)
exten =>_XXXXXXXXXX,2,Dial(DAHDI/g4/www${EXTEN})
exten =>_XXXXXXXXXX,3,Congestion

[voip]
exten => s,1,Dial(DAHDI/g1,20,rt)
exten => s,2,Dial(SIP/7266&SIP/7255&SIP/7233&SIP/7213&SIP/7212)

[voip]
exten =>_XXXXXXXX,1,Dial(DAHDI/g1/www${EXTEN})
exten =>_XXXXXXX,2,Congestion


Internal call work fine, but for both inbound and outbound call i am having issue,
this why i get on the asterisk CLI>>

unable to create channel dahdi (Cause 0...)

I try to fix it by reloading the module in the CLI, i get the output that the module is alerady running,

Any suggestion will help me .

Thanks in advance !!!
tella
Oldsterisk
 
Posts: 57
Joined: Mon Dec 08, 2014 10:18 am

Re: Unable to create channel dahdi

Postby david55 » Mon Feb 01, 2016 4:16 pm

You haven't defined group 4.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: Unable to create channel dahdi

Postby tella » Mon Feb 01, 2016 7:20 pm

Yes - david55, I will try to define the chanel 4.
I am using dahdi version 2.10.0.1. While asterisk and libpri using the current version, do you think is that a problem?
Look forward to your reply.
Thanks !
tella
Oldsterisk
 
Posts: 57
Joined: Mon Dec 08, 2014 10:18 am

Re: Unable to create channel dahdi

Postby david55 » Tue Feb 02, 2016 1:58 am

Group 4, not channel 4. You are dialing g4, but have no group=4 in your dahdi configuration.
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am

Re: Unable to create channel dahdi

Postby tella » Tue Feb 02, 2016 8:50 am

Hi david55,
i have define the group=4 as you suggested me, here the conf file
Code: Select all
;General options
usecallerid = yes
hidecallerid = no
callwaiting = yes
threewaycalling = yes
transfer = yes
echocancel = yes
echocancelwhenbridged = yes
rxgain = 0.0
txgain = 0.0
;FXO Modules
group=1
echocancel = yes
signalling = fxs_ks
context = voip
channel => 32
;FXO Modules
group=2
echocancel = yes
signalling = fxs_ks
context = voip
channel => 33
;FXO Modules
group=3
echocancel = yes
signaling = fxs_ks
context = voip
channel => 35
;FXO Modules
group=4
echocancel = yes
signalling = fxs_ks
context = voip
channel => 36


in the dialplan
Code: Select all
[voip]
exten =>_7XXX,1,Dial(SIP/${EXTEN},30)
exten =>_7XXX,2,Hangup()

[voip]
exten =>_XXXXXXXXXX,1,Authenticate(1719,a)
exten =>_XXXXXXXXXX,2,Dial(DAHDI/g4/www${EXTEN})
exten =>_XXXXXXXXXX,3,Congestion

[voip]
exten => s,1,Dial(DAHDI/g1,20,rt)
exten => s,2,Dial(SIP/7266&SIP/7255&SIP/7233&SIP/7213&SIP/7212)

[voip]
exten =>_XXXXXXXX,1,Dial(DAHDI/g1/www${EXTEN})
exten =>_XXXXXXX,2,Congestion
Whhen dialing out or inbound call
i get the same issue
Code: Select all
[Feb  2 09:48:46] WARNING[30011][C-00000990]: app_dial.c:2437 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 0 - Unknown)


Look forward to your replay
Thanks in advance !
tella
Oldsterisk
 
Posts: 57
Joined: Mon Dec 08, 2014 10:18 am

Re: Unable to create channel dahdi

Postby david55 » Tue Feb 02, 2016 4:45 pm

What do the various dahdi information commands show?
david55
Moves Like Spencer
 
Posts: 12570
Joined: Fri Sep 26, 2008 5:03 am


Return to AsteriskNOW Support

Who is online

Users browsing this forum: No registered users and 6 guests

cron