[Freeswitch-users] Notification of an event in the dialplan

Christopher Aloi chris.aloi at gmail.com
Tue May 21 03:22:17 MSD 2013


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 at gmail.com<javascript:_e({}, 'cvml', 'chris.aloi at 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 at freeswitch.org <javascript:_e({}, 'cvml',
>> '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 <javascript:_e({}, 'cvml',
>> '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/20130520/0c6fdbd3/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list