Page 1 of 1

Dial Plan Redundancy.

PostPosted: Wed Mar 04, 2020 8:45 pm
by jps000
Hi all

Just want to know if this dialplan will work out.
exten => _0817.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _0817.,2,Dial(SIP/8899/99${EXTEN},,Tto)
exten => _0817.,3,Hangup

exten => _0817.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _0817.,2,Dial(SIP/7799/99${EXTEN},,Tto)
exten => _0817.,3,Hangup

I made same pattern to two different provider. how will be the behavior? would it dial to the first or it will dial both? If chan unavailable on first dial plan will it proceed to the 2nd dial plan?


Thank you!

Re: Dial Plan Redundancy.

PostPosted: Sat Mar 07, 2020 11:12 am
by bbakirtas
First 8899 second 7799

You can use like this
exten => _0817.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _0817.,n,Dial(SIP/8899/99${EXTEN},,Tto) / if sip/8899 cant connect its going to sip/7799
exten => _0817.,n,Dial(SIP/7799/99${EXTEN},,Tto)
exten => _0817.,n,Hangup

Re: Dial Plan Redundancy.

PostPosted: Sat Mar 07, 2020 10:13 pm
by jps000
Than you so much bbakirtas cheers!