[Freeswitch-users] Enable Video for external calls

Mirko Brankovic mirkobrankovic at gmail.com
Tue Sep 13 18:34:34 MSD 2016


YEah, i don't think you will have problems with this

On Tue, Sep 13, 2016 at 4:28 PM, Yuriy Gorlichenko <ovoshlook at gmail.com>
wrote:

> yep. this hepled
> For now all staff going thorugh
> I just afraid about how it will wolr with another mods like queue and
> conference. But as i understand
> if i execute leg B through
> session:execute("bridge","sofia/external/"..session:getVaria
> ble("destination_number").."@my.sip.pro.xy")
> It just builds new leg and it will be work same for queue and conference
> and etc,am i right?
>
> 2016-09-13 17:05 GMT+03:00 Mirko Brankovic <mirkobrankovic at gmail.com>:
>
>> hmm so enable-soa = false helped ?
>>
>> Sorry I missed maybe some mail in process :)
>>
>> On Tue, Sep 13, 2016 at 3:54 PM, Yuriy Gorlichenko <ovoshlook at gmail.com>
>> wrote:
>>
>>> Yes. Call gointg through correctly
>>>
>>> 2016-09-13 16:31 GMT+03:00 Mirko Brankovic <mirkobrankovic at gmail.com>:
>>>
>>>> In pastebin negotiation looks good.
>>>>
>>>> So video is working now?
>>>>
>>>> On Sep 13, 2016 15:24, "Yuriy Gorlichenko" <ovoshlook at gmail.com> wrote:
>>>>
>>>>> As i said before for now that is ok after i pased
>>>>> <param name="enable-soa" value="false"/>
>>>>>
>>>>> For now i have only one question:
>>>>> Is it will be working after i will handle Leg A, or I will need to
>>>>> configure somewhere else at the profile?
>>>>>
>>>>> 2016-09-13 16:10 GMT+03:00 Dave Horton <daveh at beachdognet.com>:
>>>>>
>>>>>> I’m confused because that pastebin shows the freeswitch properly
>>>>>> setting up the call with OPUS for audio and VP8 for video.  Yet your
>>>>>> initial problem description said there was no video on the B leg.
>>>>>>
>>>>>>
>>>>>> On Sep 13, 2016, at 2:40 AM, Yuriy Gorlichenko <ovoshlook at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>> Sip trace:
>>>>>>
>>>>>> For your understanding - im using kamailio as registrar there. FS as
>>>>>> media and Services server
>>>>>> so call goes:
>>>>>>
>>>>>> WebRTC client A -> (websockets) -> Kamailio -> (udp) -> FreeSwitch
>>>>>> |__________________Leg A__________________________________|
>>>>>>
>>>>>>
>>>>>> FreeSwitch -> (udp) -> Kamailio -> (websockets) -> WebRTC client B
>>>>>> |__________________Leg B__________________________________|
>>>>>>
>>>>>>
>>>>>> http://pastebin.com/swBDJnYG
>>>>>>
>>>>>>
>>>>>> 2016-09-13 9:13 GMT+03:00 Yuriy Gorlichenko <ovoshlook at gmail.com>:
>>>>>>
>>>>>>> I will make sip trace little bit later (in 2-3 hours from now).
>>>>>>> And yes.
>>>>>>> For now it is a simple proxy call from one A to B without any
>>>>>>> changes.
>>>>>>> And the SDP all ok. B leg has
>>>>>>> a=video
>>>>>>> and its staff
>>>>>>>
>>>>>>> At the next step i need to generate B leg by myself from freeswitch
>>>>>>> after some handling leg A. So i suppose that settings for now not enought
>>>>>>> for this scenario. am i right?
>>>>>>>
>>>>>>>
>>>>>>> 2016-09-13 8:42 GMT+03:00 Mirko Brankovic <mirkobrankovic at gmail.com>
>>>>>>> :
>>>>>>>
>>>>>>>> I'm expecting to see b side without video capabilities.
>>>>>>>> So do the sofia global sip trace on and see the invite leaving fs
>>>>>>>> box. Check if sdp has both audio and video m flags, and what was in 200ok
>>>>>>>> sdp back from b side.
>>>>>>>>
>>>>>>>> On Sep 12, 2016 20:28, "Dave Horton" <daveh at beachdognet.com> wrote:
>>>>>>>>
>>>>>>>>> Thanks, and a SIP trace showing the call, and the failed
>>>>>>>>> negotiation for video?
>>>>>>>>>
>>>>>>>>> To be clear, is this a simple bridging scenario (you have an
>>>>>>>>> inbound call offering video and you want to bridge it to an outbound B leg
>>>>>>>>> which also offers video)?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Sep 12, 2016, at 10:42 AM, Yuriy Gorlichenko <
>>>>>>>>> ovoshlook at gmail.com> wrote:
>>>>>>>>>
>>>>>>>>> http://pastebin.com/e4AXe3xC
>>>>>>>>>
>>>>>>>>> But i suppose this helped.
>>>>>>>>> Also codecs mached
>>>>>>>>>
>>>>>>>>> Am i will be right if i say that 1.6 supports VP8?
>>>>>>>>> I just asking because not found any mod_vpx or something like
>>>>>>>>> thais at the mod dir.
>>>>>>>>>
>>>>>>>>> 2016-09-12 17:35 GMT+03:00 Dave Horton <daveh at beachdognet.com>:
>>>>>>>>>
>>>>>>>>>> There are a bunch of params that can impact SDP negotiation.  I
>>>>>>>>>> think it would be most helpful if you could pastebin the sip profile
>>>>>>>>>> settings and then an actual trace of a call
>>>>>>>>>>
>>>>>>>>>> On Sep 12, 2016, at 9:37 AM, Yuriy Gorlichenko <
>>>>>>>>>> ovoshlook at gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>> Yep. that in it.
>>>>>>>>>>
>>>>>>>>>> freeswitch/vars.xml
>>>>>>>>>> <X-PRE-PROCESS cmd="set" data="global_codec_prefs=OPUS,
>>>>>>>>>> G722,PCMU,PCMA,VP8"/>
>>>>>>>>>> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=OPU
>>>>>>>>>> S,G722,PCMU,PCMA,VP8"/>
>>>>>>>>>>
>>>>>>>>>> freeswitch/sip_profiles/external.xml
>>>>>>>>>>
>>>>>>>>>> <param name="inbound-codec-prefs" value="$${global_codec_prefs}"
>>>>>>>>>> />
>>>>>>>>>> <param name="outbound-codec-prefs" value="$${outbound_codec_prefs
>>>>>>>>>> }"/>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> I making call as
>>>>>>>>>>
>>>>>>>>>> session:execute("bridge","sofia/external/"..session:getVaria
>>>>>>>>>> ble("destination_number").."@my.sip.pro.xy")
>>>>>>>>>>
>>>>>>>>>> 2016-09-12 16:24 GMT+03:00 Mirko Brankovic <
>>>>>>>>>> mirkobrankovic at gmail.com>:
>>>>>>>>>>
>>>>>>>>>>> make sure you have video codecs enabled in vars.conf for
>>>>>>>>>>> outbound codec list
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Sep 12, 2016 at 2:57 PM, Yuriy Gorlichenko <
>>>>>>>>>>> ovoshlook at gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi. Googled documenttion about it
>>>>>>>>>>>> where i can turn it on?
>>>>>>>>>>>> For now icoming INVITE goes with Video but then FS omakes
>>>>>>>>>>>> outgoing call without Video Paert at the SDP.
>>>>>>>>>>>>
>>>>>>>>>>>> ____________________________________________________________
>>>>>>>>>>>> _____________
>>>>>>>>>>>> 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/free
>>>>>>>>>>>> switch-users
>>>>>>>>>>>> http://www.freeswitch.org
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Regards,
>>>>>>>>>>> Mirko
>>>>>>>>>>>
>>>>>>>>>>> ____________________________________________________________
>>>>>>>>>>> _____________
>>>>>>>>>>> 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/free
>>>>>>>>>>> switch-users
>>>>>>>>>>> http://www.freeswitch.org
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ____________________________________________________________
>>>>>>>>>> _____________
>>>>>>>>>> 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/free
>>>>>>>>>> switch-users
>>>>>>>>>> http://www.freeswitch.org
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ____________________________________________________________
>>>>>>>>>> _____________
>>>>>>>>>> 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/free
>>>>>>>>>> switch-users
>>>>>>>>>> http://www.freeswitch.org
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ____________________________________________________________
>>>>>>>>> _____________
>>>>>>>>> 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/free
>>>>>>>>> switch-users
>>>>>>>>> http://www.freeswitch.org
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ____________________________________________________________
>>>>>>>>> _____________
>>>>>>>>> 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/free
>>>>>>>>> switch-users
>>>>>>>>> http://www.freeswitch.org
>>>>>>>>>
>>>>>>>>
>>>>>>>> ____________________________________________________________
>>>>>>>> _____________
>>>>>>>> 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/free
>>>>>>>> switch-users
>>>>>>>> http://www.freeswitch.org
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> ____________________________________________________________
>>>>>> _____________
>>>>>> 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/free
>>>>>> switch-users
>>>>>> http://www.freeswitch.org
>>>>>>
>>>>>>
>>>>>> ____________________________________________________________
>>>>>> _____________
>>>>>> 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/free
>>>>>> switch-users
>>>>>> http://www.freeswitch.org
>>>>>>
>>>>>
>>>>>
>>>>> ____________________________________________________________
>>>>> _____________
>>>>> 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/free
>>>>> switch-users
>>>>> http://www.freeswitch.org
>>>>>
>>>>
>>>> ____________________________________________________________
>>>> _____________
>>>> 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/free
>>>> switch-users
>>>> http://www.freeswitch.org
>>>>
>>>
>>>
>>> ____________________________________________________________
>>> _____________
>>> 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
>>>
>>
>>
>>
>> --
>> Regards,
>> Mirko
>>
>> _________________________________________________________________________
>> 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
>>
>
>
> _________________________________________________________________________
> 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
>



-- 
Regards,
Mirko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160913/59b4af2a/attachment-0001.html 


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