[Freeswitch-users] How to play a stream other than mp3 with mod_shout.

Aqs Younas aqsyounas at gmail.com
Wed Dec 17 16:34:24 MSK 2014


Hi, Moishe Grunstein

I am able to successfully configure mod_vlc, but when i play i stream with
vlc i hear nothing. Like dead call.

Here is my default.xml

<include>
  <context name="default">
    <extension name="Testing">
    <condition field="destination_number" expression="^(\+1|1)?\d+$">
      <action application="answer"/>
      <action application="log" data="Call in progress"/>
        <action application="playback" data="vlc://
http://s9.voscast.com:7584"/>
  </condition>
  </extension>
  </context>
</include>

When call is answered and i hangup the call from my softphone, it does not
actually ends on freeswitch side.
Also when i type

freeswitch at internal> hupall
+OK hangup all channels with cause MANAGER_REQUEST

But
freeswitch at internal> show calls count
2 total.

Call doesn't terminate. When i play the stream with mod_shout everything
works fine.

My OS is Debian 7.6.

Can you please provide my with example how to play stream with vlc. Or
anything that i am doing wrong.

Best Regards.


On 15 December 2014 at 17:03, Aqs Younas <aqsyounas at gmail.com> wrote:
>
> Thanks for your reply. I will try that too.
> Many thanks for your valuable replies.
>
> On 15 December 2014 at 00:37, Danny Gershman <danny.gershman at gmail.com>
> wrote:
>
>> Also mod_rtmp lets you play from an FMS server.
>>
>>
>> On Friday, December 12, 2014, Aqs Younas <aqsyounas at gmail.com> wrote:
>>
>>> Hi, All
>>>
>>> How can i play a live stream other than mp3 with mod_shout or any
>>> module.? Is there any way to buffer the stream before playing it with
>>> mod_shout.
>>>
>>>
>>> Currently i have a list of streams and when i play them with mod_shout
>>> some work fine but others give (time out) error.
>>>
>>> How can i play mostly stream in freeswitch?
>>>
>>> Thanks
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at 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 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/20141217/80018c41/attachment.html 


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