<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Thanks Michael</tt><br>
<br>
Michael Collins wrote:
<blockquote
cite="mid:87f2f3b90910141339r401e3a0cwc747549d66316605@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">On Wed, Oct 14, 2009 at 1:09 PM, Peter
Volchek <span dir="ltr"><<a moz-do-not-send="true"
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>
</blockquote>
</body>
</html>