[Freeswitch-dev] fax tone detection inside app

Michael Collins msc at freeswitch.org
Wed Oct 14 13:39:22 PDT 2009


On Wed, Oct 14, 2009 at 1:09 PM, Peter Volchek
<pvolchek at voicemobility.com>wrote:

>  Could you provide with some examples how to do it within lua script,
> please? I was not able to find any examples myself,
>
>
session:execute("tone_detect", "fax 1100 r +5000 set
'fax_tone_detected=true' 1")

Then check for the value of the channel variable fax_tone_detected and act
accordingly.
-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20091014/7ba25a86/attachment.html 


More information about the FreeSWITCH-dev mailing list