[Freeswitch-users] Playback in a loop

Stanislav Sinyagin ssinyagin at yahoo.com
Wed Jan 1 04:44:58 MSK 2014



doesn't this article explain exactly that?
http://wiki.freeswitch.org/wiki/Mod_local_stream

You can define your own playlist and use it in "playback" application, same way as you do with individual files.



________________________________
 From: Ali Pey <alipey at gmail.com>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org> 
Sent: Tuesday, December 31, 2013 8:16 PM
Subject: Re: [Freeswitch-users] Playback in a loop
 


I'm using bind_digit_action to detect certain key strokes during a call. When the b-leg presses a certain key combination, I would like to put the a-leg on hold and play some prompts for the b-leg to provide some in call features such as call transfer.

I use playback on the a-leg and seems to do the trick, but the problem is that I want to loop through the music file. I'm using Perl and ESL.

Is there a better way to do this?

Thanks,
Ali Pey



On Tue, Dec 31, 2013 at 12:22 PM, Michael Jerris <mike at jerris.com> wrote:

How are you wanting to initiate this?
>
>
>On Dec 30, 2013, at 7:28 PM, Ali Pey <alipey at gmail.com> wrote:
>
>I was trying to use playback since playback is similar to park as I understand.
>>
>>
>>Is there a better way to put the a-leg on hold?
>>
>>
>>
>>
>>
>>On Mon, Dec 30, 2013 at 7:17 PM, Michael Jerris <mike at jerris.com> wrote:
>>
>>If you get the call on actual hold, you can use actual hold music like a mod_local_stream that loops.  How are you wanting to initiate this?
>>>
>>>
>>>On Dec 30, 2013, at 4:25 PM, Ali Pey <alipey at gmail.com> wrote:
>>>
>>>> Hello,
>>>>
>>>> Is there a way to playback a file in a loop?
>>>>
>>>> I'm trying to find a way to put the a-leg on hold with music while b-leg gets some prompts to do a initiate a transfer.
>>>>
>>>> I have looked at endless_playback, but the problem seems to be that there is no way to stop the play back and bridge the call again. Is that still true with endless_playback?
>>>>
>>>> Regards,
>>>> Ali Pey
>>>>
>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> 
>>>> 
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> 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
>>>
>>>
>>>_________________________________________________________________________
>>>Professional FreeSWITCH Consulting Services:
>>>consulting at freeswitch.org
>>>http://www.freeswitchsolutions.com
>>>
>>>
>>>
>>>
>>>Official FreeSWITCH Sites
>>>http://www.freeswitch.org
>>>http://wiki.freeswitch.org
>>>http://www.cluecon.com
>>>
>>>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
>>>
>>
_________________________________________________________________________
>>Professional FreeSWITCH Consulting Services:
>>consulting at freeswitch.org
>>http://www.freeswitchsolutions.com
>>
>>
>>
>>
>>Official FreeSWITCH Sites
>>http://www.freeswitch.org
>>http://wiki.freeswitch.org
>>http://www.cluecon.com
>>
>>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
>>
>
>_________________________________________________________________________
>Professional FreeSWITCH Consulting Services:
>consulting at freeswitch.org
>http://www.freeswitchsolutions.com
>
>
>
>
>Official FreeSWITCH Sites
>http://www.freeswitch.org
>http://wiki.freeswitch.org
>http://www.cluecon.com
>
>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
>
>


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131231/bf4da041/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list