Module: kamailio Branch: master Commit: dc0765c04c3cb5d8981551e3f28ee6871fc803ff URL: https://github.com/kamailio/kamailio/commit/dc0765c04c3cb5d8981551e3f28ee687...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2017-07-14T14:11:14+02:00
core: set its own id for EVENT_ROUTE
- having it as alias to REQURST_ROUTE can hide execution of undexpected script callbacks
---
Modified: src/core/route.h
---
Diff: https://github.com/kamailio/kamailio/commit/dc0765c04c3cb5d8981551e3f28ee687... Patch: https://github.com/kamailio/kamailio/commit/dc0765c04c3cb5d8981551e3f28ee687...
---
diff --git a/src/core/route.h b/src/core/route.h index b711c2a6d4..67663d307f 100644 --- a/src/core/route.h +++ b/src/core/route.h @@ -54,7 +54,7 @@ #define CORE_ONREPLY_ROUTE (1 << 7) #define BRANCH_FAILURE_ROUTE (1 << 8) #define ONREPLY_ROUTE (TM_ONREPLY_ROUTE|CORE_ONREPLY_ROUTE) -#define EVENT_ROUTE REQUEST_ROUTE +#define EVENT_ROUTE (1 << 9) #define ANY_ROUTE (0xFFFFFFFF)
/* The value of this variable is one of the route types defined above and it @@ -74,7 +74,7 @@ extern int route_type;
struct route_list{ struct action** rlist; - int idx; /* first empty entry */ + int idx; /* first empty entry */ int entries; /* total number of entries */ struct str_hash_table names; /* name to route index mappings */ };