FS-9225: [mod_sofia] Allow to force SIP REGISTER Expires: to be within configured range.

Allow to force SIP REGISTER Expires: to be within MIN and MAX values.
Not just to force it to one specific value using "sip-force-expires".

New profile parameters:
  "sip-force-expires-min"
  "sip-force-expires-max"
This commit is contained in:
Sergey Khripchenko
2016-06-03 05:30:01 -07:00
parent 46b9ace417
commit 2766eaf49e
3 changed files with 30 additions and 0 deletions
+2
View File
@@ -738,6 +738,8 @@ struct sofia_profile {
char *tls_verify_in_subjects_str;
su_strlst_t *tls_verify_in_subjects;
uint32_t sip_force_expires;
uint32_t sip_force_expires_min;
uint32_t sip_force_expires_max;
uint32_t sip_expires_max_deviation;
uint32_t sip_expires_late_margin;
uint32_t sip_subscription_max_deviation;