[Asterisk-Users] Fail over to Pri on VoIP connection failure

Cavanna, Richard RCavanna at sychip.com
Thu Jan 26 08:52:29 MST 2006


I am trying to tweak my dial plan and I am running into a problem.
Sometimes my VoIP out bound calls do not complete on overseas calls(busy
or just a hang-up).  Is there a way in the dial plan to automatically
dial out of my PRI when something like this happens.  Either by time
limit by a failure event?

Any point in the right direction would be great

Thanks,


CLI output (cleansed to protect the innocent)

-- Executing Dial("Zap/47-1",
"IAX2/VoIPServicePrividerOUT/011XXXXXXXXXXXX") in new stack
    -- Called VoIPServicePrividerOUT/011XXXXXXXXXXXX
    -- Call accepted by 72.34.43.5 (format g729)
    -- Format for call is g729
    -- Channel 0/23, span 2 got hangup request <----here I get a busy
signal
    -- Hungup 'IAX2/ VoIPServicePrividerOUT-1'



[Outbound context]
exten => _9011.,1,Macro(dialout-trunk,4,${EXTEN:1},) 
exten => _9011.,2,Macro(dialout-trunk,2,${EXTEN:1},)
exten => _9011.,3,Macro(outisbusy)	; No available circuits
exten => _918.,1,Macro(dialout-trunk,2,${EXTEN:1},); 800 numbers to the
PRI
exten => _918.,2,Macro(outisbusy)	; No available circuits
exten => _9Z.,1,Macro(dialout-trunk,4,${EXTEN:1},)
exten => _9Z.,2,Macro(dialout-trunk,2,${EXTEN:1},)
exten => _9Z.,3,Macro(outisbusy)	; No available circuits


Richard 



More information about the asterisk-users mailing list