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

2015-07-28 Thread Nabeel
I just found that this error only occurs on mobile network connections, not
on Wi-Fi.  So something in the mobile network IP may be malforming the via
header?

ERROR:core:parse_via: bad port
ERROR:core:parse_via:  SIP/2.0/TCP
10.31.188.230:37030:-1;rport;branch=z9hG4bK62163#015#012Max-Forwards:
70#015#012To: sip:+447984977...@server0.domain.com;transport=tcp#015#012From:
sip:+447479189...@server0.domain.com;tag=z9hG4bK88229229#015#012Call-ID:
598445986695@10.31.188.230#015#012CSeq: 1 CANCEL#015#012Contact:
sip:+447479189410@10.31.188.230:37030;transport=tcp#015#012Expires:
3600#015#012User-Agent: Glowcall/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:37030
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
INFO:core:parse_headers: bad header field
ERROR:core:parse_msg: message=CANCEL
sip:+447984977...@server0.domain.com;transport=tcp
SIP/2.0#015#012Via: SIP/2.0/TCP
10.31.188.230:37030:-1;rport;branch=z9hG4bK62163#015#012Max-Forwards:
70#015#012To: sip:+447984977...@server0.domain.com;transport=tcp#015#012From:
sip:+447479189...@server0.domain.com;tag=z9hG4bK88229229#015#012Call-ID:
598445986695@10.31.188.230#015#012CSeq: 1 CANCEL#015#012Contact:
sip:+447479189410@10.31.188.230:37030;transport=tcp#015#012Expires:
3600#015#012User-Agent: Glowcall/1.3.4/MP-S168#015#012Content-Length:
0#015#012#015#012
ERROR:core:receive_msg: Unable to parse msg received from [
188.29.165.19:55041]
ERROR:core:tcp_handle_req: receive_msg failed
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2015-07-28 Thread Nabeel
I just found that this error only occurs on mobile network connections, not
on Wi-Fi.  So something in the mobile network IP


On 27 July 2015 at 18:42, Nabeel nabeelshik...@gmail.com wrote:

 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:+447984977...@server0.domain.com;transport=tcp#015#012From:
 sip:+447479189...@server0.domain.com;tag=z9hG4bK07391365#015#012Call-ID:
 638873549209@10.31.188.230#015#012CSeq
 http://638873549209@10.31.188.230#015%23012CSeq: 1
 CANCEL#015#012Contact: 
 sip:+447479189410@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?


___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


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

2015-07-27 Thread Nabeel
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:+447984977...@server0.domain.com;transport=tcp#015#012From:
sip:+447479189...@server0.domain.com;tag=z9hG4bK07391365#015#012Call-ID:
638873549209@10.31.188.230#015#012CSeq: 1 CANCEL#015#012Contact:
sip:+447479189410@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?
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users