diff options
author | Peter Kozak <spag@golwen.net> | 2013-03-28 10:10:13 +0100 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-03-28 10:10:13 +0100 |
commit | 5f403c5ac7f029001cec5f2a533e213865834b3b (patch) | |
tree | 0cda03f027c18b65b4db0f79bc5f5bf6637dcc72 | |
parent | cd91f754501e2c29348276b975462411fe170ba9 (diff) |
unset callback fixed
-rw-r--r-- | misc/freeswitch/scripts/dialplan/callback.lua | 2 |
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 |