Dear List,
we are facing the problem, when we try to dial out a number from my sip softphone. Also could not receive any incoming calls
error:
unable to create channel of type dahdi
Asterisk - Version : Asterisk - 1.6.1
Dahdi - Version : 2.2-rc1
But, I am not facing any problem with Asterisknow 1.2 version of Installation. I could make calls / answer calls without any problem
I had given below the config file details,
/etc/dahdi/system.conf
span = 1,1,0,ccs,hdb3
bchan = 1-15,17-31
dchan = 16
loadzone = in
defaultzone = in
/etc/asterisk/chan_dahdi.conf
[trunkgroups]
[channels]
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=no
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
callgroup=1
pickupgroup=1
busydetect=yes
faxdetect=both
group=1
context=local
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
/etc/asterisk/extensions.conf
[general]
static = yes
writeprotect = no
autofallthrough = yes
clearglobalvars = no
priorityjumping = no
[globals]
span_1 = Zap/g1
[default]
exten => 6050,1,VoiceMailMain
exten = 7000,1,Goto(voicemenu-custom-1|s|1)
[voicemenu-custom-1]
include = default
comment = Welcome
alias_exten = 7000
exten = s,1,Answer
exten = s,2,Wait(1)
exten = s,3,Background(thank-you-for-calling)
exten = s,4,Background(if-u-know-ext-dial)
exten = s,5,Background(otherwise)
exten = s,6,Background(to-reach-operator)
exten = s,7,Background(pls-hold-while-try)
exten = s,8,WaitExten(6)
[numberplan-custom-1]
plancomment = DialPlan1
include = default
exten = _9XXXXXXXXX!,1,Macro(trunkdial,${span_1}/${EXTEN:0},${span_1_cid})
comment = _9XXXXXXXXX!,1,dlit,standard
[macro-trunkdial]
exten = s,1,set(CALLERID(all)=${IF($["${LEN(${CALLERID(num)})}" > “6”]?${CALLERID(all)}:${ARG2})})
exten = s,n,Dial(${ARG1})
exten = s,n,Goto(s-${DIALSTATUS},1)
exten = s-NOANSWER,1,Hangup
exten = s-BUSY,1,Hangup
exten = _s-.,1,NoOp
[DID_span_1]
include = default
exten = _X.,1,Goto(voicemenu-custom-1|s|1)
exten = s,1,ExecIf($[ “${CALLERID(num)}”="" ],SetCallerPres,unavailable)
exten = s,2,ExecIf($[ “${CALLERID(num)}”="" ],Set,CALLERID(all)=unknown <0000000>)
exten = s,3,Goto(voicemenu-custom-1|s|1)
[dlit_out]
exten => _X.,1,NoOp(The user have dialled ${EXTEN})
exten => _X.,n,Dial(ZAP/g1/${EXTEN})
exten => _X.,n,HangUp()
[macro-stdexten]
exten => s,1,Dial(${ARG2},20)
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Voicemail(${ARG1},u)
exten => s-NOANSWER,2,Goto(default,s,1)
exten => s-BUSY,1,Voicemail(${ARG1},b)
exten => s-BUSY,2,Goto(default,s,1)
exten => _s-.,1,Goto(s-NOANSWER,1)
exten => a,1,VoicemailMain(${ARG1})
but, the FUN here is, that we could make calls happily by call files at /var/spool/asterisk/outgoing/
PLEASE GUIDE US TO RESOLVE THE PROBLEM
thanks / sithi