by empowerit » Mon Mar 09, 2009 9:45 am
Thanks for the replies. I have this worked out finally. Your second post that asked what version exactly of 1.4 caused me to dig into the form deeper on that very issue. I was initially using 1.4.23.1 and downgraded to 1.4.21.2. However after the downgrade it still didn't work.
I am then looked closely at the extensions.conf again, which I had done about 3 times before. Before I was focusing on the agi-VDADtransfer.agi entries based on a few ealier forum posts. But for me I found the issue to be related to the local and LD dial out entries. I am using the Asterisk GUI for basic config and it's default dialplan for outbound calling uses this macro to dial out.
[macro-trunkdial-failover-0.3]
exten = s,1,GotoIf($[${LEN(${FMCIDNUM})} > 6]?1-fmsetcid,1)
exten = s,2,GotoIf($[${LEN(${GLOBAL_OUTBOUNDCIDNAME})} > 1]?1-setgbobname,1)
exten = s,3,Set(CALLERID(num)=${IF($[${LEN(${CID_${CALLERID(num)}})} > 2]?${CID_${CALLERID(num)}}:)})
exten = s,n,GotoIf($[${LEN(${CALLERID(num)})} > 6]?1-dial,1)
exten = s,n,Set(CALLERID(all)=${IF($[${LEN(${CID_${ARG3}})} > 6]?${CID_${ARG3}}:${GLOBAL_OUTBOUNDCID})})
exten = s,n,Goto(1-dial,1)
exten = 1-setgbobname,1,Set(CALLERID(name)=${GLOBAL_OUTBOUNDCIDNAME})
exten = 1-setgbobname,n,Goto(s,3)
exten = 1-fmsetcid,1,Set(CALLERID(num)=${FMCIDNUM})
exten = 1-fmsetcid,n,Set(CALLERID(name)=${FMCIDNAME})
exten = 1-fmsetcid,n,Goto(1-dial,1)
exten = 1-dial,1,Dial(${ARG1},,To)
exten = 1-dial,n,Gotoif(${LEN(${ARG2})} > 0 ?1-${DIALSTATUS},1:1-out,1)
exten = 1-CHANUNAVAIL,1,Dial(${ARG2})
exten = 1-CHANUNAVAIL,n,Hangup()
exten = 1-CONGESTION,1,Dial(${ARG2})
exten = 1-CONGESTION,n,Hangup()
exten = 1-out,1,Hangup()
I added the ,,To to it. But it still didn't work. I don't know why I didn't get here sooner. So after I added the Dial string from your 1.4 sample it worked. I can't edit the outbound calling rules in the Asterisk Gui since it breaks that but otherwise everything is working.
Thanks for the forum and the feedback.
--scott