Section 19.1.2 ("Character Escaping Requirements") of RFC 3261 says quite clearly that special characters must be escaped when appearing in SIP URIs.
It's up to the SIP stack to decode them and translate them into something usable by the caller, if needed. Kamailio doesn't do this for '#' by default.
If you want to decode escaped characters, try use the transformations that are designed for that, i.e. {s.unescape.user}. Example:
$(rU{s.unescape.user})
On 01/12/2010 09:29 AM, alex pappas wrote:
Dear Friends,
Do you have any idea on how to remove from $rU the %23 when is send in to my network? The scenario is: The customer will send (prefix # number). This is translated in sip in (prefix %23 number). I need to remove this in order to check against PDT module.
Thanks Alex
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users