Module: kamailio
Branch: master
Commit: 93ba83a349564bf307654bf2891100071376eca2
URL:
https://github.com/kamailio/kamailio/commit/93ba83a349564bf307654bf28911000…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-05-31T09:32:52+02:00
pipelimit: allow execution of cfg functions from several routing blocks
---
Modified: src/modules/pipelimit/pipelimit.c
---
Diff:
https://github.com/kamailio/kamailio/commit/93ba83a349564bf307654bf28911000…
Patch:
https://github.com/kamailio/kamailio/commit/93ba83a349564bf307654bf28911000…
---
diff --git a/src/modules/pipelimit/pipelimit.c b/src/modules/pipelimit/pipelimit.c
index 702d22f879..9025623435 100644
--- a/src/modules/pipelimit/pipelimit.c
+++ b/src/modules/pipelimit/pipelimit.c
@@ -125,15 +125,15 @@ static int fixup_pl_check3(void** param, int param_no);
static cmd_export_t cmds[]={
{"pl_check", (cmd_function)w_pl_check, 1, fixup_spve_null,
- 0, REQUEST_ROUTE|CORE_ONREPLY_ROUTE},
+ 0, ANY_ROUTE},
{"pl_check", (cmd_function)w_pl_check3, 3, fixup_pl_check3,
- 0, REQUEST_ROUTE|CORE_ONREPLY_ROUTE},
+ 0, ANY_ROUTE},
{"pl_drop", (cmd_function)w_pl_drop_default, 0, 0,
- 0, REQUEST_ROUTE},
+ 0, REQUEST_ROUTE|BRANCH_ROUTE|FAILURE_ROUTE|ONSEND_ROUTE},
{"pl_drop", (cmd_function)w_pl_drop_forced, 1, fixup_uint_null,
- 0, REQUEST_ROUTE},
+ 0, REQUEST_ROUTE|BRANCH_ROUTE|FAILURE_ROUTE|ONSEND_ROUTE},
{"pl_drop", (cmd_function)w_pl_drop, 2, fixup_uint_uint,
- 0, REQUEST_ROUTE},
+ 0, REQUEST_ROUTE|BRANCH_ROUTE|FAILURE_ROUTE|ONSEND_ROUTE},
{0,0,0,0,0,0}
};
static param_export_t params[]={