[Freeswitch-users] Detecting Errors when dialing through multiple gateways
Michael Collins
msc at freeswitch.org
Sat May 18 03:16:40 MSD 2013
On Fri, May 17, 2013 at 1:53 PM, Sean Devoy <sdevoy at bizfocused.com> wrote:
> Hi All,****
>
> ** **
>
> I have been having pretty good luck with redundancy by dialing through
> multiple gateways like:****
>
> <action application="bridge" data="sofia/gateway/cheap/1xxxxxxxxxx,
> [leg_delay_start=8]sofia/gateway/expensive/1xxxxxxxxxx"/>
>
I'm curious why your're doing simultaneous dial instead of sequential dial
here. In any case, you can have multiple bridge apps instead of doing the
comma-sep list:
<action application="set" data="continue_on_fail=true"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="bridge" data="sofia/gateway/cheap/$1"/>
<action application="log" data="WARNING Bridge attempt failed
${bridge_hangup_cause}"/>
<action application="system" data="/usr/sbin/send_notification_email.sh"/>
<action application="bridge" data="sofia/gateway/expensive/$1"/>
Try it out. Also, don't forget the standard
disclaimer<http://wiki.freeswitch.org/wiki/Reporting_Bugs#Standard_Disclaimer>
.
-MC
> ****
>
> ** **
>
> If gateway cheap fails, the call goes through on the expensive gateway.
> That is fine, but I would like an email notification of the failure on the
> cheap gateway. Is there any way to do that? The support group at the
> gateway vender is very good at correcting the problem when notified. I
> would love to send them an email of failures automatically.****
>
> ** **
>
> Thanks,****
>
> Sean****
>
> _________________________________________________________________________
> 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
>
>
--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130517/6c4c54dc/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 70 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130517/6c4c54dc/attachment.gif
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list