Hi, I don't understand how "Timestamp" header must be parsed. SIP ABNF says:

-----------------
  Timestamp  =  "Timestamp" HCOLON 1*(DIGIT) [ "." *(DIGIT) ] [ LWS delay ] 
                          ; example: 
                          ;    Timestamp: 54  
  delay  =  *(DIGIT) [ "." *(DIGIT) ]
-----------------

It allows values like:

-  Timestamp: 1.123
-  Timestamp: 0.4  12.55    => delay = 12.55 seconds


RFC 3261 says:
---------------
20.38 Timestamp
   The Timestamp header field describes when the UAC sent the request to
   the UAS.
---------------

And:
--------------
8.2.6.1 Sending a Provisional Response
   When a 100 (Trying) response is generated, any Timestamp header field
   present in the request MUST be copied into this 100 (Trying)
   response.  If there is a delay in generating the response, the UAS
   SHOULD add a delay value into the Timestamp value in the response.
   This value MUST contain the difference between the time of sending of
   the response and receipt of the request, measured in seconds.
-------------


I understand the "delay" value. For example:
-  Timestamp: 0.4  12.55
It means that it took to the server 12.55 seconds to generate the 100.

My question is:

- What does the first value mean?
     1*(DIGIT) [ "." *(DIGIT) ]
In the example above it's 0.4. What is it?


Thanks for any explanation.


-- 
Iñaki Baz Castillo

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to