Module: kamailio
Branch: master
Commit: 2b9666445a9fd31f75bf86b9924658daffb7ac85
URL:
https://github.com/kamailio/kamailio/commit/2b9666445a9fd31f75bf86b9924658d…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2023-11-10T14:01:47Z
kamailio.cfg: use xalert instead of old format for xlog, similar as done in other cfg
places
---
Modified: etc/kamailio.cfg
---
Diff:
https://github.com/kamailio/kamailio/commit/2b9666445a9fd31f75bf86b9924658d…
Patch:
https://github.com/kamailio/kamailio/commit/2b9666445a9fd31f75bf86b9924658d…
---
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index 3c5289297fb..598d12bc23e 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -626,7 +626,7 @@ route[REQINIT] {
exit;
}
if (!pike_check_req()) {
- xlog("L_ALERT", "ALERT: pike blocking $rm from $fu
(IP:$si:$sp)\n");
+ xalert("ALERT: pike blocking $rm from $fu (IP:$si:$sp)\n");
$sht(ipban=>$si) = 1;
exit;
}