[Freeswitch-users] Web RTC -> No Candidate found

Alexander Haugg Alexander.Haugg at c4b.de
Thu Feb 18 11:29:38 MSK 2016


Hi,

I have the problem, that the freeswitch don't accept the network internal candidate.

The local IP address of the fs is 192.168.241.5
The local IP address of the webrtc Client is 192.168.241.2

In the acl.conf.xml is set:
<list name="localnet.auto" default="allow">
                <node type="allow" cidr="192.168.241.0/24"/>
</list>

In the sofia profile is set:
<param name="local-network-acl" value="localnet.auto"/>
<param name="apply-inbound-acl" value="localnet.auto"/>

The following SDP is send by the client:
v=0
o=- 222075295642546336 815544600 IN IP4 127.0.0.1
s=IceLink
t=0 0
m=audio 30450 RTP/SAVPF 0 8
c=IN IP4 192.168.62.1
a=rtcp:30450 IN IP4 192.168.62.1
a=ice-ufrag:532479e3
a=ice-pwd:4b066f2e64633d218085fc39c49a443c
a=sendrecv
a=rtcp-mux
a=fingerprint:sha-256 FD:DE:DB:44:C8:66:10:B0:DF:3A:D5:17:4D:89:0E:1A:39:0C:99:D3:AE:BE:1F:F2:D7:78:2E:8E:A6:6B:F1:36
a=setup:actpass
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=ssrc:967296980 cname:c2088983
a=candidate:954dc3ed263236386e8615555070c83dg 1 udp 2130706331 192.168.241.2 44376 typ host
a=candidate:954dc3ed263236386e8615555070c83dg 2 udp 2130706331 192.168.241.2 44376 typ host

The output on the fs_cli:
2016-02-18 07:36:33.568868 [DEBUG] switch_channel.c:3759 (sofia/H3KSip/170) Callstate Change RINGING -> ACTIVE
2016-02-18 07:36:33.588870 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2016-02-18 07:36:33.588870 [DEBUG] switch_core_media.c:4208 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2016-02-18 07:36:33.588870 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2016-02-18 07:36:33.588870 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2016-02-18 07:36:33.588870 [DEBUG] switch_core_media.c:4153 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2016-02-18 07:36:33.588870 [DEBUG] switch_core_media.c:4208 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2016-02-18 07:36:33.588870 [DEBUG] switch_core_media.c:2898 Set Codec sofia/H3KSip_B2Bua/170 at 192.168.241.2:5058 PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2016-02-18 07:36:33.588870 [DEBUG] switch_core_codec.c:111 sofia/H3KSip_B2Bua/170 at 192.168.241.2:5058 Original read codec set to PCMU:0
2016-02-18 07:36:33.588870 [WARNING] switch_core_media.c:3266 NO candidate ACL defined, Defaulting to wan.auto
2016-02-18 07:36:33.588870 [DEBUG] switch_core_media.c:3296 Save audio Candidate cid: 1 proto: udp type: host addr: 192.168.241.2:44376
2016-02-18 07:36:33.588870 [DEBUG] switch_core_media.c:3296 Save audio Candidate cid: 2 proto: udp type: host addr: 192.168.241.2:443760
2016-02-18 07:36:33.588870 [DEBUG] switch_core_media.c:3336 Searching for rtp candidate.
2016-02-18 07:36:33.588870 [DEBUG] switch_core_media.c:3336 Searching for rtcp candidate.
2016-02-18 07:36:33.588870 [DEBUG] switch_core_media.c:3380 sofia/H3KSip_B2Bua/170 at 192.168.241.2:5058 no suitable candidates found.
2016-02-18 07:36:33.588870 [DEBUG] switch_core_media.c:4480 No 2833 in SDP.  Disable 2833 dtmf and switch to INFO
2016-02-18 07:36:33.588870 [NOTICE] switch_channel.c:3798 Hangup sofia/H3KSip_B2Bua/170 at 192.168.241.2:5058 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION

Thanks a lot!

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


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