Subject: [SIP] the contact fields in REGISTER request

From: james jack <[email-masked]>
Date: Wed, 31 Jan 2001 02:22:39 -0800 (PST)

Dear All:
   I have one question to consult, in REGISTER
request,
should the contact contain so many parameters as
listed
in SIP_URL.

SIP-URL = ”sip:” [ userinfo ”@” ] hostport
url-parameters [ headers ]
userinfo = [ user j telephone-subscriber ] [ ”:”
password ]
user = *( unreserved j escaped j user-unreserved )
user-unreserved = ”&” j ”=” j ”+” j ”$” j ”,” j ”;” j
”?” j ”/”
password = *( unreserved j escaped j
”&” j ”=” j ”+” j ”$” j ”,” )
hostport = host [ ”:” port ]
host = hostname j IPv4address j IPv6reference
hostname = *( domainlabel ”.” ) toplabel [ ”.” ]
domainlabel = alphanum
j alphanum *( alphanum j ”-” ) alphanum
toplabel = alpha j alpha *( alphanum j ”-” ) alphanum
IPv4address = 1*3DIGIT ”.” 1*3DIGIT ”.” 1*3DIGIT ”.”
1*3DIGIT
IPv6reference = ”[” IPv6address ”]”
IPv6address = hexpart [ ”:” IPv4address ]
hexpart = hexseq j hexseq ”::” [ hexseq ] j ”::” [
hexseq ]
hexseq = hex4 *( ”:” hex4)
hex4 = 1*4HEX
port = 1*DIGIT
url-parameters = *( ”;” url-parameter)
url-parameter = transport-param j user-param j
method-param
j ttl-param j maddr-param j other-param
transport-param = ”transport=”
( ”udp” j ”tcp” j ”sctp” j ”tls” j other-transport)
other-transport = token
user-param = ”user=” ( ”phone” j ”ip” j other-user)
other-user = token
method-param = ”method=” Method
ttl-param = ”ttl=” ttl
maddr-param = ”maddr=” host
other-param = pname [ ”=” pvalue ]
pname = 1*paramchar
pvalue = 1*paramchar
paramchar = param-unreserved j unreserved j escaped
param-unreserved = ”[” j ”]” j ”/” j ”:” j ”&” j ”+” j
”$”
headers = ”?” header *( ”&” header )
header = hname ”=” hvalue
hname = 1*( hnv-unreserved j unreserved j escaped )
hvalue = *( hnv-unreserved j unreserved j escaped )
hnv-unreserved = ”[” j ”]” j ”/” j ”?” j ”:” j ”+” j
”$”
  My meaning is that is it necessary to have so many 
parameters to be stored in realization?
   I think some parameter such as Method-parameter,ttl
ttl-param = ”ttl=” ttl, maddr-param = ”maddr=” host
etc, there is no need for them to appear in REGISTER 
request.
 This is my opinion.
 I am looking forwards to getting suggestion and idea
from every one!
  Best Regards!
                     Yours: James

__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

_______________________________________________
This list is for continuing development of the SIP protocol.
The sip-implementer's list is the place to discuss implementation,
and to receive advice on understanding existing sip.
To subscribe to it, send mail to [email-masked] with
"subscribe sip-implementors" in the body.