unable to register sip phones

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

unable to register sip phones

Akib Sayyed

guys i am trying to register xlite to my server but its registering for 1-2 sec then going to offline
on opensips i get this log . i am using opensips1.6.3


> [akib@localhost ~]$ ssh [hidden email]
> [hidden email]'s password:
_msg failed
Aug  3 14:09:13 test.com /usr/local/sbin/opensips[4824]: ERROR:core:parse_via: bad port
Aug  3 14:09:13 test.com /usr/local/sbin/opensips[4824]: ERROR:core:parse_via:  <SIP/2.0/UDP 1.1.1.1:13357:13357;rpo > ntent-Length: 0E, BYE, CANCEL, OPTIONS, INFO1-bash: [hidden email] password:
Last login: Wed Aug  3 12:30:14 2011 from 115.252.189.231
[[hidden email] ~]# ping 192.168.1.1
[[hidden email] ~]# tail -f /var/log/messages
Aug  3 14:07:37 test.com /usr/local/sbin/opensips[4821]: ERROR:core:parse_via: parsed so far:<SIP/2.0/UDP 1.1.1.1:13357>
Aug  3 14:07:37 test.com /usr/local/sbin/opensips[4821]: ERROR:core:get_hdr_field: bad via
Aug  3 14:07:37 test.com /usr/local/sbin/opensips[4821]: ERROR:core:parse_msg: message=<REGISTER sip:2.2.2.2 SIP/2. > ntent-Length: 0E, BYE, CANCEL, OPTIONS, INFO70t;branch=z9hG4bK281496477
Aug  3 14:07:37 test.com /usr/local/sbin/opensips[4821]: ERROR:core:receive_msg: parse_msg failed
Aug  3 14:07:39 test.com /usr/local/sbin/opensips[4824]: ERROR:core:parse_via: bad port
Aug  3 14:07:39 test.com /usr/local/sbin/opensips[4824]: ERROR:core:parse_via:  <SIP/2.0/UDP 1.1.1.1:13357:13357;rpo > ntent-Length: 0E, BYE, CANCEL, OPTIONS, INFO70
Aug  3 14:07:39 test.com /usr/local/sbin/opensips[4824]: ERROR:core:parse_via: parsed so far:<SIP/2.0/UDP 1.1.1.1:13357>
Aug  3 14:07:39 test.com /usr/local/sbin/opensips[4824]: ERROR:core:get_hdr_field: bad via
Aug  3 14:07:39 test.com /usr/local/sbin/opensips[4824]: ERROR:core:parse_msg: message=<REGISTER sip:2.2.2.2 SIP/2. > ntent-Length: 0E, BYE, CANCEL, OPTIONS, INFO70t;branch=z9hG4bK281496477
Aug  3 14:07:39 test.com /usr/local/sbin/opensips[4824]: ERROR:core:receive_msg: parse_msg failed
Aug  3 14:09:11 test.com /usr/local/sbin/opensips[4828]: ERROR:core:parse_via: bad port
Aug  3 14:09:11 test.com /usr/local/sbin/opensips[4828]: ERROR:core:parse_via:  <SIP/2.0/UDP 1.1.1.1:13357:13357;rpo > ntent-Length: 0E, BYE, CANCEL, OPTIONS, INFO1
Aug  3 14:09:11 test.com /usr/local/sbin/opensips[4828]: ERROR:core:parse_via: parsed so far:<SIP/2.0/UDP 1.1.1.1:13357>
Aug  3 14:09:11 test.com /usr/local/sbin/opensips[4828]: ERROR:core:get_hdr_field: bad via
Aug  3 14:09:11 test.com /usr/local/sbin/opensips[4828]: ERROR:core:parse_msg: message=<REGISTER sip:2.2.2.2 SIP/2. > ntent-Length: 0E, BYE, CANCEL, OPTIONS, INFO1rt;branch=z9hG4bK42754674
Aug  3 14:09:11 test.com /usr/local/sbin/opensips[4828]: ERROR:core:receive_msg: parse_msg failed
Aug  3 14:09:12 test.com /usr/local/sbin/opensips[4826]: ERROR:core:parse_via: bad port
Aug  3 14:09:12 test.com /usr/local/sbin/opensips[4826]: ERROR:core:parse_via:  <SIP/2.0/UDP 1.1.1.1:13357:13357;rpo > ntent-Length: 0E, BYE, CANCEL, OPTIONS, INFO1
Aug  3 14:09:12 test.com /usr/local/sbin/opensips[4826]: ERROR:core:parse_via: parsed so far:<SIP/2.0/UDP 1.1.1.1:13357>
Aug  3 14:09:12 test.com /usr/local/sbin/opensips[4826]: ERROR:core:get_hdr_field: bad via
Aug  3 14:09:12 test.com /usr/local/sbin/opensips[4826]: ERROR:core:parse_msg: message=<REGISTER sip:2.2.2.2 SIP/2. > ntent-Length: 0E, BYE, CANCEL, OPTIONS, INFO1rt;branch=z9hG4
Aug  3 14:09:12 test.com /usr/local/sbin/opensips[4826]: ERROR:core:receive_msg: parse_msg failed
Aug  3 14:09:12 test.com /usr/local/sbin/opensips[4821]: ERROR:core:parse_via: bad port
Aug  3 14:09:12 test.com /usr/local/sbin/opensips[4821]: ERROR:core:parse_via:  <SIP/2.0/UDP 1.1.1.1:13357:13357;rpo > ntent-Length: 0E, BYE, CANCEL, OPTIONS, INFO1
Aug  3 14:09:12 test.com /usr/local/sbin/opensips[4821]: ERROR:core:parse_via: parsed so far:<SIP/2.0/UDP 1.1.1.1:13357>
Aug  3 14:09:12 test.com /usr/local/sbin/opensips[4821]: ERROR:core:get_hdr_field: bad via
Aug  3 14:09:12 test.com /usr/local/sbin/opensips[4821]: ERROR:core:parse_msg: message=<REGISTER sip:2.2.2.2 SIP/2. > ntent-Length: 0E, BYE, CANCEL, OPTIONS, INFO1rt;branch=z9hG4bK42754674
Aug  3 14:09:12 test.com /usr/local/sbin/opensips[4821]: ERROR:core:receive_msg: parse_msg failed
Aug  3 14:09:13 test.com /usr/local/sbin/opensips[4824]
Aug  3 14:09:13 test.com /usr/local/sbin/opensips[4824
Aug  3 14:09:13 test.com /usr/local/sbin/opensips[4824]:
Aug  3 14:09:13 test.com /usr/local/sbin/opensips[482
Aug  3 14:09:13 test.com /usr/local/sbin/opensips[4824]: ERROR:core:parse_msg: message=<REGISTER sip:2.2.2.2 SIP/2. > ntent-Length: 0E, BYE, CANCEL, OPTIONS, INFO1rt;branch=z9hG4bK42754674
Aug  3 14:09:13 test.com /usr/local/sbin/opensips[4824]: ERROR:core:receive_msg: parse_msg failed
Aug  3 14:09:15 test.com /usr/local/sbin/opensips[4828]: ERROR:core:parse_via: bad port
Aug  3 14:09:15 test.com /usr/local/sbin/opensips[4828]: ERROR:core:parse_via:  <SIP/2.0/UDP 1.1.1.1:13357:13357;rpo > ntent-Length: 0E, BYE, CANCEL, OPTIONS, INFO1
Aug  3 14:09:15 test.com /usr/local/sbin/opensips[4828]: ERROR:core:parse_via: parsed so far:<SIP/2.0/UDP 1.1.1.1:13357>
Aug  3 14:09:15 test.com /usr/local/sbin/opensips[4828]: ERROR:core:get_hdr_field: bad via
Aug  3 14:09:15 test.com /usr/local/sbin/opensips[4828]: ERROR:core:parse_msg: message=<REGISTER sip:2.2.2.2 SIP/2. > ntent-Length: 0E, BYE, CANCEL, OPTIONS, INFO1rt;branch=z9hG4bK42754674
Aug  3 14:09:15 test.com /usr/local/sbin/opensips[4828]: ERROR:core:receive_msg: parse_msg failedms



--
Akib Sayyed
Matrix-Shell
[hidden email]
[hidden email]
Mob:- +91-966-514-2243



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: unable to register sip phones

Max Mühlbronner
Hi,

could you post a trace, ngrep/wireshark? But the logs already show,
there is something wrong with the SIP Headers (bad via). It looks like
there are some characters missing. e.g. "ntent" should be "Content" ?


Best Regards

Max M.

Am 03.08.2011 16:27, schrieb Akib Sayyed:
> ERROR:core:parse_msg: message=<REGISTER sip:2.2.2.2 SIP/2. >
> ntent-Length: 0E, BYE, CANCEL, OPTIONS, INFO70t;branch=z9hG4bK281496477


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: unable to register sip phones

Akib Sayyed
ok how should i do that i have only basic access to myserver

On Wed, Aug 3, 2011 at 8:18 PM, Max Mühlbronner <[hidden email]> wrote:
Hi,

could you post a trace, ngrep/wireshark? But the logs already show, there is something wrong with the SIP Headers (bad via). It looks like there are some characters missing. e.g. "ntent" should be "Content" ?


Best Regards

Max M.

Am 03.08.2011 16:27, schrieb Akib Sayyed:

ERROR:core:parse_msg: message=<REGISTER sip:2.2.2.2 SIP/2. > ntent-Length: 0E, BYE, CANCEL, OPTIONS, INFO70t;branch=z9hG4bK281496477


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



--
Akib Sayyed
Matrix-Shell
[hidden email]
[hidden email]
Mob:- +91-966-514-2243



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: unable to register sip phones

Akib Sayyed
i asked support team of hosting
they said that we are not doing any traffic manipulating  or else
can anyone resolve this


On Wed, Aug 3, 2011 at 8:33 PM, Akib Sayyed <[hidden email]> wrote:
ok how should i do that i have only basic access to myserver


On Wed, Aug 3, 2011 at 8:18 PM, Max Mühlbronner <[hidden email]> wrote:
Hi,

could you post a trace, ngrep/wireshark? But the logs already show, there is something wrong with the SIP Headers (bad via). It looks like there are some characters missing. e.g. "ntent" should be "Content" ?


Best Regards

Max M.

Am 03.08.2011 16:27, schrieb Akib Sayyed:

ERROR:core:parse_msg: message=<REGISTER sip:2.2.2.2 SIP/2. > ntent-Length: 0E, BYE, CANCEL, OPTIONS, INFO70t;branch=z9hG4bK281496477


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



--
Akib Sayyed
Matrix-Shell
[hidden email]
[hidden email]
Mob:- <a href="tel:%2B91-966-514-2243" value="+919665142243" target="_blank">+91-966-514-2243





--
Akib Sayyed
Matrix-Shell
[hidden email]
[hidden email]
Mob:- +91-966-514-2243



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users