[Freeswitch-users] Playback loop and Playback on Parked Call

Anthony Minessale anthony.minessale at gmail.com
Tue Aug 26 09:01:49 PDT 2008


If you are using event_socket to control the parked call you can do the
following.

call-command: execute
execute-app-name: playback
execute-app-arg: /path/to/file
lead-frames: 5
loops: -1

loops can also be 1..N for how many times to loop.


also, optionally you can add

event-lock: true

if you want to make any subsequent commands wait for this one to finish

and

hold-bleg: true

If the call is in a bridge and you want to play the file on the call and put
the other leg on hold while the file is being played.









On Sun, Aug 24, 2008 at 9:16 AM, Doug Blacksone <dougblackstone at gmail.com>wrote:

> Hi,
>
> There are two issues that I am trying to resolve.
>
> Is there anyway to continuously loop an audio file?  With the playback app,
> the call gets hung up after the audio file finishes playing, but I need it
> to replay from the beginning until the caller hangs up.
>
> The other issue has to do with the Park app.  Is there anyway to playback
> an audio file ( on a continuous basis) for a parked call?  I checked the
> wiki but can't find any info on that.
>
> Any ideas on how to resolve those problems?
>
> Thanks,
> Doug
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at 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/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080826/7082a28d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list