Yes, sip:[EMAIL PROTECTED]:6000 is legal It will cause you to skip NAPTR and SRV and go straight to A (or AAAA) in DNS, use port 6000 and UDP.
See RFC3263 for a discussion about this and all the other variants on resolving where to send SIP requests. RjS On May 23, 2008, at 10:55 AM, praveen dandin wrote: > Hi All, > I have a query regarding the inclusion of port in SIP-URI. > The port in the SIP-URI is optional as per the ABNF grammar (RFC > 3261 section 25) > > SIP-URI = "sip:" [ userinfo ] hostport > uri-parameters [ headers ] > SIPS-URI = "sips:" [ userinfo ] hostport > uri-parameters [ headers ] > userinfo = ( user / telephone-subscriber ) [ ":" password ] "@" > user = 1*( unreserved / escaped / user-unreserved ) > user-unreserved = "&" / "=" / "+" / "$" / "," / ";" / "?" / "/" > password = *( unreserved / escaped / > "&" / "=" / "+" / "$" / "," ) > hostport = host [ ":" port ] > host = hostname / IPv4address / IPv6reference > hostname = *( domainlabel "." ) toplabel [ "." ] > domainlabel = alphanum > / alphanum *( alphanum / "-" ) alphanum > toplabel = ALPHA / ALPHA *( alphanum / "-" ) alphanum > IPv4address = 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT > > > Now if hostname is present in Request-URI or Contact (like INVITE sip:[EMAIL > PROTECTED] > SIP/2.0) is it valid to include the port number in the URI (like > INVITE sip:[EMAIL PROTECTED]:8080 SIP/2.0). I feel the mentioned SIP > address' port can be resolved at UAS end through a DNS SRV query. > Please let me know whether the port MUST be (or MUST NOT be) > included in this case. > > Thanks, > Praveen Dandin > > > > > --------------------------------- > Download prohibited? No problem. CHAT from any browser, without > download. > _______________________________________________ > Sip-implementors mailing list > Sip-implementors@lists.cs.columbia.edu > https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors