Jim:<div><br></div><div>The tone_detect app will let you set a callback action. So, you set it in your dialplan (or via Lua if you so desire) and then if it detects the tone it will execute the action specified. The action could be launching a script, executing another extension, or just setting a channel variable. You can do what you want with it from there. More info:</div>
<div><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect</a></div><div><br></div><div>As for generating tones, don&#39;t bother with wav files, just use TGML, the tone generation markup language:</div>
<div><br></div><div>&lt;!-- send a 2 second tone at 1004 Hz --&gt;</div><div>&lt;action application=&quot;playback&quot; data=&quot;tone_stream://%(2000,0,1004)&quot;/&gt;</div><div><br></div><div>You can do all kinds of fancy stuff with TGML. See this for more information:</div>
<div><a href="http://wiki.freeswitch.org/wiki/TGML">http://wiki.freeswitch.org/wiki/TGML</a></div><div><br></div><div>-MC<br><br><div class="gmail_quote">On Tue, Nov 23, 2010 at 7:49 AM, Jim Lynch <span dir="ltr">&lt;<a href="mailto:jim@k4gvo.com">jim@k4gvo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 11/06/2010 03:50 PM, Nazim Aghabayov wrote:<br>
&gt; Hello Jim,<br>
&gt;<br>
&gt; No need for a module, this functionality can be achieved with a simple<br>
&gt; LUA ivr script.<br>
&gt; <a href="http://wiki.freeswitch.org/wiki/Lua" target="_blank">http://wiki.freeswitch.org/wiki/Lua</a><br>
&gt;<br>
&gt; Regards,<br>
&gt; Nazim<br>
&gt;<br>
&gt; On 11/06/2010 11:37 PM, Jim Lynch wrote:<br>
&gt;<br>
&gt;&gt; Alarmreceiver is an Asterisk application for the security industry. From<br>
&gt;&gt; the description of the module, &quot;This application emulates an SIA<br>
&gt;&gt; (Ademco) Contact ID alarm receiver. The Contact ID protocol is the most<br>
&gt;&gt; popular signalling protocol used between alarm panels and central stations.&quot;<br>
&gt;&gt;<br>
</div>In reading the SIA documentation for an Alarm Receiver application, the<br>
device sends (and expects) both DTMF and single frequency tones<br>
depending on the situation.  I see that dialplans can include checking<br>
for single frequency tones, but I didn&#39;t see any reference to being able<br>
to decode these from LUA.  Is that something that would be easy to<br>
implement?  Where might I start looking to do so?  Sending of tones<br>
could be accomplished via a .wav file so that part is covered.<br>
<div><div></div><div class="h5"><br>
Thanks,<br>
Jim.<br>
<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>
</div></div></blockquote></div><br></div>