[OpenSIPS-Users] ERROR:core:parse_via: bad port

Nabeel nabeelshikder at gmail.com
Mon Jul 27 19:42:36 CEST 2015


I am using rtpproxy with OpenSIPS, I can register to the server but I get
the following error when making a call:

ERROR:core:parse_via: bad port
ERROR:core:parse_via:  <SIP/2.0/TCP
10.31.188.230:38703:-1;rport;branch=z9hG4bK66793#015#012Max-Forwards:
70#015#012To: <sip:+447984977774 at server0.domain.com;transport=tcp>#015#012From:
<sip:+447479189410 at server0.domain.com>;tag=z9hG4bK07391365#015#012Call-ID:
638873549209 at 10.31.188.230#015#012CSeq: 1 CANCEL#015#012Contact:
<sip:+447479189410 at 10.31.188.230:38703;transport=tcp>#015#012Expires:
3600#015#012User-Agent: Name/1.3.4/MP-S168#015#012Content-Length:
0#015#012#015#012>
ERROR:core:parse_via: parsed so far:<SIP/2.0/TCP 10.31.188.230:38703>
ERROR:core:get_hdr_field: bad via
DBG:core:set_err_info: ec: 1, el: 3, ei: 'error parsing Via'
DBG:core:get_hdr_field: error exit

The config I'm using:

modparam("registrar","received_avp", "$avp(42)")
modparam("usrloc","nat_bflag",6)
modparam("nathelper", "ping_nated_only", 1)
modparam("nathelper", "natping_tcp", 1)
modparam("nathelper", "sipping_bflag", 7)
modparam("nathelper", "natping_interval", 5)
modparam("nathelper", "sipping_from", "sip:pinger at PUBLIC-IP:5060")
modparam("nathelper", "received_avp", "$avp(i:801)")
modparam("nathelper", "nortpproxy_str", "")
modparam("rtpproxy", "rtpproxy_sock", "udp:PUBLIC-IP:7890")
modparam("nat_traversal", "keepalive_state_file", "/etc/keepalive_state")
modparam("nat_traversal", "keepalive_interval", 5)


How do I fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150727/9d8a076a/attachment.htm>


More information about the Users mailing list