It appears that there's nothing dynamic baked into mod_local_stream that would allow you to create a new stream from an API call. So it appears your two choices are: modify local_stream.conf.xml or use mod_xml_curl to serve up a dynamic configuration for local_stream. -MC On Mon, Apr 20, 2015 at 10:53 AM, Ali Pey <alipey@gmail.com> wrote:
The problem with hold music is that it would restart the file/music if there are more bridge calls. I'm looking for a way that the music would not get restarted.
Thanks.
On Thu, Apr 16, 2015 at 7:01 PM, Stanislav Sinyagin <ssinyagin@gmail.com> wrote:
You can just playback those files or set them as ringback tone or hold music. Local stream is optimizing the playback so that the source file is read only once, and it restarts from the position it stopped last time. If it's not needed or not critical, you can just playback individual files instead. On Apr 16, 2015 6:24 PM, "Ali Pey" <alipey@gmail.com> wrote:
Hello,
Is it possible to dynamically set different local_stream files for different users/bridges?
For instance I need a different custom MOH for call1 than call2 and they dynamically change as users can upload their own custom moh and I can't change the local_stream.conf.xml config file.
Thanks, Ali Pey
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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