[Freeswitch-users] Is it possible to repeat music in playback

Brian West brian at freeswitch.org
Thu Feb 11 05:26:21 PST 2010


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





More information about the FreeSWITCH-users mailing list