Browse Source

fix antiflood reset auth

removed the "sip:" prefix
4.0
lazedo 10 years ago
parent
commit
90c74e3316
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      kamailio/antiflood-role.cfg

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

@ -54,7 +54,7 @@ route[ANTIFLOOD_SUCCESSFUL_AUTH]
route[ANTIFLOOD_RESET_AUTH] route[ANTIFLOOD_RESET_AUTH]
{ {
$var(user) = "sip:" + $(kzE{kz.json,Username}) + "@" + $(kzE{kz.json,Realm});
$var(user) = $(kzE{kz.json,Username}) + "@" + $(kzE{kz.json,Realm});
sht_rm_name_re("antiflood=>$(var(user){re.subst,/\\./\\\\./g})::.*"); sht_rm_name_re("antiflood=>$(var(user){re.subst,/\\./\\\\./g})::.*");
} }


Loading…
Cancel
Save