summaryrefslogtreecommitdiff
path: root/misc/freeswitch/scripts/dialplan/session.lua
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-18 15:10:16 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-18 15:10:16 +0100
commitfa4ff4d2e603dae76ac033a16a524e5378d3d48f (patch)
treeca13e8c32ced662cec93c8ea6efa3d7197e3edc9 /misc/freeswitch/scripts/dialplan/session.lua
parente7f51187fe563c559c5580e5091f01356a36b6c3 (diff)
parentc4c3ce49a9f1a229df30c88f0f8a24f06acc4d0f (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'misc/freeswitch/scripts/dialplan/session.lua')
-rw-r--r--misc/freeswitch/scripts/dialplan/session.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/dialplan/session.lua b/misc/freeswitch/scripts/dialplan/session.lua
index 20fef88..7de85ca 100644
--- a/misc/freeswitch/scripts/dialplan/session.lua
+++ b/misc/freeswitch/scripts/dialplan/session.lua
@@ -1,5 +1,5 @@
-- Gemeinschaft 5 module: caller session class
--- (c) AMOOMA GmbH 2012
+-- (c) AMOOMA GmbH 2012-2013
--
module(...,package.seeall)
@@ -43,6 +43,9 @@ function Session.init_channel_variables(self)
self.from_gateway = true;
end
+ 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');
self.sip_contact_host = self:to_s('sip_contact_host');