[Freeswitch-users] Playback in a loop

Ali Pey alipey at gmail.com
Tue Dec 31 22:16:39 MSK 2013


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


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