[OpenSIPS-Devel] db_check_to() problem with escaped characters

John Khvatov ivaxer at gmail.com
Thu Jun 24 21:37:05 CEST 2010


Hello!

db_check_to() returns false for this REGISTER request:

REGISTER sip:ss.under.test.com:5060 SIP/2.0
Via: SIP/2.0/UDP node.under.test.com:5060;branch=z9hG4bKPUA1977294
Max-Forwards: 70
Authorization: Digest username="UA11", realm="under.test.com", qop=auth,
nonce="4c2163fe00000000547e3be7d96e435b0f121f108ccebcdb", opaque="",
nc=00000001, cnonce="6f54a149", uri="sip:ss.under.test.com:5060",
response="bacb59fe1a4e9a53f91326a15184e2cd"
From: UA11 <sip:U%4111 at under.test.com>;tag=11193
To: UA11 <sip:U%4111 at under.test.com>
Call-ID: 11193 at six.example.com
CSeq: 2 REGISTER
Contact: <sip:U%4111 at node.under.test.com;transport=udp>
Expires: 3600
Content-Length: 0

To header contains escaped character, that is not unescaped before
check. I'm not expert of SIP rfc. Please, check that this is correct
behaviour.

For more info see original bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=607141
debug log:
http://dev.sgu.ru/pub/opensip-log

-- 
WBR, John Khvatov



More information about the Devel mailing list