Need to stop more than one voice file using break application
Dear all, I am in the process of developing IVR using FreeSWITCH. For that I am being used outbound ESL in async mode. In my design, usually for one menu it might be more than one voice files. So using playback_delimiter, play back all the voice file in single instance using playback application. I've tried to stop the play back using "break <uuid> all" API. But it only break the only one voice file not the whole application(playback). Consider that I am playback four voice files. When the first voice file is getting playback, using " break <uuid> all" t stop the playback . It only stopped the second voice and continued to playback the third voice file and followed by fourth one. My need is to break the playback application which may have any number of voice files in async mode. Thanks in advance. -- Regards, Thangappan.M
Yupp I have this on vxml as well - also checked code earlier the barge-in in FS is local for what you do here and now - next PlayFile reset it. Use playphrase - that allows you to play several files in one go. Jan _____ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Thangappan.M Sent: 4. juni 2010 11:02 To: freeswitch-users Subject: [Freeswitch-users] Need to stop more than one voice file using break application Dear all, I am in the process of developing IVR using FreeSWITCH. For that I am being used outbound ESL in async mode. In my design, usually for one menu it might be more than one voice files. So using playback_delimiter, play back all the voice file in single instance using playback application. I've tried to stop the play back using "break <uuid> all" API. But it only break the only one voice file not the whole application(playback). Consider that I am playback four voice files. When the first voice file is getting playback, using " break <uuid> all" t stop the playback . It only stopped the second voice and continued to playback the third voice file and followed by fourth one. My need is to break the playback application which may have any number of voice files in async mode. Thanks in advance. -- Regards, Thangappan.M
I added a patch [eba05c3 ] so it will work now On Fri, Jun 4, 2010 at 4:01 AM, Thangappan.M <thangappan143@gmail.com>wrote:
Dear all,
I am in the process of developing IVR using FreeSWITCH. For that I am being used outbound ESL in async mode.
In my design, usually for one menu it might be more than one voice files. So using playback_delimiter, play back all the voice file in single instance using playback application.
I've tried to stop the play back using "break <uuid> all" API. But it only break the only one voice file not the whole application(playback).
Consider that I am playback four voice files. When the first voice file is getting playback, using " break <uuid> all" t stop the playback . It only stopped the second voice and continued to playback the third voice file and followed by fourth one.
My need is to break the playback application which may have any number of voice files in async mode.
Thanks in advance.
-- Regards, Thangappan.M
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
For normal scenario it is working fine. I have done the break application in the signal handler at that time it is not working. Any reason? On Fri, Jun 4, 2010 at 9:03 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
I added a patch [eba05c3 ] so it will work now
On Fri, Jun 4, 2010 at 4:01 AM, Thangappan.M <thangappan143@gmail.com>wrote:
Dear all,
I am in the process of developing IVR using FreeSWITCH. For that I am being used outbound ESL in async mode.
In my design, usually for one menu it might be more than one voice files. So using playback_delimiter, play back all the voice file in single instance using playback application.
I've tried to stop the play back using "break <uuid> all" API. But it only break the only one voice file not the whole application(playback).
Consider that I am playback four voice files. When the first voice file is getting playback, using " break <uuid> all" t stop the playback . It only stopped the second voice and continued to playback the third voice file and followed by fourth one.
My need is to break the playback application which may have any number of voice files in async mode.
Thanks in advance.
-- Regards, Thangappan.M
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ 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
-- Regards, Thangappan.M
I didn't understand you. On Mon, Jun 7, 2010 at 6:48 AM, Thangappan.M <thangappan143@gmail.com>wrote:
For normal scenario it is working fine. I have done the break application in the signal handler at that time it is not working.
Any reason?
On Fri, Jun 4, 2010 at 9:03 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
I added a patch [eba05c3 ] so it will work now
On Fri, Jun 4, 2010 at 4:01 AM, Thangappan.M <thangappan143@gmail.com>wrote:
Dear all,
I am in the process of developing IVR using FreeSWITCH. For that I am being used outbound ESL in async mode.
In my design, usually for one menu it might be more than one voice files. So using playback_delimiter, play back all the voice file in single instance using playback application.
I've tried to stop the play back using "break <uuid> all" API. But it only break the only one voice file not the whole application(playback).
Consider that I am playback four voice files. When the first voice file is getting playback, using " break <uuid> all" t stop the playback . It only stopped the second voice and continued to playback the third voice file and followed by fourth one.
My need is to break the playback application which may have any number of voice files in async mode.
Thanks in advance.
-- Regards, Thangappan.M
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ 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
-- Regards, Thangappan.M
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
In async mode set the event lock true. When the playback is going, just in the program waited for the playback has to be completed. While playback is going, passed the signals to this process. At that time I need to stop the current playback. In the signal handler using " break <uuid> all" stop the playback but it was not stopping the playback. If I do the " break <uuid> all" in the normal place( not the signal handler) it is being worked fine. On Mon, Jun 7, 2010 at 10:38 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
I didn't understand you.
On Mon, Jun 7, 2010 at 6:48 AM, Thangappan.M <thangappan143@gmail.com>wrote:
For normal scenario it is working fine. I have done the break application in the signal handler at that time it is not working.
Any reason?
On Fri, Jun 4, 2010 at 9:03 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
I added a patch [eba05c3 ] so it will work now
On Fri, Jun 4, 2010 at 4:01 AM, Thangappan.M <thangappan143@gmail.com>wrote:
Dear all,
I am in the process of developing IVR using FreeSWITCH. For that I am being used outbound ESL in async mode.
In my design, usually for one menu it might be more than one voice files. So using playback_delimiter, play back all the voice file in single instance using playback application.
I've tried to stop the play back using "break <uuid> all" API. But it only break the only one voice file not the whole application(playback).
Consider that I am playback four voice files. When the first voice file is getting playback, using " break <uuid> all" t stop the playback . It only stopped the second voice and continued to playback the third voice file and followed by fourth one.
My need is to break the playback application which may have any number of voice files in async mode.
Thanks in advance.
-- Regards, Thangappan.M
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ 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
-- Regards, Thangappan.M
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ 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
-- Regards, Thangappan.M
what is a signal handler and what is a normal place. based on your original request, which i did understand, I changed the code for you so you must update it and retest. On Mon, Jun 7, 2010 at 11:45 PM, Thangappan.M <thangappan143@gmail.com>wrote:
In async mode set the event lock true. When the playback is going, just in the program waited for the playback has to be completed.
While playback is going, passed the signals to this process. At that time I need to stop the current playback.
In the signal handler using " break <uuid> all" stop the playback but it was not stopping the playback.
If I do the " break <uuid> all" in the normal place( not the signal handler) it is being worked fine.
On Mon, Jun 7, 2010 at 10:38 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
I didn't understand you.
On Mon, Jun 7, 2010 at 6:48 AM, Thangappan.M <thangappan143@gmail.com>wrote:
For normal scenario it is working fine. I have done the break application in the signal handler at that time it is not working.
Any reason?
On Fri, Jun 4, 2010 at 9:03 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
I added a patch [eba05c3 ] so it will work now
On Fri, Jun 4, 2010 at 4:01 AM, Thangappan.M <thangappan143@gmail.com>wrote:
Dear all,
I am in the process of developing IVR using FreeSWITCH. For that I am being used outbound ESL in async mode.
In my design, usually for one menu it might be more than one voice files. So using playback_delimiter, play back all the voice file in single instance using playback application.
I've tried to stop the play back using "break <uuid> all" API. But it only break the only one voice file not the whole application(playback).
Consider that I am playback four voice files. When the first voice file is getting playback, using " break <uuid> all" t stop the playback . It only stopped the second voice and continued to playback the third voice file and followed by fourth one.
My need is to break the playback application which may have any number of voice files in async mode.
Thanks in advance.
-- Regards, Thangappan.M
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ 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
-- Regards, Thangappan.M
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
_______________________________________________ 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
-- Regards, Thangappan.M
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
participants (3)
-
Anthony Minessale
-
Jan Berger
-
Thangappan.M