Hello all, I have doubts regarding the user part in SIP URIs. The following is quoted from rfc3261:
============================= 19.1.3 Example SIP and SIPS URIs sip:[email protected] sip:alice:[email protected];transport=tcp sips:[email protected]?subject=project%20x&priority=urgent sip:+1-212-555-1212:[email protected];user=phone sips:[email protected] sip:[email protected] sip:atlanta.com;method=REGISTER?to=alice%40atlanta.com sip:alice;[email protected] The last sample URI above has a user field value of "alice;day=tuesday". The escaping rules defined above allow a semicolon to appear unescaped in this field. For the purposes of this protocol, the field is opaque. The structure of that value is only useful to the SIP element responsible for the resource. ========================== The last URI example, I would treat "alice" as the hostname, and "[email protected]" as a parameter pair. This is my take on this because of the following: ========================== 19.1.1 SIP and SIPS URI Components The userinfo part of a URI is optional and MAY be absent when thedestination host does not have a notion of users or when the host itself is the resource being identified. ========================== If user part is not available, then I would treat "alice" as a hostname. With the URI like "sip:alice;[email protected]", I would expect semicolon to be escaped in the user part, or the address to be enclosed in the angle brackets. I would appreciate if anybody would correct, or support, me in this. Help is greatly appreciated. Regards, Brez _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
