Module: kamailio
Branch: master
Commit: b70d744ad2a3603a8e7701de59542b1bf804a63c
URL:
https://github.com/kamailio/kamailio/commit/b70d744ad2a3603a8e7701de59542b1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-07-18T15:02:23+02:00
core: defined EVENT_ROUTE as (REQUEST_ROUTE|ONEVENT_ROUTE)
- ONEVENT_ROUTE is (1<<9)
- should allow diferentiating between REQUEST_ROUTE and EVENT_ROUTE
blocks execution
---
Modified: src/core/route.h
---
Diff:
https://github.com/kamailio/kamailio/commit/b70d744ad2a3603a8e7701de59542b1…
Patch:
https://github.com/kamailio/kamailio/commit/b70d744ad2a3603a8e7701de59542b1…
---
diff --git a/src/core/route.h b/src/core/route.h
index 67663d307f..420171ecec 100644
--- a/src/core/route.h
+++ b/src/core/route.h
@@ -54,7 +54,8 @@
#define CORE_ONREPLY_ROUTE (1 << 7)
#define BRANCH_FAILURE_ROUTE (1 << 8)
#define ONREPLY_ROUTE (TM_ONREPLY_ROUTE|CORE_ONREPLY_ROUTE)
-#define EVENT_ROUTE (1 << 9)
+#define ONEVENT_ROUTE (1 << 9)
+#define EVENT_ROUTE (REQUEST_ROUTE|ONEVENT_ROUTE)
#define ANY_ROUTE (0xFFFFFFFF)
/* The value of this variable is one of the route types defined above and it