Yeah, so this was debated like a long time ago, and I think (if I remember 
right) that you should remove the visual-separators before comparing, if you 
see the user=phone URI param.

Personally I recommend you strip the visual-separators before converting to a 
SIP URI, if you can.  They cause interop issues (and should never have been in 
the URI to begin with, because they're human-layer presentation information, 
not resource indicators, imho).

-hadriel

> -----Original Message-----
> From: [email protected] [mailto:sip-
> [email protected]] On Behalf Of Iñaki Baz
> Castillo
> 
> Thanks, let me one question more:
> 
> When converting to SIP URI, RFC 3261 doesn't mandate that the TEL URI
> number
> is "cleaned" (visual separators removed). This is confusing:
> 
> tel1 = tel:+123-456
> tel2 = tel:(+1)-23-45-6
> 
> Both TEL URI are equal since the number is compared after removing visual
> separators, but when converting to SIP:
> 
> sip1 = sip:[email protected];user=phone
> sip1 = sip:(+1)[email protected];user=phone
> 
> both SIP URI are different since userinfo doesn't match. Or perhaps
> userinfo
> should be compared by removing visual separators when the SIP URI contains
> a "user=phone" parameter?
> 
> Thanks.
> 
> PD: This is too much complex, really a pain. I suspect it is really
> unusable
> and nobody will implement it "properly".
> 
> 
> --
> Iñaki Baz Castillo
> 
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to