Is it possible to repeat music in playback
Hello, I've defined a very simple dialplan like the one below and when the caller is connected to this plan, I hope to keep the call alive and repeat the music set by playback. How am I able to achieve this? <extension name="agent_hold"> <condition field="destination_number" expression="^33333$"> <action application="answer"/> <action application="playback" data="customized/test.wav"/> </condition> </extension> Thanks, -Jingwei
Why not just use Fifo to hold them? Or Park the agent and send the session a message to play music? You then have options to define loop count. http://wiki.freeswitch.org/wiki/Event_Socket#execute /b On Feb 11, 2010, at 4:33 AM, Jingwei Yang wrote:
Hello,
I've defined a very simple dialplan like the one below and when the caller is connected to this plan, I hope to keep the call alive and repeat the music set by playback. How am I able to achieve this?
<extension name="agent_hold"> <condition field="destination_number" expression="^33333$"> <action application="answer"/> <action application="playback" data="customized/test.wav"/> </condition> </extension>
Thanks, -Jingwei
or try endless_playback app On Thu, Feb 11, 2010 at 7:26 AM, Brian West <brian@freeswitch.org> wrote:
Why not just use Fifo to hold them? Or Park the agent and send the session a message to play music? You then have options to define loop count.
http://wiki.freeswitch.org/wiki/Event_Socket#execute
/b
On Feb 11, 2010, at 4:33 AM, Jingwei Yang wrote:
Hello,
I've defined a very simple dialplan like the one below and when the caller is connected to this plan, I hope to keep the call alive and repeat the music set by playback. How am I able to achieve this?
<extension name="agent_hold"> <condition field="destination_number" expression="^33333$"> <action application="answer"/> <action application="playback" data="customized/test.wav"/> </condition> </extension>
Thanks, -Jingwei
_______________________________________________ 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> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
Thanks Anthony, exactly what I want. On Thu, Feb 11, 2010 at 10:39 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
or try endless_playback app
On Thu, Feb 11, 2010 at 7:26 AM, Brian West <brian@freeswitch.org> wrote:
Why not just use Fifo to hold them? Or Park the agent and send the session a message to play music? You then have options to define loop count.
http://wiki.freeswitch.org/wiki/Event_Socket#execute
/b
On Feb 11, 2010, at 4:33 AM, Jingwei Yang wrote:
Hello,
I've defined a very simple dialplan like the one below and when the caller is connected to this plan, I hope to keep the call alive and repeat the music set by playback. How am I able to achieve this?
<extension name="agent_hold"> <condition field="destination_number" expression="^33333$"> <action application="answer"/> <action application="playback" data="customized/test.wav"/> </condition> </extension>
Thanks, -Jingwei
_______________________________________________ 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> iax:guest@conference.freeswitch.org/888 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
Hi antony, Is there any way to stop the endless_playback?? I tried with break. But it didn't worked!! On Thu, Feb 11, 2010 at 8:09 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
or try endless_playback app
On Thu, Feb 11, 2010 at 7:26 AM, Brian West <brian@freeswitch.org> wrote:
Why not just use Fifo to hold them? Or Park the agent and send the session a message to play music? You then have options to define loop count.
http://wiki.freeswitch.org/wiki/Event_Socket#execute
/b
On Feb 11, 2010, at 4:33 AM, Jingwei Yang wrote:
Hello,
I've defined a very simple dialplan like the one below and when the caller is connected to this plan, I hope to keep the call alive and repeat the music set by playback. How am I able to achieve this?
<extension name="agent_hold"> <condition field="destination_number" expression="^33333$"> <action application="answer"/> <action application="playback" data="customized/test.wav"/> </condition> </extension>
Thanks, -Jingwei
_______________________________________________ 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> iax:guest@conference.freeswitch.org/888 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
Hi all, Any update on this. How to stop an endless_playback??? On Fri, Feb 12, 2010 at 4:53 PM, lakshmanan ganapathy <lakindia89@gmail.com>wrote:
Hi antony, Is there any way to stop the endless_playback?? I tried with break. But it didn't worked!!
On Thu, Feb 11, 2010 at 8:09 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
or try endless_playback app
On Thu, Feb 11, 2010 at 7:26 AM, Brian West <brian@freeswitch.org> wrote:
Why not just use Fifo to hold them? Or Park the agent and send the session a message to play music? You then have options to define loop count.
http://wiki.freeswitch.org/wiki/Event_Socket#execute
/b
On Feb 11, 2010, at 4:33 AM, Jingwei Yang wrote:
Hello,
I've defined a very simple dialplan like the one below and when the caller is connected to this plan, I hope to keep the call alive and repeat the music set by playback. How am I able to achieve this?
<extension name="agent_hold"> <condition field="destination_number" expression="^33333$"> <action application="answer"/> <action application="playback" data="customized/test.wav"/> </condition> </extension>
Thanks, -Jingwei
_______________________________________________ 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> iax:guest@conference.freeswitch.org/888 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
There is no way, that's why its called endless playback. You could put in a feature request or a bounty and if it was deemed a sensible req, it could be added. On Feb 14, 2010 3:37 AM, "lakshmanan ganapathy" <lakindia89@gmail.com> wrote: Hi all, Any update on this. How to stop an endless_playback??? On Fri, Feb 12, 2010 at 4:53 PM, lakshmanan ganapathy <lakindia89@gmail.com> wrote:
Hi antony,...
_______________________________________________ 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 (4)
-
Anthony Minessale
-
Brian West
-
Jingwei Yang
-
lakshmanan ganapathy