diff --git a/kamailio/registrar-role.cfg b/kamailio/registrar-role.cfg index e7451fb..6b1825e 100644 --- a/kamailio/registrar-role.cfg +++ b/kamailio/registrar-role.cfg @@ -254,7 +254,7 @@ route[SAVE_LOCATION] } } - if(@contact.expires) { + if(@hf_value_exists.contact.expires == "1") { $var(expires) = @contact.expires; } else { if(is_present_hf("Expires")) {