summaryrefslogtreecommitdiff
path: root/misc/freeswitch/scripts/dialplan/router.lua
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-06-20 11:36:37 +0200
committerPeter Kozak <spag@golwen.net>2013-06-20 11:36:37 +0200
commit22c5ce2ab518a548428320ae38818fe1f16ce567 (patch)
tree992713ccf3690e1e37e0a358f09c878bcc761af5 /misc/freeswitch/scripts/dialplan/router.lua
parentb3a96040433edc2ee2a1d85cf989b6d6adb60ee2 (diff)
pattern can be ignored if action=set and var_in is blank
Diffstat (limited to 'misc/freeswitch/scripts/dialplan/router.lua')
-rw-r--r--misc/freeswitch/scripts/dialplan/router.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/dialplan/router.lua b/misc/freeswitch/scripts/dialplan/router.lua
index 24d2462..20b833b 100644
--- a/misc/freeswitch/scripts/dialplan/router.lua
+++ b/misc/freeswitch/scripts/dialplan/router.lua
@@ -165,7 +165,7 @@ function Router.route_match(self, route)
end
if element.action ~= 'none' then
- if common.str.blank(element.var_in) and common.str.blank(element.pattern) and element.action == 'set' then
+ if common.str.blank(element.var_in) and element.action == 'set' then
result = true;
replacement = common.array.expand_variables(element.replacement, destination, self.variables);
else