<div dir="ltr"><div><div><div><div><div>Thanks for your suggestions. It really helped.<br><br></div>But i have few questions.<br><br> What if i have multiple streams actually about 400 streams and a lot of users who can switch between different streams, if i put all stream in a file then users will not be able to switch between desired streams. <br><br></div>And if i create separate folder each containing a file with single stream then there will be a lots of directories and for every directory and also i have to manually enter its name in local_stream.conf.xml<br><br></div><div>Because i see this setup suitable for only single stream or in a scenario where users don't want to switch between desired streams by pressing extension.<br></div><div><br>Is there any other way to do so.? Or how can i improve this?<br></div><br></div>Really thankful for your help.<br><br></div>Regards.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 January 2015 at 06:22, Nathan Neulinger <span dir="ltr"><<a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Look at the Shout stream as MOH section of:<br>
<br>
<a href="https://wiki.freeswitch.org/wiki/Mod_shout" target="_blank">https://wiki.freeswitch.org/wiki/Mod_shout</a><br>
<br>
You have to define the stream as a local_stream and then reference it via local_stream://moh/whatever<br>
<br>
I use this to stream a local campus radio station via mp3/icecast as MOH stream.<br>
<br>
-- Nathan<br>
<span class=""><br>
On 01/07/2015 03:21 PM, Aqs Younas wrote:<br>
> Currently i am playing a stream with mod_shout and this is my default xml.<br>
><br>
> <context name="default"><br>
> <extension name="global-intercept"><br>
> <condition field="destination_number" expression="^14049002000$"><br>
> <action application="answer"/><br>
> <action application="playback" data="shout://<a href="http://online.radiodifusion.net:8024/" target="_blank">online.radiodifusion.net:8024/</a><br>
</span>> <<a href="http://online.radiodifusion.net:8024/" target="_blank">http://online.radiodifusion.net:8024/</a>>"/><br>
<span class="">> </condition><br>
> </extension><br>
> </context><br>
><br>
> Every time a user makes a call for stream it opens a separate connection with the stream provider. If 100 users dials<br>
> this number, there would be 100 connections with stream provider listening to same stream, means more rtp packets<br>
> containing same data for different users.<br>
><br>
> What i want is, if a user is listening to stream then other users must share the same listening connection that the<br>
> first user is opened, instead of creating a separate connection with stream provider for same stream.<br>
><br>
> Someone told me this is possible in asterisk, so there must be a way in freeswitch.<br>
><br>
> How can i do this.?<br>
> Any help would be much appreciated.<br>
><br>
> Thanks<br>
><br>
><br>
><br>
</span>> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
--<br>
------------------------------------------------------------<br>
Nathan Neulinger <a href="mailto:nneul@mst.edu">nneul@mst.edu</a><br>
Missouri S&T Information Technology <a href="tel:%28573%29%20612-1412" value="+15736121412">(573) 612-1412</a><br>
System Administrator - Architect<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>