[Spce-user] Fail-over SIP Trunk

Daniel Grotti dgrotti at sipwise.com
Fri May 25 03:35:28 EDT 2018


Hi,



On 05/24/2018 11:12 PM, Steve Saner wrote:
> So I have a SIP trunk to a customer provisioned as a subscriber. It is 
> IP based in that there is a permanent registration to the customer IP 
> address, and that IP address is a trusted source. I have multiple 
> numbers defined in the subscriber. All call to those numbers are 
> routed to the customer over this trunk. Pretty standard SIP trunk 
> setup I think.
>
> Now I'd like to provision a fail-over SIP trunk to a different 
> customer device on a different IP address. I'd like calls for their 
> numbers to be routed to the primary trunk, but if that route fails, 
> I'd like it to fail-over to the 2nd trunk.
>
> Is this possible? I can imagine registering a 2nd IP address in the 
> subscriber, but don't know how to prioritize one over the other.

You could theoretically define the q value in the permanent registration with value 0 for the highest priority. Then create another permanent registration with q set to 1.
Then in the subscriber preferences you select the option to fork calls based on q value.
The calls will go first to ip with q value 0. If fails or no reply, call will fall back to ip with q value 1.


> I can also imagine creating a 2nd subscriber, but again, how to 
> prioritize one over the other?

This is more tricky, as you should consider to configure a Call forward timeout or CF not available from primary user to secondary user.


Daniel


>
> Thanks for any help.
>
> Steve
>




More information about the Spce-user mailing list