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

Iñaki Baz Castillo ibc at aliax.net
Mon Jan 12 11:54:08 CET 2009


2009/1/12 Johansson Olle E <oej at edvina.net>:
>
> 12 jan 2009 kl. 11.42 skrev Iñaki Baz Castillo:
>
>> 2009/1/12 Iñaki Baz Castillo <ibc at aliax.net>:
>>
>>> Symbol # is NOT allowed into a SIP URI userinfo part per SIP BNF
>>> grammar, so the phone is escaping it before sending the request. This
>>> is a correct behavior even if lots of softphones don't escape it.
>>
>> Also, # symbol is allowed in a TEL URI, but not in a SIP URI userinfo
>> part.
>
> Just to check - is the # allowed unescaped in a TEL uri, but only escaped in
> a SIP uri userinfo part?

Yes, that is.

So if you want to convert a SIP URI into a TEL URI you must take it in
account and unescape the # (but unfortunatelly this is not the worst
issue when converting TEL to SIP or SIP to TEL).

SIP is designed by martians XD


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


More information about the Users mailing list