Module: sip-router
Branch: master
Commit: 63d4ae1463eb36a13adda76de8ee963588cddbdc
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=63d4ae1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun Apr 17 13:48:14 2011 +0200
dialplan: cfg functions can be used in ANY_ROUTE
---
modules/dialplan/dialplan.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/dialplan/dialplan.c b/modules/dialplan/dialplan.c
index 16050cc..8d2b808 100644
--- a/modules/dialplan/dialplan.c
+++ b/modules/dialplan/dialplan.c
@@ -107,9 +107,9 @@ static mi_export_t mi_cmds[] = {
static cmd_export_t cmds[]={
{"dp_translate",(cmd_function)dp_translate_f, 2, dp_trans_fixup, 0,
- REQUEST_ROUTE|FAILURE_ROUTE|LOCAL_ROUTE|BRANCH_ROUTE},
+ ANY_ROUTE},
{"dp_translate",(cmd_function)dp_translate_f, 1, dp_trans_fixup, 0,
- REQUEST_ROUTE|FAILURE_ROUTE|LOCAL_ROUTE|BRANCH_ROUTE},
+ ANY_ROUTE},
{0,0,0,0,0,0}
};