Module: kamailio
Branch: 4.4
Commit: d546d5ea8a1ce442dcaad8592df55459666c7da5
URL: 
https://github.com/kamailio/kamailio/commit/d546d5ea8a1ce442dcaad8592df55459666c7da5

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2016-10-07T10:09:53+02:00

core: allow '_' in event route name

- reported by GH #811

(cherry picked from commit 5806703c1ff72243457ff55758f41c3f557d26fd)

---

Modified: cfg.lex

---

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

---

diff --git a/cfg.lex b/cfg.lex
index 357ff93..e31b5a6 100644
--- a/cfg.lex
+++ b/cfg.lex
@@ -496,7 +496,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       "#"|"//"


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to