Based upon rfc3261 section 19.1.2, the transport and port should not be included within To/From's sip-uri.
________________________________________ From: [email protected] [[email protected]] On Behalf Of Saúl Ibarra [[email protected]] Sent: Tuesday, March 23, 2010 9:07 AM To: [email protected] Subject: [Sip-implementors] Specifying port in From/To headers Hi, Im' currently implementing SIP URI discovery using Bonjour (mDNS-SD) as per draft http://tools.ietf.org/html/draft-lee-sip-dns-sd-uri-03 What I'm publishing to bonjour is a contact address in the form sip:[email protected]:78878 which is a randomly generated string plus IP and random port. There is no AoR, as this is a local contact address. When building an INVITEo other type or request, should we specify the port in the From/To headers? Imagine a MESSAGE request, if we don't specify the port in the From header, how would the recipient know where to send us a new MESSAGE after? This same applies to the transport parameter. So, does this header look right? From: "test" <sip:[email protected]:5844;transport=tcp> According to the SIP grammar it is, but I'd like to hear some thoughts on it. Thanks! -- /Saúl http://saghul.net | http://sipdoc.net _______________________________________________ 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
