Re: Error when processing reply from server with userless account

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/07/2017 04:52 PM, Bogdan Cristea wrote:
Hi

I am getting the error below when I try to register an userless account:

PJSIP 17:46:52.170 sip_transport.  Error
  processing 462 bytes packet from UDP 162.222.188.60:5060 : PJSIP syntax error exception when parsing '' header on line 3 col 25:#012S
  IP/2.0 401 Unauthorized#015#012Via: SIP/2.0/UDP 192.168.2.100:47444;branch=z9hG4bKPj1p1KMWiYYk.AFEQ1odJYFqsomGu7j0qD;rport=47444#015#0
  12To: <sip:162.222.188.60@:5060>#015#012From: <sip:162.222.188.60@:5060>;tag=AeXK7uKnKBEEogetg31WxK1-or7AQ-fX#015#012Call-Id: GXIFeN6p
ChBKIIoOpxNC5oEAF3zDQinE#015#012CSeq: 18792 REGISTER#015#012Server: iTelSwitchPlus_7.0.1#015#012WWW-Authenticate: Digest realm="162.22
2.188.60", qop="auth", nonce="88651c56f8d00519dc6c3197977037fc", algorithm=MD5#015#012Content-Length: 0#015#012#015#012#012-- end of p
acket.#012


Does anyone know how to solve this error ?

thanks
Bogdan


The server is sending an illegal SIP message.
Next time, please insert the line breaks before posting a mess like this.

As the log output says, the error happens in line 3 which says:
From: <sip:162.222.188.60@:5060>;tag=AeXK7uKnKBEEogetg31WxK1-or7AQ-fX

This is obviously wrong and should be:
From: <sip:162.222.188.60:5060>;tag=AeXK7uKnKBEEogetg31WxK1-or7AQ-fX

The "To" header is wrong also.


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux