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.
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 FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- users http://www.freeswitch.org
I am using async socket. Shall I set the regular expression for palyback_terminators? On Wed, Oct 28, 2009 at 2:26 PM, Brian West <brian@freeswitch.org> wrote:
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 FreeSWITCH-users@lists.freeswitch.org 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 FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Brian West
-
velusamy velu