summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-18 14:27:43 +0100
committerspag <spag@golwen.net>2013-01-18 14:27:43 +0100
commitc4c3ce49a9f1a229df30c88f0f8a24f06acc4d0f (patch)
treedb117dcd329891d7d9ee1cf994baefa07c6b5c38 /misc
parent5d535a508d9e84cbaf3cb8b5a21797f94b38f9ab (diff)
dialed_sip_user and dialed_domain fixed
Diffstat (limited to 'misc')
-rw-r--r--misc/freeswitch/scripts/dialplan/session.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/freeswitch/scripts/dialplan/session.lua b/misc/freeswitch/scripts/dialplan/session.lua
index 6cb670c..7de85ca 100644
--- a/misc/freeswitch/scripts/dialplan/session.lua
+++ b/misc/freeswitch/scripts/dialplan/session.lua
@@ -43,8 +43,8 @@ function Session.init_channel_variables(self)
self.from_gateway = true;
end
- self.dialed_sip_user = self.caller:to_s('dialed_user');
- self.dialed_domain = self.caller:to_s('dialed_domain');
+ self.dialed_sip_user = self:to_s('dialed_user');
+ self.dialed_domain = self:to_s('dialed_domain');
self.account_uuid = self:to_s('gs_account_uuid');
self.account_type = self:to_s('gs_account_type');