Module: kamailio Branch: master Commit: 92c432b0f5ba504a1558e96cb58a2712f1364256 URL: https://github.com/kamailio/kamailio/commit/92c432b0f5ba504a1558e96cb58a2712...
Author: ÐилÑн ÐалаÑзов git-dpa@aegee.org Committer: Henning Westerholt hw@gilawa.com Date: 2022-12-10T09:38:05+01:00
etc/: add a space between comma and quote
---
Modified: etc/kamailio.cfg Modified: etc/sip-router.cfg
---
Diff: https://github.com/kamailio/kamailio/commit/92c432b0f5ba504a1558e96cb58a2712... Patch: https://github.com/kamailio/kamailio/commit/92c432b0f5ba504a1558e96cb58a2712...
---
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg index 3915f3e7193..53ab1ba8633 100644 --- a/etc/kamailio.cfg +++ b/etc/kamailio.cfg @@ -573,7 +573,7 @@ request_route {
if ($rU==$null) { # request with no Username in RURI - sl_send_reply("484","Address Incomplete"); + sl_send_reply("484", "Address Incomplete"); exit; }
@@ -626,7 +626,7 @@ route[REQINIT] { exit; } if (!pike_check_req()) { - xlog("L_ALERT","ALERT: pike blocking $rm from $fu (IP:$si:$sp)\n"); + xlog("L_ALERT", "ALERT: pike blocking $rm from $fu (IP:$si:$sp)\n"); $sht(ipban=>$si) = 1; exit; } @@ -639,12 +639,12 @@ route[REQINIT] { }
if (!mf_process_maxfwd_header("10")) { - sl_send_reply("483","Too Many Hops"); + sl_send_reply("483", "Too Many Hops"); exit; }
if(is_method("OPTIONS") && uri==myself && $rU==$null) { - sl_send_reply("200","Keepalive"); + sl_send_reply("200", "Keepalive"); exit; }
@@ -693,7 +693,7 @@ route[WITHINDLG] { exit; } } - sl_send_reply("404","Not here"); + sl_send_reply("404", "Not here"); exit; }
@@ -821,7 +821,7 @@ route[AUTH] { # if caller is not local subscriber, then check if it calls # a local destination, otherwise deny, not an open relay here if (from_uri!=myself && uri!=myself) { - sl_send_reply("403","Not relaying"); + sl_send_reply("403", "Not relaying"); exit; }
@@ -829,7 +829,7 @@ route[AUTH] {
# authentication not enabled - do not relay at all to foreign networks if(uri!=myself) { - sl_send_reply("403","Not relaying"); + sl_send_reply("403", "Not relaying"); exit; }
@@ -1049,7 +1049,7 @@ failure_route[MANAGE_FAILURE] { #!ifdef WITH_BLOCK3XX # block call redirect based on 3xx replies. if (t_check_status("3[0-9][0-9]")) { - t_reply("404","Not found"); + t_reply("404", "Not found"); exit; } #!endif @@ -1057,7 +1057,7 @@ failure_route[MANAGE_FAILURE] { #!ifdef WITH_BLOCK401407 # block call redirect based on 401, 407 replies. if (t_check_status("401|407")) { - t_reply("404","Not found"); + t_reply("404", "Not found"); exit; } #!endif diff --git a/etc/sip-router.cfg b/etc/sip-router.cfg index f1928e0e144..f5e52fa1fea 100644 --- a/etc/sip-router.cfg +++ b/etc/sip-router.cfg @@ -274,7 +274,7 @@ route[INIT] # initial sanity checks -- messages with # max_forwards==0, or excessively long requests if (!mf_process_maxfwd_header("10")) { - sl_reply("483","Too Many Hops"); + sl_reply("483", "Too Many Hops"); drop; }