<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
I have set these params.<br>
It seems that the profile of internal and external are all the
same as before and still no audio in port 5080.<br>
Here are the profiles.<br>
<br>
freeswitch@internal> sofia status profile internal<br>
=================================================================================================<br>
Name internal<br>
Domain Name N/A<br>
Auto-NAT false<br>
DBName sofia_reg_internal<br>
Pres Hosts 10.0.110.33,10.0.110.33<br>
Dialplan XML<br>
Context public<br>
Challenge Realm auto_from<br>
RTP-IP 10.0.110.33<br>
Ext-RTP-IP 59.120.xx.xx<br>
SIP-IP 10.0.110.33<br>
URL <a class="moz-txt-link-freetext" href="sip:mod_sofia@10.0.110.33:5060">sip:mod_sofia@10.0.110.33:5060</a><br>
BIND-URL <a class="moz-txt-link-freetext" href="sip:mod_sofia@10.0.110.33:5060">sip:mod_sofia@10.0.110.33:5060</a><br>
HOLD-MUSIC local_stream://moh<br>
OUTBOUND-PROXY N/A<br>
CODECS IN G729,H264<br>
CODECS OUT G729,H264<br>
TEL-EVENT 101<br>
DTMF-MODE rfc2833<br>
CNG 13<br>
SESSION-TO 0<br>
MAX-DIALOG 0<br>
NOMEDIA false<br>
LATE-NEG true<br>
PROXY-MEDIA false<br>
ZRTP-PASSTHRU true<br>
AGGRESSIVENAT false<br>
STUN-ENABLED true<br>
STUN-AUTO-DISABLE false<br>
CALLS-IN 0<br>
FAILED-CALLS-IN 0<br>
CALLS-OUT 0<br>
FAILED-CALLS-OUT 0<br>
REGISTRATIONS 0<br>
<br>
<br>
freeswitch@internal> sofia status profile external<br>
=================================================================================================<br>
Name external<br>
Domain Name N/A<br>
Auto-NAT false<br>
DBName sofia_reg_external<br>
Pres Hosts<br>
Dialplan XML<br>
Context public<br>
Challenge Realm auto_to<br>
RTP-IP 10.0.110.33<br>
Ext-RTP-IP 59.120.xx.xx<br>
SIP-IP 10.0.110.33<br>
Ext-SIP-IP 59.120.xx.xx<br>
URL <a class="moz-txt-link-freetext" href="sip:mod_sofia@59.120.xx.xx:5080">sip:mod_sofia@59.120.xx.xx:5080</a><br>
BIND-URL
<a class="moz-txt-link-freetext" href="sip:mod_sofia@59.120.xx.xx:5080;maddr=10.0.110.33">sip:mod_sofia@59.120.xx.xx:5080;maddr=10.0.110.33</a><br>
HOLD-MUSIC local_stream://moh<br>
OUTBOUND-PROXY N/A<br>
CODECS IN G729,H264<br>
CODECS OUT G729,H264<br>
TEL-EVENT 101<br>
DTMF-MODE rfc2833<br>
CNG 13<br>
SESSION-TO 0<br>
MAX-DIALOG 0<br>
NOMEDIA false<br>
LATE-NEG true<br>
PROXY-MEDIA false<br>
ZRTP-PASSTHRU true<br>
AGGRESSIVENAT false<br>
STUN-ENABLED true<br>
STUN-AUTO-DISABLE false<br>
CALLS-IN 0<br>
FAILED-CALLS-IN 0<br>
CALLS-OUT 0<br>
FAILED-CALLS-OUT 0<br>
REGISTRATIONS 0<br>
<br>
<br>
Any advice?<br>
<br>
Thanks.<br>
Jimmy<br>
<br>
<br>
於 2013/4/24 下午 07:08, pratham2013 提到:<br>
</div>
<blockquote
cite="mid:CAF0MurQYToNmoJMB+Egibhtg4Q7CyTFY5F+bz8rMiocZPdOVCw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hello Jimmy,<br>
<br>
</div>
Put the bind-server-ip to auto and set your public ip to
ext-rtp-ip and ext-sip-ip in vars.xml file. Hope it will work.</div>
<div class="gmail_extra"><br clear="all">
<div><b>Thanks<br>
=====================<br>
Manish Khilwani<br>
Skype: manish_khilwani<br>
Gmail: <a moz-do-not-send="true"
href="/user/SendEmail.jtp?type=node&node=7590072&i=0"
target="_top" rel="nofollow" link="external">[hidden
email]</a><br>
MSN : <a moz-do-not-send="true"
href="/user/SendEmail.jtp?type=node&node=7590072&i=1"
target="_top" rel="nofollow" link="external">[hidden
email]</a><br>
Phone : 919099923079</b><br>
</div>
<br>
<br>
<div class="gmail_quote">On Wed, Apr 24, 2013 at 4:29 PM, Jimmy
Chang [via freeswitch-users] <span dir="ltr"><<a
moz-do-not-send="true"
href="/user/SendEmail.jtp?type=node&node=7590072&i=2"
target="_top" rel="nofollow" link="external">[hidden
email]</a>></span> wrote:<br>
<blockquote style="border-left:2px solid #CCCCCC;padding:0
1em" class="gmail_quote">
<div class="HOEnZb">
<div class="h5"> 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 moz-do-not-send="true"
href="http://wiki.freeswitch.org/wiki/NAT_Traversal"
rel="nofollow" link="external" target="_blank">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:<a
moz-do-not-send="true"
href="http://stun.freeswitch.org" target="_blank"
rel="nofollow" link="external">stun.freeswitch.org</a>"/><br>
<X-PRE-PROCESS cmd="set" data="external_rtp_ip=stun:<a
moz-do-not-send="true"
href="http://stun.freeswitch.org" target="_blank"
rel="nofollow" link="external">stun.freeswitch.org</a>"/><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>
<br>
</div>
</div>
_________________________________________________________________________
<br>
Professional FreeSWITCH Consulting Services:
<br>
<a moz-do-not-send="true"
href="http://user/SendEmail.jtp?type=node&node=7590069&i=0"
rel="nofollow" link="external" target="_blank">[hidden
email]</a>
<br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com" rel="nofollow"
link="external" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
rel="nofollow" link="external" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites
<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
rel="nofollow" link="external" target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org"
rel="nofollow" link="external" target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
rel="nofollow" link="external" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list
<br>
<a moz-do-not-send="true"
href="http://user/SendEmail.jtp?type=node&node=7590069&i=1"
rel="nofollow" link="external" target="_blank">[hidden
email]</a>
<br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
rel="nofollow" link="external" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
rel="nofollow" link="external" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
rel="nofollow" link="external" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
<hr noshade="noshade" size="1" color="#cccccc">
<div style="color:#444;font:12px
tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this email,
your message will be added to the discussion below:</div>
<a moz-do-not-send="true"
href="http://freeswitch-users.2379917.n2.nabble.com/IP-infomation-in-SDP-tp7590069.html"
target="_blank" rel="nofollow" link="external">http://freeswitch-users.2379917.n2.nabble.com/IP-infomation-in-SDP-tp7590069.html</a>
</div>
<div style="color:#666;font:11px
tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from freeswitch-users, <a
moz-do-not-send="true" href="" target="_blank"
rel="nofollow" link="external">click here</a>.<br>
<a moz-do-not-send="true"
href="http://freeswitch-users.2379917.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml"
rel="nofollow" style="font:9px serif" target="_blank"
link="external">NAML</a> </div>
</blockquote>
</div>
<br>
</div>
<br>
<hr width="300" align="left">
View this message in context: <a moz-do-not-send="true"
href="http://freeswitch-users.2379917.n2.nabble.com/IP-infomation-in-SDP-tp7590069p7590072.html">Re:
IP infomation in SDP</a><br>
Sent from the <a moz-do-not-send="true"
href="http://freeswitch-users.2379917.n2.nabble.com/">freeswitch-users
mailing list archive</a> at Nabble.com.<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>