<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
In the default configuration, the internal profile listen port 5060
and external profile listen port 5080.<br>
And follow the setting in
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org/wiki/NAT_Traversal">http://wiki.freeswitch.org/wiki/NAT_Traversal</a><br>
vars.xml<br>
<X-PRE-PROCESS cmd="set" data="bind_server_ip=59.120.xx.xx"/><br>
<X-PRE-PROCESS cmd="set"
data="external_sip_ip=stun:stun.freeswitch.org"/><br>
<X-PRE-PROCESS cmd="set"
data="external_rtp_ip=stun:stun.freeswitch.org"/><br>
<br>
internal.xml<br>
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/><br>
<br>
external.xml<br>
<param name="ext-sip-ip" value="$${external_sip_ip}"/><br>
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/><br>
<br>
<br>
When user make a SIP call from public network using external
profile(5080), he encountered no audio.<br>
Here is the SDP of 200 OK from FS to user.<br>
<i>v=0</i><i><br>
</i><i>o=FreeSWITCH 1366781127 1366781128 IN IP4 10.0.110.33</i><i><br>
</i><i>s=FreeSWITCH</i><i><br>
</i><i>c=IN IP4 10.0.110.33</i><i><br>
</i><i>t=0 0</i><i><br>
</i><i>m=audio 10568 RTP/AVP 18 101</i><i><br>
</i><i>a=rtpmap:18 G729/8000</i><i><br>
</i><i>a=fmtp:18 annexb=no</i><i><br>
</i><i>a=rtpmap:101 telephone-event/8000</i><i><br>
</i><i>a=fmtp:101 0-16</i><i><br>
</i><i>a=silenceSupp:off - - - -</i><i><br>
</i><i>a=ptime:20</i><i><br>
</i><i>m=video 10530 RTP/AVP 116</i><i><br>
</i><i>a=rtpmap:116 H264/90000</i><i><br>
</i><i>a=fmtp:116 profile-level-id=428014</i><br>
<br>
<br>
When user make a SIP call from public network using internal
profile(5060), everything OK.<br>
Here is the SDP of 200 OK from FS to user.<br>
<i>v=0</i><i><br>
</i><i>o=FreeSWITCH 1366780920 1366780921 IN IP4 </i><i>59.120.xx.xx</i><i><br>
</i><i>s=FreeSWITCH</i><i><br>
</i><i>c=IN IP4 </i><i>59.120.xx.xx</i><i><br>
</i><i>t=0 0</i><i><br>
</i><i>m=audio 10892 RTP/AVP 18 101</i><i><br>
</i><i>a=rtpmap:18 G729/8000</i><i><br>
</i><i>a=fmtp:18 annexb=no</i><i><br>
</i><i>a=rtpmap:101 telephone-event/8000</i><i><br>
</i><i>a=fmtp:101 0-16</i><i><br>
</i><i>a=silenceSupp:off - - - -</i><i><br>
</i><i>a=ptime:20</i><i><br>
</i><i>m=video 10178 RTP/AVP 116</i><i><br>
</i><i>a=rtpmap:116 H264/90000</i><i><br>
</i><i>a=fmtp:116 profile-level-id=428014</i><i><br>
</i><br>
<br>
I can't figure out which parameters in sofia profile or in dialplan
make port 5060 set the public IP in SDP and work fine.<br>
Any advice?<br>
<br>
Thanks in advance.<br>
Jimmy<br>
<br>
</body>
</html>