I did that. And I do find it quite amusing :D<br><br><div class="gmail_quote">On Sat, Aug 8, 2009 at 21:09, Chad Phillips -- Apartment Lines <span dir="ltr">&lt;<a href="mailto:chad@apartmentlines.com">chad@apartmentlines.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 style="word-wrap:break-word">does anybody else find it amusing that my thread about Lua scripting was hijacked by people talking about hijacking threads??  ;)<div>
<br></div><div>/me waits patiently for discussion on the topic<div><div></div><div class="h5"><br><div><br></div><div><br><div><div>On Aug 8, 2009, at 2:48 PM, Raffaele P. Guidi wrote:</div><br><blockquote type="cite">Uh, oh, ok. <span style="border-collapse:collapse;color:rgb(68, 68, 68)">Message-Id and In-Reply-To headers don&#39;t mean too much in a gmail world (I think gmail does a better job than any other mail client). Well, at least I understood what Brian was talking about, thanks.</span><div>
 <font color="#444444"><span style="border-collapse:collapse"><br></span></font></div><div><font color="#444444"><span style="border-collapse:collapse">Regards,</span></font></div> <div><font color="#444444"><span style="border-collapse:collapse">   Raffaele<br>
</span></font><br><div class="gmail_quote">On Sat, Aug 8, 2009 at 20:01, Stefan Knoblich <span dir="ltr">&lt;<a href="mailto:stkn@freeswitch.org" target="_blank">stkn@freeswitch.org</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
His message was a direct reply to Alan Chandler&#39;s mail and Brian&#39;s mail client is working perfectly fine<br> (as are both of my mail clients).<br> <br> Look at the Message-Id and In-Reply-To headers of the mails if you still think our clients are broken :)<br>
 <br> <br> stkn<br> <div><br> <br> Raffaele P. Guidi wrote:<br> &gt; Brian, I&#39;ve read 8-9 of your emails asking to not hijack threads in<br> &gt; threads where this it didn&#39;t happen (like this). I see this as a new<br>
 &gt; thread with a single message (plus yours, of course) inside with<br> &gt; &quot;[Freeswitch-users] how to catch DTMF in Lua while a phrase macro is<br> &gt; playing&quot; as the subject - and I think is quite relevant to the message.<br>
 &gt; I suspect you have something wrong in your email client (mine is gmail)<br> &gt; or server and suggest you to give it a check.<br> &gt;<br> &gt; Regards,<br> &gt;    Raffaele<br> &gt;<br> &gt; On Sat, Aug 8, 2009 at 17:59, Brian West &lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a><br>
 </div><div><div></div><div>&gt; &lt;mailto:<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt;&gt; wrote:<br> &gt;<br> &gt;     Examples exist in the scripts/lua folder called callback.lua.  Also<br>
 &gt;     please DO NOT hijack threads.  You can&#39;t click reply, change the<br> &gt;     subject as it messes up the mailing list threading and most mail<br> &gt;     readers will thread it incorrectly.<br> &gt;<br> &gt;     Thanks,<br>
 &gt;     Brian<br> &gt;<br> &gt;     On Aug 8, 2009, at 10:15 AM, Chad Phillips -- Apartment Lines wrote:<br> &gt;<br> &gt;     &gt; in a lua script, i&#39;ve tried using session:setInputCallback() to catch<br> &gt;     &gt; DTMF tones while a phrase macro is playing, but it doesn&#39;t seem to<br>
 &gt;     &gt; work.  the same callback _does_ catch DTMF when i use<br> &gt;     &gt; session:streamFile() to play something.  is there some other way to do<br> &gt;     &gt; it?<br> &gt;     &gt;<br> &gt;     &gt; below is an example of how i&#39;m doing it now.  when voicemail/vm-<br>
 &gt;     &gt; mailbox_full.wav plays, i see key presses being printed to the<br> &gt;     &gt; console, but when the phrase plays, no key presses are displayed.<br> &gt;     &gt;<br> &gt;     &gt; function key_press(session, input_type, data)<br>
 &gt;     &gt;       if input_type == &quot;dtmf&quot; then<br> &gt;     &gt;               freeswitch.consoleLog(&quot;info&quot;, &quot;Key pressed: &quot; ..<br> &gt;     data[&quot;digit&quot;] ..<br> &gt;     &gt; &quot;\n&quot;)<br>
 &gt;     &gt;       end<br> &gt;     &gt; end<br> &gt;     &gt;<br> &gt;     &gt; if session:ready() then<br> &gt;     &gt;       session:answer()<br> &gt;     &gt;       session:execute(&quot;sleep&quot;, &quot;1000&quot;)<br>
 &gt;     &gt;       session:setInputCallback(&quot;key_press&quot;, &quot;&quot;)<br> &gt;     &gt;       session:streamFile(&quot;voicemail/vm-mailbox_full.wav&quot;)<br> &gt;     &gt;       session:execute(&quot;phrase&quot;, &quot;voicemail_menu,1:2:3:#&quot;)<br>
 &gt;     &gt; end<br> &gt;     &gt;<br> &gt;     &gt; _______________________________________________<br> &gt;     &gt; FreeSWITCH-users mailing list<br> &gt;     &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
 </div></div>&gt;     &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br> <div>&gt;     &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
 &gt;     &gt;<br> &gt;     UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> &gt;     &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
 &gt;<br> &gt;<br> &gt;     _______________________________________________<br> &gt;     FreeSWITCH-users mailing list<br> &gt;     <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
 </div>&gt;     &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br> <div><div></div><div>&gt;     <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
 &gt;     UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br> &gt;     <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
 &gt;<br> &gt;<br> &gt;<br> &gt; ------------------------------------------------------------------------<br> &gt;<br> &gt; _______________________________________________<br> &gt; FreeSWITCH-users mailing list<br> &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
 &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br> &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
 &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br> <br> <br> _______________________________________________<br> FreeSWITCH-users mailing list<br> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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> _______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></blockquote></div><br></div></div></div></div></div><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>