Lua scripts are really good at doing this, and if you are crafty enough you can even give them a failure description and supporting sip trace. That IMO would be the best option. I'm mobile right now so I can't write you an example but maybe others can chime in. - BDF On May 17, 2013 4:59 PM, "Sean Devoy" <sdevoy@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"/>****
** **
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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org