[sr-dev] git:master:b70d744a: core: defined EVENT_ROUTE as (REQUEST_ROUTE|ONEVENT_ROUTE)
Daniel-Constantin Mierla
miconda at gmail.com
Tue Jul 18 15:04:21 CEST 2017
Module: kamailio
Branch: master
Commit: b70d744ad2a3603a8e7701de59542b1bf804a63c
URL: https://github.com/kamailio/kamailio/commit/b70d744ad2a3603a8e7701de59542b1bf804a63c
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/b70d744ad2a3603a8e7701de59542b1bf804a63c.diff
Patch: https://github.com/kamailio/kamailio/commit/b70d744ad2a3603a8e7701de59542b1bf804a63c.patch
---
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
More information about the sr-dev
mailing list