Browse code

dialplan: cfg functions can be used in ANY_ROUTE (cherry picked from commit 63d4ae1463eb36a13adda76de8ee963588cddbdc)

Daniel-Constantin Mierla authored on 17/04/2011 11:48:14
Showing 1 changed files
... ...
@@ -107,9 +107,9 @@ static mi_export_t mi_cmds[] = {
107 107
 
108 108
 static cmd_export_t cmds[]={
109 109
 	{"dp_translate",(cmd_function)dp_translate_f,	2,	dp_trans_fixup,  0,
110
-				REQUEST_ROUTE|FAILURE_ROUTE|LOCAL_ROUTE|BRANCH_ROUTE},
110
+				ANY_ROUTE},
111 111
 	{"dp_translate",(cmd_function)dp_translate_f,	1,	dp_trans_fixup,  0,
112
-				REQUEST_ROUTE|FAILURE_ROUTE|LOCAL_ROUTE|BRANCH_ROUTE},
112
+				ANY_ROUTE},
113 113
 	{0,0,0,0,0,0}
114 114
 };
115 115