Hello,
user=phone parameter to r-uri involves some special handling, where what
is after ; in the username part is considered parameters as well. It
becomes something similar as tel uri. There is a rfc about this (or part
of sip rfc, i don't remember right now -- google should find it). In the
source code I could see that is a special processing when user=phone is
found and user id is taken before ; in the username.
Cheers,
Daniel
On 12/4/13 9:11 AM, Javi Gallart wrote:
Hi list
we've found a (at least for me) strange behavior in kamailio 4.0.2
(didn't try this in other versions). Adding a parameter un the r-uri
host part renders different values for the $rU:
Call 65: Full ru = sip:34661574758;npdi@79.170.68.150
Call 65: rU= 34661574758;npdi
Call 66: Full ru = sip:34661574758;npdi@79.170.68.150;user=phone
Call 66: rU= 34661574758
That is, if user=phone is added as a uri parameter the $rU changes
(incorrectly I guess).
Waht do you think?
Regards
Javi
_______________________________________________
sr-dev mailing list
sr-dev(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
--
Daniel-Constantin Mierla -
http://www.asipto.com
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda