[Freeswitch-users] Calling multiple destinations with fail over

Phillip Jones pjintheusa at gmail.com
Fri Aug 7 12:10:35 PDT 2009


Hi there,

I am trying to implement a scenario where I can terminate calls to
multiple destinations AND have termination carrier fail over.
Currently I can see how to do one or the other. But not both.

Multiple destinations is easy:

 <action application="bridge"
data="[origination_caller_id_number=1234]sofia/SIP_PROVIDER_1/6095551234,[origination_caller_id_number=55555]sofia/SIP_PROVIDER_1/7325551234"/>

Failover appears to use the same mechanism:

<action application="bridge"
data="sofia/gateway/primary/blah|sofia/gateway/secondary/blah"/>

I can not get my head around how use these together, such that:


- 6095551234 is dialed through SIP_PROVIDER_1
- if NO_ROUTE_DESTINATION then dial 6095551234  through SIP_PROVIDER_2
- Called party does not answer
7325551234 is dialed through SIP_PROVIDER_1
- if NO_ROUTE_DESTINATION then dial 7325551234 through SIP_PROVIDER_2
- Called party answers


This must be a fairly comment requirement so any ideas on what I might
be missing would be very welcome.

Thanks


Phillip Jones




More information about the FreeSWITCH-users mailing list