Module: sip-router
Branch: master
Commit: 51ac9c19d123a36c72f2f9a655be9caec2710f1b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=51ac9c1…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Wed Apr 11 11:02:15 2012 +0300
modules/lcr: print debug message in case from uri regex matching fails
---
modules/lcr/lcr_mod.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/lcr/lcr_mod.c b/modules/lcr/lcr_mod.c
index 6bf54e5..10a0ad1 100644
--- a/modules/lcr/lcr_mod.c
+++ b/modules/lcr/lcr_mod.c
@@ -1829,6 +1829,10 @@ static int load_gws(struct sip_msg* _m, int argc, action_u_t
argv[])
}
/* Do not look further if this matching rule was stopper */
if (rule->stopper == 1) goto done;
+ } else {
+ LM_DBG("from uri <%.*s> did not match to from regex <%.*s>",
+ from_uri.len, from_uri.s, rule->from_uri_len,
+ rule->from_uri);
}
}
rule = rule->next;