Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
exten=>_91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten=>_91NXXNXXXXXX,n,Dial(${CARRIER1}/${EXTEN:1},,To)
exten=>_91NXXNXXXXXX,n,Dial(${CARRIER2}/${EXTEN:1},,To)
exten=>_91NXXNXXXXXX,n,Hangup
ed123 wrote:Hi,
Thanks for the reply, so if carrier 1 return like unreacheable number the call will route to carrier 2 right?
exten =>_91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten =>_91NXXNXXXXXX,n,Dial(${CARRIER1}/${EXTEN:1},,To)
exten =>_91NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}"="CHANUNAVAIL"|"${DIALSTATUS}"="CONGESTION"|"${HANGUPCAUSE}"="19"|"${HANGUPCAUSE}"="34"]?fail:end)
exten =>_91NXXNXXXXXX,n(fail),Dial(${CARRIER2}/${EXTEN:1},,To)
exten =>_91NXXNXXXXXX,n(end),Hangup
Users browsing this forum: No registered users and 120 guests