<br><br><div class="gmail_quote">On Wed, Oct 14, 2009 at 1:09 PM, Peter Volchek <span dir="ltr"><<a href="mailto:pvolchek@voicemobility.com">pvolchek@voicemobility.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Could you provide with some examples how to do it within lua script,
please? I was not able to find any examples myself,<br>
<br></div></blockquote><div><br>session:execute("tone_detect", "fax 1100 r +5000 set 'fax_tone_detected=true' 1")<br><br>Then check for the value of the channel variable fax_tone_detected and act accordingly.<br>
-MC<br></div></div><br>