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.<br>
<br>-MC<br><br><div class="gmail_quote">On Fri, Feb 10, 2012 at 12:32 AM, Hynek Cihlar <span dir="ltr"><<a href="mailto:hynek.cihlar@gmail.com">hynek.cihlar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>After playing with the detector a bit, I can confirm it already does what I need. It reports the channel where the tone originated.</div><div><br></div><div>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!</div>
<span class="HOEnZb"><font color="#888888">
<br clear="all">Hynek</font></span><div class="HOEnZb"><div class="h5"><br><br>
<br><br><div class="gmail_quote">On Fri, Feb 10, 2012 at 12:38 AM, Hynek Cihlar <span dir="ltr"><<a href="mailto:hynek.cihlar@gmail.com" target="_blank">hynek.cihlar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>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?</div><span><font color="#888888"><br clear="all">
Hynek<br>
<br>
</font></span></blockquote></div><br>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>