diff options
author | spag <spag@golwen.net> | 2013-01-29 16:28:50 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-01-29 16:28:50 +0100 |
commit | a9be92fdc62d55e6b6a8da80f0fe959ad90fa678 (patch) | |
tree | c19b4a90dd32bec92346ccb2e221f137d3a60467 /misc/freeswitch | |
parent | bebf1d99a7a81ffd5cc3276acbf8b0317182a1af (diff) |
use str function set
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 cdcb58b..68989fa 100644 --- a/misc/freeswitch/scripts/dialplan/router.lua +++ b/misc/freeswitch/scripts/dialplan/router.lua @@ -143,7 +143,7 @@ function Router.route_match(self, route) if not common.str.blank(element.var_out) then local command, variable_name = common.str.partition(element.var_out, ':'); if not command or not variable_name or command == 'var' then - destination[element.var_out] = replacement; + common.str.set(destination, element.var_out, replacement); elseif command == 'chv' then destination.channel_variables[variable_name] = replacement; elseif command == 'hdr' then |