[Kamailio-Users] dial the prefix #31# to mask the number

Iñaki Baz Castillo ibc at aliax.net
Mon Jan 12 17:38:03 CET 2009


2009/1/12 Johansson Olle E <oej at edvina.net>:

>> I already explained that # is not allowed in a SIP URI (also in the
>> SIP Request URI, of course).
>
> On the other side, the answer is "Yes, of course, provided that your SIP
> equipment follows the standard and encodes the # character. You are allowed
> to dial that character, but any SIP-compliant device (useragent) is not
> allowed
> to transfer it verbatim in a SIP uri, but has to encode it - much like many
> international characters in a HTTP uri.

Yeah, but in Kamailio you must decode it using some "undecode"
transformation. Kamailio itself doesn't undecode it by default and
treats %23 hexedecimal code as 3 normal ASCII chars: '%', '2', '3'.


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


More information about the sr-users mailing list