Browse Source

don't add auth headers for in dialog messages

master
lazedo 6 years ago
parent
commit
c2ce422b7f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      kamailio/auth.cfg

+ 2
- 2
kamailio/auth.cfg View File

@ -8,7 +8,7 @@ route[AUTH]
return;
}
if (!is_method("INVITE|MESSAGE|REFER")) {
if (!is_method("INVITE|MESSAGE|REFER")) {
$avp(auth_allowed) = "true";
return;
}
@ -22,7 +22,7 @@ route[AUTH_HEADERS]
{
remove_hf_re("^X-");
if (!is_method("INVITE|MESSAGE|REFER") || has_totag()) {
if (!is_method("INVITE|MESSAGE|REFER")) {
return;
}


Loading…
Cancel
Save