Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
Alexander.Haugg at c4b.de
Guest





PostPosted: Thu Feb 18, 2016 3:31 am    Post subject: [Freeswitch-users] Web RTC -> No Candidate found Reply with quote

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@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@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@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@192.168.241.2:5058 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION

Thanks a lot!
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Feb 18, 2016 9:33 am    Post subject: [Freeswitch-users] Web RTC -> No Candidate found Reply with quote

Try 
apply-candidate-acl

On Thu, Feb 18, 2016 at 2:29 AM, Alexander Haugg <Alexander.Haugg@c4b.de (Alexander.Haugg@c4b.de)> wrote:
Quote:

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@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@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@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@192.168.241.2:5058 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION
 
Thanks a lot!
 


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.org (brian@freeswitch.org)


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
Back to top
Alexander.Haugg at c4b.de
Guest





PostPosted: Thu Feb 25, 2016 2:00 am    Post subject: [Freeswitch-users] Web RTC -> No Candidate found Reply with quote

This works, thanks

Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Brian West
Gesendet: Donnerstag, 18. Februar 2016 15:31
An: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Betreff: Re: [Freeswitch-users] Web RTC -> No Candidate found

Try
apply-candidate-acl


On Thu, Feb 18, 2016 at 2:29 AM, Alexander Haugg <Alexander.Haugg@c4b.de (Alexander.Haugg@c4b.de)> wrote:
Quote:

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@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@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@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@192.168.241.2:5058 [CS_EXECUTE] [INCOMPATIBLE_DESTINATION

Thanks a lot!




_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (consulting@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@lists.freeswitch.org (FreeSWITCH-users@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@freeswitch.org (brian@freeswitch.org)

Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services