or try endless_playback app
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