Browse Source

use is_present_hf to check if Expires header is set

3.20
Brian Davis 11 years ago
parent
commit
10392a5baf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kamailio/registrar-role.cfg

+ 1
- 1
kamailio/registrar-role.cfg View File

@ -136,7 +136,7 @@ route[ATTEMPT_AUTHORIZATION]
if(@contact.expires) {
$var(expires) = @contact.expires;
} else {
if($hdr(Expires)) {
if(is_present_hf("Expires")) {
$var(expires) = $hdr(Expires);
} else {
$var(expires) = REGISTRAR_MIN_EXPIRES;


Loading…
Cancel
Save