summaryrefslogtreecommitdiff
path: root/misc/freeswitch/scripts
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-03-23 18:17:25 +0100
committerPeter Kozak <spag@golwen.net>2013-03-23 18:17:25 +0100
commita13f3ef5cfdf4c5bd2e08073603f0529eb2f16b1 (patch)
treec11480248286d9e1531b52b773fd11a2e98857ef /misc/freeswitch/scripts
parent6d321805cfb14cd0ce58ca2fc641b82e5928b2ef (diff)
answered query method added
Diffstat (limited to 'misc/freeswitch/scripts')
-rw-r--r--misc/freeswitch/scripts/dialplan/session.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/misc/freeswitch/scripts/dialplan/session.lua b/misc/freeswitch/scripts/dialplan/session.lua
index 78be98e..9c43e74 100644
--- a/misc/freeswitch/scripts/dialplan/session.lua
+++ b/misc/freeswitch/scripts/dialplan/session.lua
@@ -173,6 +173,12 @@ function Session.answer(self)
return self.session:answer();
end
+-- Is answered?
+function Session.answered(self)
+ return self.session:answered();
+end
+
+
function Session.intercept(self, uid)
self.session:execute("intercept", uid);
end