[sr-dev] git:master:5806703c: core: allow '_' in event route name

Daniel-Constantin Mierla miconda at gmail.com
Fri Oct 7 10:09:22 CEST 2016


Module: kamailio
Branch: master
Commit: 5806703c1ff72243457ff55758f41c3f557d26fd
URL: https://github.com/kamailio/kamailio/commit/5806703c1ff72243457ff55758f41c3f557d26fd

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-10-07T10:08:14+02:00

core: allow '_' in event route name

- reported by GH #811

---

Modified: cfg.lex

---

Diff:  https://github.com/kamailio/kamailio/commit/5806703c1ff72243457ff55758f41c3f557d26fd.diff
Patch: https://github.com/kamailio/kamailio/commit/5806703c1ff72243457ff55758f41c3f557d26fd.patch

---

diff --git a/cfg.lex b/cfg.lex
index 2361687..422f1c8 100644
--- a/cfg.lex
+++ b/cfg.lex
@@ -500,7 +500,7 @@ COLON		":"
 STAR		\*
 DOT			\.
 CR			\n
-EVENT_RT_NAME [a-zA-Z][0-9a-zA-Z-]*(":"[a-zA-Z][0-9a-zA-Z-]*)+
+EVENT_RT_NAME [a-zA-Z][0-9a-zA-Z-]*(":"[a-zA-Z][0-9a-zA-Z_-]*)+
 
 
 COM_LINE	"#"|"//"




More information about the sr-dev mailing list