Take a look to this scenario. A device implements NTP protocol, so it has a device time (current-time). The device sends a REGISTER and it receives a 200 OK response in which there is the "expires" parameter in "Contact" header but there is not the "Date" header. The device must use his current time to compute the expire time. Now suppose there is an error in NTP server or in Sip server date so that from the expire date and the current date there are a long time.
Example: Current date: Mon, 26 Nov 2001 01:01:45 GMT (received from NTP) Expires date: Mon, 26 Nov 2003 02:01:45 GMT (received from Sip Server) What the device has to do? which must be the behaviour of the device in this case ? Is it a correct implementation chek the difference between current date and expire date and if the difference is larger than one year it set the expire time at 3600 seconds (default expire time) ? I did not find any item on rfc. Let me know your opinion!!! Thanks Lorenzo ___________________________________________ Lorenzo Boffelli STRE Engineer Allied Telesis K.K. Head Office / 4F TOC Bldg, 7-22-17 Nishi-Gotanda, Shinagawa-ku, Tokyo Japan, 141-8635 European R&D Center Piazza Tirana, 24/4 b Phone: +39 02 41411201 20147 Milano Fax: +39 02 41411260 ITALY Email: [EMAIL PROTECTED] ___________________________________________ _______________________________________________ Sip-implementors mailing list [EMAIL PROTECTED] http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
