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
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900