[asterisk-users] Dial Plan Help

Jon Weisman jweisman at ibell.net
Sun Aug 24 07:11:09 CDT 2008


I'd like to do the following can someone guide me on how to accomplish this?


Call comes in via PRI and tries to go out via SIP if for some reason the ISP 
is down and the call can not go out i want it to fail over and send the same 
call through a different PRI.

I was thinking something like this:

exten=>_X.,1,Dial(SIP/${EXTEN}@10.0.0.1)
exten=>_X.,2,Dial,Zap/g2/${EXTEN}    ; <---- I only want it to go here if it 
was unable to send the call via SIP (if the first priority failed), but if 
it did go through sip then it should just hangup the call when the person is 
done speaking.


Thanks,

Jon 





More information about the asterisk-users mailing list