Hello Velusamy! You may also be interested in using the method: http://wiki.freeswitch.org/wiki/Mod_lua#session:playAndGetDigits It play a file, gets DTMFs and can be terminated if the maximum number of digits is reached (i.e. 1 digit).
Delian Tashev -----Original Message----- From: Brian West [mailto:[email protected]] Sent: Wednesday, October 28, 2009 10:57 To: [email protected] Subject: Re: [Freeswitch-users] How to stop the playback files http://wiki.freeswitch.org/wiki/Channel_Variables#playback_terminators Are you using sync or async socket? /b On Oct 28, 2009, at 3:29 AM, velusamy velu wrote: > Dear All, > I have played the list of voice files in playback like the > following by using ESL perl module, > > $conn->execute("set","playback_delimiter=!"); > $conn->execute("set","playback_sleep_val=100"); > $conn->playback($sound_path."ivr/ivr-welcome_to_freeswitch.wav!ivr/ > ivr-this_ivr_will_let_you_test_features.wav!ivr/ivr- > you_may_exit_by_hanging_up.wav"); > > In a loop I am checking the DTMF event, if that event comes I > should stop the above palyback. How can I do it? > > Regards, > Velusamy. > > _______________________________________________ > FreeSWITCH-users mailing list > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- > users > http://www.freeswitch.org _______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
