[Freeswitch-users] WebRTC using WSS binding on Sofia

Anthony Minessale anthony.minessale at gmail.com
Tue Sep 20 23:11:18 MSD 2016


Its not much of a log snippet so its hard to tell but in your sofia profile
you can add some more candidate-acl like so:

      <param name="apply-candidate-acl" value="wan_v4.auto"/>

      <param name="apply-candidate-acl" value="localnet.auto"/>

      <param name="apply-candidate-acl" value="rfc1918.auto"/>

      <param name="apply-candidate-acl" value="any_v4.auto"/>

On Tue, Sep 20, 2016 at 12:09 PM, Donny Hardyanto <hardyanto.donny at gmail.com
> wrote:

> Using Chrome still no sound and video. I am using
>
> FreeSWITCH Version 1.6.10+git~20160824T215404Z~726448d962~64bit (git
> 726448d 2016-08-24 21:54:04Z 64bit)
>
> Using verto is not working either.
>
> Donny
>
> On Tue, Sep 20, 2016 at 11:49 PM, Brian West <brian at freeswitch.org> wrote:
>
>> If you're using firefox please try Nightly and also try with Chrome.
>> Also make sure you're running 1.6.10.
>>
>> /b
>>
>>
>> On Tue, Sep 20, 2016 at 11:23 AM, Donny Hardyanto <
>> hardyanto.donny at gmail.com> wrote:
>>
>>> Hi Everyone,
>>>
>>> I just bought the Freeswitch 1.6 Cookbook and trying WebRTC for first
>>> time. I tried example using WSS binding on Sofia, and while the call can be
>>> connected, but the video/audio is not exchanged. I use Mozilla firefox for
>>> browser and using FS behind NAT. The log on firefox show: ICE failed, see
>>> about:webrtc for more details. I look at the log at about:webrtc and find
>>> the SDP from FS:
>>>
>>> a=candidate:7177910904 1 udp 659136 43.xx.xx.xx 16422 typ host
>>> generation 0
>>>
>>> It only show the public IP (that I hard code on internal.xml on
>>> ext-rtp-ip and ext-rtp-sip), but I think it is missing FS local IP as raddr
>>> part (in internal.xml rtp-ip is 10.xx.xx.xx)
>>>
>>> and on FS log I find this:
>>>
>>> 2016-09-20 22:57:55.098364 [INFO] switch_ivr_originate.c:1215 Sending
>>> early media
>>>
>>> 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO
>>> candidate ACL defined, Defaulting to wan.auto
>>>
>>> WTF TOT 5
>>>
>>> WTF TOT 5
>>>
>>> WTF TOT 5
>>>
>>> 2016-09-20 22:57:55.098364 [WARNING] switch_core_media.c:3391 NO
>>> candidate ACL defined, Defaulting to wan.auto
>>>
>>> 2016-09-20 22:57:55.698365 [INFO] switch_core_media.c:6609 Activating
>>> Audio ICE
>>>
>>> and also when first startup the FS, I found:
>>>
>>> 2016-09-20 22:53:01.446345 [NOTICE] switch_loadable_module.c:556 Adding
>>> Limit interface 'db'
>>>
>>> 2016-09-20 22:53:01.664127 [INFO] switch_core_sqldb.c:1693
>>> sofia:external Starting SQL thread.
>>>
>>> 2016-09-20 22:53:01.664216 [ERR] sofia.c:3539 Ignoring invalid name ''
>>>
>>> 2016-09-20 22:53:01.945344 [CONSOLE] switch_loadable_module.c:1538
>>> Successfully Loaded [mod_dptools]
>>>
>>> Otherwise setting the ext-rtp-ip/ext-sip-ip/rtp-ip/sip-ip my
>>> intenal.xml config is vanilla.
>>>
>>> Can anyone help?
>>>
>>> Thanks,
>>>
>>>
>>> Regard
>>>
>>> Donny
>>>
>>>
>>> ____________________________________________________________
>>> _____________
>>> 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
>>>
>>
>>
>>
>> --
>>
>> *Brian West*
>> brian at freeswitch.org
>>
>>
>> *Twitter: @FreeSWITCH , @briankwest*
>> http://www.freeswitchbook.com (50% Discount using code FreeSwitch50)
>> http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50)
>> https://www.gofundme.com/freeswitch_ubuntu
>>
>> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
>> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>>
>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>
>> _________________________________________________________________________
>> 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
>



-- 
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/http://cluecon.com/http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
<http://freeswitch.org/g+>*

ClueCon Weekly Development Call
☎ sip:888 at conference.freeswitch.org  ☎ +19193869900

https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160920/fc068c4a/attachment.html 


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