[SR-Users] Can't receive a 200 0k response from openser register server when URI in a To header field in a REGISTER request contains escaped characters.

Iñaki Baz Castillo ibc at aliax.net
Tue Jun 22 12:27:06 CEST 2010


2010/6/22 Xiaoqiang Hu <xhu at redhat.com>:
> sorry,here it is:)

This is a known bug. You are using "check_to" function which compares
the To username "U%4111" with the credentials username "UA4111". They
are the same according to SIP escaping rules, but the function
"check_to" doesn't unescape the username so it returns false.

You can avoid "check_to" and instead doing a manual comparission after
unescaping the To username (by saving it in a $var).

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-users mailing list