diff options
author | Peter Kozak <spag@golwen.net> | 2013-06-20 11:36:37 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-06-20 11:36:37 +0200 |
commit | 22c5ce2ab518a548428320ae38818fe1f16ce567 (patch) | |
tree | 992713ccf3690e1e37e0a358f09c878bcc761af5 /misc/freeswitch | |
parent | b3a96040433edc2ee2a1d85cf989b6d6adb60ee2 (diff) |
pattern can be ignored if action=set and var_in is blank
Diffstat (limited to 'misc/freeswitch')
-rw-r--r-- | misc/freeswitch/scripts/dialplan/router.lua | 2 |
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 |