[Freeswitch-users] Bridge Failover

Stanislav Sinyagin ssinyagin at yahoo.com
Wed Sep 18 10:02:33 MSD 2013


actually a cool feature would be to have a function that returns the current status of a gateway.

There is a function "sofia_contact" which allows you to route the calls differently if the user is not logged in.

If there was a function like "gateway_status", the dialplan could look like something like this:

 <condition field="${sofia_gw_status(primary}" expression="^REGED" break="on-true">

... do something...
</condition>
<condition  alternative route ...





________________________________
 From: Andre <andretodd at verizon.net>
To: 'FreeSWITCH Users Help' <freeswitch-users at lists.freeswitch.org> 
Sent: Wednesday, September 18, 2013 3:30 AM
Subject: [Freeswitch-users] Bridge Failover
 


 
HI, is there a difference in fail over for a bridge from this:
 
<action application="bridge" data="sofia/gateway/primary/dialstring|sofia/gateway/secondary/dialstring"/>
 
Or just adding to bridges?
 
<action application="set" data="continue_on_fail=true"/>
<action application="bridge" data="sofia/gateway/primary/dialstring "/>
<action application="bridge" data="sofia/gateway/secondary/dialstring"/>
 
What is the best way for failover?
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130917/38d8686b/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list