VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jsun at junsun.net Guest
|
Posted: Sun Mar 13, 2016 10:43 pm Post subject: [Freeswitch-users] FS behind NAT |
|
|
Is this issue resolved? I seem to hit the same issue right now.
Here is what I did
- a fresh FS 1.6 build from master git branch on debian8/jessie, (followingthis instruction, "compile latest master")
- since the machine is on AWS (NAT'ed), I loosely followed this instruction. FS works fine with audio on two X-lite clients.
- followed a couple of verto/video related links to get verto communicator working (sort of) but without audio/video, the same issue reported here.
I did follow Giovanni's suggestion on setting <param name="ext-rtp-ip" value="$${external_rtp_ip}"/> in verto.conf.xml. That fixed RTP address in caller side. However, SDP received on callee side is still using private address. See below.
Remote SDP on callee side
Quote: | type: offer, sdp: v=0
o=FreeSWITCH 1457907139 1457907140 IN IP4 172.30.0.223
s=FreeSWITCH
c=IN IP4 172.30.0.223
t=0 0
a=msid-semantic: WMS QTxWvKXI4optn9Z4do0kb1cAyOQE1rCI
m=audio 18480 RTP/SAVPF 111 9 0 8
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10; useinbandfec=1; stereo=1; sprop-stereo=1
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=fingerprint:sha-256 B0:6B:27:66:D3:1E:F9:CD:C7:F2:D8:A5:6A:58:6F:8E:93:6F:84:2B:6F:B2:D0:70:BC:65:3A:5E:52:2A:E9:E8
a=setup:actpass
a=rtcp-mux
a=rtcp:18480 IN IP4 172.30.0.223
a=ssrc:988985139 cname:aZvwzi4uwkNKkC |
By contrast, below is the remote SDP on caller side.
Quote: | type: answer, sdp: v=0
o=FreeSWITCH 1457901489 1457901490 IN IP4 52.53.227.122
s=FreeSWITCH
c=IN IP4 52.53.227.122
t=0 0
a=msid-semantic: WMS qejP8dntVtvBWvqJkQ59aKDPVpHbyKvO
m=audio 25168 UDP/TLS/RTP/SAVPF 111 126
a=rtpmap:111 opus/48000/2
a=fmtp:111 useinbandfec=1; minptime=10; stereo=1; sprop-stereo=1
a=rtpmap:126 telephone-event/8000
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
a=fingerprint:sha-256 B0:6B:27:66:D3:1E:F9:CD:C7:F2:D8:A5:6A:58:6F:8E:93:6F:84:2B:6F:B2:D0:70:BC:65:3A:5E:52:2A:E9:E8
a=setup:active
a=rtcp-mux
a=rtcp:25168 IN IP4 52.53.227.122 |
To prove the setup is right, I added "bypass_media= true" to the default dialplan. And now I can see audio/video with verto communicator. That seems to indicate something is wrong with verto/FS.
Any thoughts? Why verto does give right rtcp address to callee? Many thanks.
Jun
On Fri, Oct 9, 2015 at 12:39 PM, Giovanni Maruzzelli <gmaruzz@gmail.com (gmaruzz@gmail.com)> wrote:
|
|
Back to top |
|
|
|
|
|
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
|