Good day all.<br><br>I'm experiencing the following sinptom when using some softphones behind nat on a private LAN, sometimes the same happen with hardphones.<br><br>Here's the scenario:<br><br> FS : <public IP> _______ <public IP>LAN ROUTER <private LAN> --- softphone<br>
<br>Basically when softphone makes an INVITE to FS it always sends the private IP on the SDP and when the media flow starts it's being sent out by FS to the public lan address resulting on a audioless call. However if the phone sends the public IP on the SDP there's no issue at all.<br>
I know there's a variable available <font size="1">disable_rtp_auto_adjust</font> that shoud make freeswitch ignore the SDP IP and use the INVITE IP instead, but it isn't working for me.<br><br>Here's what i currently have on my internal SIP profile:<br>
<br> <profile name="internal"><br> <aliases><br> </aliases><br> <gateways><br> </gateways><br>
<domains><br> <domain name="all" alias="true" parse="false"/><br> </domains><br> <settings><br>
<param name="debug" value="0"/><br> <param name="sip-trace" value="no"/><br> <param name="sip-capture" value="no"/><br>
<param name="watchdog-enabled" value="no"/><br> <param name="watchdog-step-timeout" value="30000"/><br> <param name="watchdog-event-timeout" value="30000"/><br>
<param name="log-auth-failures" value="true"/><br> <param name="forward-unsolicited-mwi-notify" value="false"/><br>
<param name="context" value="public"/><br> <param name="rfc2833-pt" value="101"/><br> <param name="sip-port" value="5060"/><br>
<param name="dialplan" value="XML"/><br> <param name="dtmf-duration" value="2000"/><br> <param name="inbound-codec-prefs" value="H264,G722,PCMA,GSM"/><br>
<param name="outbound-codec-prefs" value="H264,G722,PCMA,GSM"/><br> <param name="rtp-timer-name" value="soft"/><br>
<param name="rtp-ip" value="<PUBLIC_IP>"/><br> <param name="sip-ip" value="<PUBLIC_IP>"/><br> <param name="hold-music" value="local_stream://moh"/><br>
<param name="apply-inbound-acl" value="domains"/><br> <param name="apply-nat-acl" value="rfc1918"/><br> <param name="local-network-acl" value="localnet.auto"/><br>
<param name="record-path" value="/opt/freeswitch/recordings"/><br> <param name="record-template" value="${caller_id_number}.${target_domain}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/><br>
<param name="manage-presence" value="true"/><br> <param name="presence-privacy" value=""/><br> <param name="inbound-codec-negotiation" value="generous"/><br>
<param name="tls" value="true"/><br> <param name="tls-only" value="false"/><br> <param name="tls-bind-params" value="transport=tls"/><br>
<param name="tls-sip-port" value="5061"/><br> <param name="tls-cert-dir" value="/opt/freeswitch/conf/ssl"/><br>
<param name="tls-passphrase" value=""/><br> <param name="tls-verify-date" value="true"/><br> <param name="tls-verify-policy" value="none"/><br>
<param name="tls-verify-depth" value="2"/><br> <param name="tls-verify-in-subjects" value=""/><br> <param name="tls-version" value="sslv23"/><br>
<param name="odbc-dsn" value="freeswitch:user:password"/><br> <param name="nonce-ttl" value="60"/><br> <param name="auth-calls" value="true"/><br>
<param name="inbound-reg-force-matching-username" value="true"/><br> <param name="auth-all-packets" value="false"/><br>
<param name="rtp-timeout-sec" value="300"/><br> <param name="rtp-hold-timeout-sec" value="1800"/><br> <param name="challenge-realm" value="auto_from"/><br>
<param name="ext-rtp-ip" value="<PUBLIC_IP>"/><br> <param name="ext-sip-ip" value="<PUBLIC_IP>"/><br>
<param name="presence-hosts" value="_DISABLED_"/><br> <param name="NDLB-received-in-nat-reg-contact" value="true"/><br>
<param name="NDLB-broken-auth-hash" value="true"/><br> <param name="dbname" value="share_presence"/><br> <param name="send-presence-on-register" value="true"/><br>
<param name="manage-shared-appearance" value="true"/><br> <param name="registration-thread-frequency" value="30"/><br>
<param name="enable-timer" value="false"/><br> <param name="aggressive-nat-detection" value="true"/><br> <param name="send-message-query-on-register" value="true"/><br>
<param name="all-reg-options-ping" value="true"/><br> <param name="sip-force-expires" value="3600"/><br> <param name="sip-expires-max-deviation" value="300"/><br>
<param name="multiple-registrations" value="contact"/><br> </settings><br> </profile><br><br>Any suggestions on how to make FS use the INVITE IP for RTP instead of using the IP on the SDP?<br>
<br>Looking forward to hear from you.<br><br>Best Regards,<br><b><span style="font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#1f497d"><br><br>Nuno Miguel Reis</span></b><span style="font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#133770"> | <b>Unified Communication</b></span><b><span style="font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#1f497d"> Systems</span></b><br>
<div><p><span style="font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#133770">
M. <a value="+351918919465">+351 913907481</a> | <a href="mailto:nreis@wavecom.pt" target="_blank"><span style="color:blue">nreis@wavecom.pt</span></a></span><span style="font-size:8.0pt;font-family:"Trebuchet MS","sans-serif""></span><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#1f497d"></span><span style="font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#133770"><br>
</span></p><span style="font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#133770">WAVECOM-Soluções Rádio, S.A.</span><span style="font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#133770"><br>
Cacia Park | Rua do Progresso, Lote 15</span><span style="font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";color:#133770"><br>3800-639 AVEIRO | Portugal</span><span style="font-size:8pt;font-family:"Trebuchet MS","sans-serif";color:rgb(19,55,112)"><br>
T. <a value="+351234919190">+351 309 700 225</a> | F. <a value="+351234919191">+351 234 919 191</a></span><span style="font-size:8pt;font-family:"Trebuchet MS","sans-serif";color:rgb(19,55,112)"><br></span><b><span style="font-size:9.0pt;font-family:"Trebuchet MS","sans-serif";color:#1f497d"><a href="http://maps.google.com/maps/ms?msa=0&msid=202333747613191340808.0004b4b227a6144f0df88" target="_blank"><span style="color:#1f497d">GPS</span></a> | <a href="http://www.wavecom.pt/" target="_blank"><span style="color:#1f497d">www.wavecom.pt</span></a></span></b><b><a href="http://www.wavecom.pt/" target="_blank"><span style="color:#1f497d"></span></a></b><p>
<span style="border-collapse:collapse"></span></p><p><a href="http://www.wavecom.pt/pt/wavecom/premios.php" style="color:rgb(17,85,204)" target="_blank"><span style="text-decoration:none"><img src="cid:image001.png@01CD4A22.D45EAB90" alt="Description: Description: WavecomSignature" width="400" height="100" border="0"></span></a><span style="color:rgb(31,73,125)"></span></p>
<p><a href="http://www.wavecom.pt/pt/mail_eventos.php" style="color:rgb(17,85,204);font-size:medium;font-family:'Times New Roman'" target="_blank"><img alt="Publicity" src="http://www.wavecom.pt/email_signature/pub.png" width="389" height="71" border="0"></a>
</p><p></p><p><span><br></span></p></div>