Thanks Michael

Michael Collins wrote:


On Wed, Oct 14, 2009 at 1:09 PM, Peter Volchek <[email protected]> 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

_______________________________________________
FreeSWITCH-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org

Reply via email to