I was thinking about that - my concern was "and waits for the result". Could that potentially hang call processing?  If I pass to a python -> sendmail script and wait for the result, if my script hangs, I would have these calls waiting for the result (right?)  

On Monday, May 20, 2013, Michael Collins wrote:
A simple approach might be to use the system app:
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_system

If you have a simple shell script that launches an email that would a quick and easy way to get going.

-MC


On Mon, May 20, 2013 at 1:25 PM, Christopher Aloi <chris.aloi@gmail.com> wrote:

I'm currently using FreeSwitch between two systems as a "rate limiter' with the limit application.

I bring calls in, run through a hash to identify a loop - if my hash variable is met, I transfer the call to a new extension where I log the event and return a 503 to the source.  If not I return a 302 to the source to send the call on its way.

I'd like a way to identify these events to our NOC via email or a SNMP trap but I am not sure the best way to do it.

The alert would fall into the 503 extension.

What is the best way to accomplish this?

I'd like to keep the call flow as simple as possible.

Any ideas?

Thanks - 

- Chris










_________________________________________________________________________
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




--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org