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

Aqs Younas aqsyounas at gmail.com
Wed Dec 17 16:50:00 MSK 2014


Also these are logs when playing stream with mod_vlc

[0x7f69b00025d8] main input debug: Creating an input for '
http://s9.voscast.com:7584'
[0x7f69b00025d8] main input debug: using timeshift granularity of 50 MiB,
in path '/tmp'
[0x7f69b00025d8] main input debug: `http://s9.voscast.com:7584' gives
access `http' demux `' path `s9.voscast.com:7584'
[0x7f69b00025d8] main input debug: creating demux: access='http' demux=''
location='s9.voscast.com:7584' file='(null)'
[0x26cbd48] main demux debug: looking for access_demux module matching
"http": 11 candidates
[0x26cbd48] main demux debug: no access_demux modules matched
[0x7f69b00025d8] main input debug: creating access 'http' location='
s9.voscast.com:7584', path='(null)'
[0x26cbc68] main access debug: looking for access module matching "http":
19 candidates
[0x26cbc68] access_http access debug: querying proxy for
http://s9.voscast.com:7584

Session doesn't terminate even after i apply hupall on cli.

Thanks.

On 17 December 2014 at 18:34, Aqs Younas <aqsyounas at gmail.com> wrote:
>
> 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/82c184bc/attachment.html 


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