2010/6/22 Xiaoqiang Hu xhu@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).