12 jan 2009 kl. 11.42 skrev Iñaki Baz Castillo:
2009/1/12 Iñaki Baz Castillo
<ibc(a)aliax.net>et>:
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(a)aliax.net>