summaryrefslogtreecommitdiff
path: root/misc/freeswitch/scripts/dialplan/callback.lua
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-03-28 10:10:13 +0100
committerPeter Kozak <spag@golwen.net>2013-03-28 10:10:13 +0100
commit5f403c5ac7f029001cec5f2a533e213865834b3b (patch)
tree0cda03f027c18b65b4db0f79bc5f5bf6637dcc72 /misc/freeswitch/scripts/dialplan/callback.lua
parentcd91f754501e2c29348276b975462411fe170ba9 (diff)
unset callback fixed
Diffstat (limited to 'misc/freeswitch/scripts/dialplan/callback.lua')
-rw-r--r--misc/freeswitch/scripts/dialplan/callback.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/freeswitch/scripts/dialplan/callback.lua b/misc/freeswitch/scripts/dialplan/callback.lua
index f6fd48e..ce1068c 100644
--- a/misc/freeswitch/scripts/dialplan/callback.lua
+++ b/misc/freeswitch/scripts/dialplan/callback.lua
@@ -46,7 +46,7 @@ end
function Callback.callback_unset(self, class, identifier, callback_session)
- local session_record = self.sessions[tostring(callback_session or self.session)];
+ local session_record = self.sessions[common.str.to_i(callback_session or self.session)];
if not session_record then
return false;
end