Hi Nataraju, Appreciate the reply. I asked because some IP phones cannot register with our server if their From: and To: address are like sip:[EMAIL PROTECTED]:5060. Most phones can register well without the :5060, and some people are saying that registration should work either with or without the :5060 or other port number. Therefore I would like to know what's the official view from RFCs on this. Thanks.
On 8/3/05, Nataraju A B <[EMAIL PROTECTED]> wrote: > I did not get the question comepletely. > > Did you mean that can we specify only the port number without uri ? if > this is the question, the answer would be NO.... > > If you are mentioning the port number in URI, its expected to mention in > IP:PORT format. > > You can refer the ABNF (section 25) for URIs to find complete syntax for > mentioning different headers used in SIP > > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > 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 > IPv6reference = "[" IPv6address "]" > IPv6address = hexpart [ ":" IPv4address ] > hexpart = hexseq / hexseq "::" [ hexseq ] / "::" [ hexseq ] > hexseq = hex4 *( ":" hex4) > hex4 = 1*4HEXDIG > port = 1*DIGIT > >>>>>>>>>>>>>>>>>>>>>>>>>>>>> > Regards, > Nataraju A.B. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Howard > Kao > Sent: Wednesday, August 03, 2005 12:01 PM > To: [email protected] > Subject: [Sip-implementors] Question about : and port number following > SIPTO and SIP From addresses > > Hi all, > > As subject, I would like to know how rfc 3261regards a :5060 or other > port number behind the addresses in the SIP TO and From header fields > . We are trying to work with some IP phones and they can't register > with :<port number> right behind the SIP URIs. I only know from rfc > 3261 that if this is not specified, it means :5060, default port. Can > anyone elaborate on this? Thanks. > > _______________________________________________ > Sip-implementors mailing list > [email protected] > http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors > > _______________________________________________ Sip-implementors mailing list [email protected] http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
