DO NOT SHARE THESE DOCS WITH CUSTOMERS!
This is an LA release that will only be provided to a select number of PLM-sanctioned customers (PDFs only). Contact PLM for details.
## This rule updates expires parameter received in 200 OK from Registrar if its value was set to 1 ## set profiles signaling sipAdaptorProfile REGISTEREXPIRES rule 1 applyMatchHeader all set profiles signaling sipAdaptorProfile REGISTEREXPIRES rule 1 criterion 1 type message message messageTypes response statusCode 200 set profiles signaling sipAdaptorProfile REGISTEREXPIRES rule 1 criterion 2 type header header condition exist set profiles signaling sipAdaptorProfile REGISTEREXPIRES rule 1 criterion 2 type header header name "Contact" set profiles signaling sipAdaptorProfile REGISTEREXPIRES rule 1 criterion 3 type parameter parameter paramType generic set profiles signaling sipAdaptorProfile REGISTEREXPIRES rule 1 criterion 3 type parameter parameter condition exist set profiles signaling sipAdaptorProfile REGISTEREXPIRES rule 1 criterion 3 type parameter parameter name "expires" set profiles signaling sipAdaptorProfile REGISTEREXPIRES rule 1 action 1 type parameter paramType generic set profiles signaling sipAdaptorProfile REGISTEREXPIRES rule 1 action 1 operation regsub set profiles signaling sipAdaptorProfile REGISTEREXPIRES rule 1 action 1 regexp string "^1$" set profiles signaling sipAdaptorProfile REGISTEREXPIRES rule 1 action 1 from type value value 30 set profiles signaling sipAdaptorProfile REGISTEREXPIRES rule 1 action 1 to type parameter value "expires" set profiles signaling sipAdaptorProfile REGISTEREXPIRES state enabled commit