Skip to content

#551 - Change SIP Register expire default to 3600

Stefan Yohansson requested to merge StefanYohansson/calls:fix/issue-551 into main

The "expires" parameter of a Contact header field value indicates how long the URI is valid. The value of the parameter is a number indicating seconds. If this parameter is not provided, the value of the Expires header field determines how long the URI is valid. Malformed values SHOULD be treated as equivalent to 3600.

This provides a modest level of backwards compatibility with RFC 2543, which allowed absolute times in this header field. If an absolute time is received, it will be treated as malformed, and then default to 3600.

Rosenberg, et. al. Standards Track [Page 52]

RFC 3261 SIP: Session Initiation Protocol June 2002


Later in another merge request, I will try to add an option to set the value via UI.

Merge request reports