<div dir="ltr">I am using rtpproxy with OpenSIPS, I can register to the server but I get the following error when making a call:<div><br></div><div><div><div>ERROR:core:parse_via: bad port</div><div>ERROR:core:parse_via:  &lt;SIP/2.0/TCP 10.31.188.230:38703:-1;rport;branch=z9hG4bK66793#015#012Max-Forwards: 70#015#012To: &lt;<a href="mailto:sip%3A%2B447984977774@server0.domain.com">sip:+447984977774@server0.domain.com</a>;transport=tcp&gt;#015#012From: &lt;<a href="mailto:sip%3A%2B447479189410@server0.domain.com">sip:+447479189410@server0.domain.com</a>&gt;;tag=z9hG4bK07391365#015#012Call-ID: <a href="http://638873549209@10.31.188.230#015#012CSeq">638873549209@10.31.188.230#015#012CSeq</a>: 1 CANCEL#015#012Contact: &lt;sip:+447479189410@10.31.188.230:38703;transport=tcp&gt;#015#012Expires: 3600#015#012User-Agent: Name/1.3.4/MP-S168#015#012Content-Length: 0#015#012#015#012&gt;</div></div><div>ERROR:core:parse_via: parsed so far:&lt;SIP/2.0/TCP <a href="http://10.31.188.230:38703">10.31.188.230:38703</a>&gt;</div><div>ERROR:core:get_hdr_field: bad via</div><div>DBG:core:set_err_info: ec: 1, el: 3, ei: &#39;error parsing Via&#39;</div><div>DBG:core:get_hdr_field: error exit</div></div><div><br></div><div>The config I&#39;m using:</div><div><br></div><div><div>modparam(&quot;registrar&quot;,&quot;received_avp&quot;, &quot;$avp(42)&quot;)</div><div>modparam(&quot;usrloc&quot;,&quot;nat_bflag&quot;,6)</div><div>modparam(&quot;nathelper&quot;, &quot;ping_nated_only&quot;, 1)</div><div>modparam(&quot;nathelper&quot;, &quot;natping_tcp&quot;, 1)</div><div>modparam(&quot;nathelper&quot;, &quot;sipping_bflag&quot;, 7)</div><div>modparam(&quot;nathelper&quot;, &quot;natping_interval&quot;, 5)</div><div>modparam(&quot;nathelper&quot;, &quot;sipping_from&quot;, &quot;sip:pinger at PUBLIC-IP:5060&quot;)</div><div>modparam(&quot;nathelper&quot;, &quot;received_avp&quot;, &quot;$avp(i:801)&quot;)</div><div>modparam(&quot;nathelper&quot;, &quot;nortpproxy_str&quot;, &quot;&quot;)</div><div>modparam(&quot;rtpproxy&quot;, &quot;rtpproxy_sock&quot;, &quot;udp:PUBLIC-IP:7890&quot;)</div><div>modparam(&quot;nat_traversal&quot;, &quot;keepalive_state_file&quot;, &quot;/etc/keepalive_state&quot;)</div><div>modparam(&quot;nat_traversal&quot;, &quot;keepalive_interval&quot;, 5)</div></div><div><br></div><div><br></div><div>How do I fix this?</div><div><br></div></div>