[Freeswitch-users] how can i do stream piping in freeswitch

Aqs Younas aqsyounas at gmail.com
Thu Jan 8 00:21:10 MSK 2015


Currently i am playing a stream with mod_shout and this is my default xml.

<context name="default">
    <extension name="global-intercept">
      <condition field="destination_number" expression="^14049002000$">
        <action application="answer"/>
        <action application="playback" data="shout://
online.radiodifusion.net:8024/"/>
      </condition>
    </extension>
</context>

Every time a user makes a call for stream it opens a separate connection
with the stream provider. If 100 users dials this number, there would be
100 connections with stream provider listening to same stream, means more
rtp packets containing same data for different users.

What i want is, if a user is listening to stream then other users must
share the same listening connection that the first user is opened, instead
of creating a separate connection with stream provider for same stream.

Someone told me this is possible in asterisk, so there must be a way in
freeswitch.

How can i do this.?
Any help would be much appreciated.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150108/d6994d0f/attachment.html 


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