Module: kamailio Branch: master Commit: 2b9666445a9fd31f75bf86b9924658daffb7ac85 URL: https://github.com/kamailio/kamailio/commit/2b9666445a9fd31f75bf86b9924658daffb7ac85
Author: Henning Westerholt <[email protected]> Committer: Henning Westerholt <[email protected]> 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/2b9666445a9fd31f75bf86b9924658daffb7ac85.diff Patch: https://github.com/kamailio/kamailio/commit/2b9666445a9fd31f75bf86b9924658daffb7ac85.patch --- 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; } _______________________________________________ Kamailio (SER) - Development Mailing List To unsubscribe send an email to [email protected]
