Comments inline..



On Mon, 20 Aug 2001 Sunil Kumar T wrote :
>Hi,
>
>I'm stuck with the following two while developing 
>parser for SIP. Could someone
>please help us.
>
>1) warn-agent in Warning
>-------------------
>The syntax is
>(host["."port])| pseudonym
>
>when the port is absent(it is optional), a qualified 
>host is always a qualified
>pseudonym. So, how to differenticate both in the 
>incoming SIP message.

I don't think it is very important to differentiate between the fields as it is put 
there mainly for debugging purposes as mentioned in bis-03.
 Another question though - why is it that in Section 20.7 of bis-03, the warn-agent 
field is not even a part of the warning header?


>
>2) Timestamp header
>----------------
>The syntax is
>*(DIGIT)["." *(DIGIT)][delay]
>delay = *(DIGIT)["." *(DIGIT)]
>
>Assuming [delay] is present, what is the separator 
>between *(DIGIT)["."
>*(DIGIT)]  and [delay] above. Also, when ["." *(DIGIT)] 
>is absent in the first
>half, what is the separator between *(DIGIT) and [delay]

Bis-03 says "The server MUST echo the exact same value
in all provisional and final responses and MAY, if it has accurate information about 
this, add a floating point number indicating the number of seconds that have elapsed 
since it has received the  request."

I believe that the delay parameter is appended to the timestamp, as it is specified 
that the exact same value myst be echoed. So, a separator is not necessary. 
However, it also says "add a floating point number" and hence the doubt remains.

Either my understanding is wrong, or these two points may be clarified in the text.

Regards,
Deepak


 



_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to