Hi i was wondering if it is possible to make a dialplan that calls out using multiple sip provider account.
Like, if the outgoing call failed using sip provider1, it will automatic try again with sip provider2 while im waiting on the line?
if yes, how would the dialplan line be?
outgoing dial plan - multiple
Re: outgoing dial plan - multiple
Yes it can be done. Choose the "DialAdvanced" command and then in the Dial String you separate the failover call legs using the | character. For example:
The way that dial string would work is:
1. Initially the call would be forwarded to provider1 and provider2,
2. If both the providers fail the call will be forwarded to provider3,
3. If it also fails the call will be forwarded to provider4 and provider5,
4. The call will fail.
Code: Select all
1234@provider1&1234@provider2|1234@provider3|1234@provider4&1234@provider5
1. Initially the call would be forwarded to provider1 and provider2,
2. If both the providers fail the call will be forwarded to provider3,
3. If it also fails the call will be forwarded to provider4 and provider5,
4. The call will fail.