Off the top of my head I don't recall if the tone_detect app uses mod_spandsp or not. I would check mod_dptools.c and confirm. In any case, if you are detecting tones and wish to react accordingly then look at this app for how to handle it in the dialplan. -MC On Fri, Feb 10, 2012 at 12:32 AM, Hynek Cihlar <hynek.cihlar@gmail.com>wrote:
After playing with the detector a bit, I can confirm it already does what I need. It reports the channel where the tone originated.
A related question though. Can I handle an event (or the tone detected event in particular) only in the means of the dialplan or do I need to create a script to sit and wait for the event? A declarative event processing in the dialplan would be cool!
Hynek
On Fri, Feb 10, 2012 at 12:38 AM, Hynek Cihlar <hynek.cihlar@gmail.com>wrote:
The spandsp mod is fantastic! Can it be configured to detect tones originated through a specific sip profile so I would be able to tell whether the tone was originated from the remote side?
Hynek
_________________________________________________________________________ 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