maybe this helps: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_displace_session also, in mod_local_stream, you can point to a playlist file, and then update the playlist without reconfiguring FreeSWITCH. but I think it's still easier to make a streaming server and send looped user files from there ________________________________ From: Ali Pey <alipey@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Sent: Thursday, January 2, 2014 12:17 AM Subject: Re: [Freeswitch-users] Playback in a loop This sounds even more complicated work around since users can upload their custom MOH wave files. I was wondering if there is a proper way to do this. I do have alternative workarounds such as playing the same file a number of times in a file string or having the playback in a while loop. Putting a leg of a call on hold with MOH sounds a simple and straightforward requirement. There should be a way. Regards, Ali Pey On Wed, Jan 1, 2014 at 5:54 PM, Stanislav Sinyagin <ssinyagin@yahoo.com> wrote: ok, then make an mp3 streaming server and use mod_shoutcast to play the stream
________________________________
From: Ali Pey <alipey@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, January 1, 2014 3:50 AM
Subject: Re: [Freeswitch-users] Playback in a loop
This won't work for my scenario. The subscribers in my environment can upload their own custom music files and I won't be able to create playlists and change configuration files for every user.
I just need to play one .wav file in a loop.
Thanks.
On Tue, Dec 31, 2013 at 8:44 PM, Stanislav Sinyagin <ssinyagin@yahoo.com> wrote:
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@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@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@jerris.com> wrote:
How are you wanting to initiate this?
On Dec 30, 2013, at 7:28 PM, Ali Pey <alipey@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@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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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