diff options
author | Peter Kozak <spag@golwen.net> | 2013-03-12 04:18:21 -0400 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-03-12 04:18:21 -0400 |
commit | fa7d8880c101118412b15161b774d21fa230f592 (patch) | |
tree | 37160a48886ca5ddae3a0957694e466d61036f1a /misc/freeswitch/scripts/dialplan | |
parent | 5fab8121339d34933cdb1e17edc1d0ed2c404767 (diff) |
playback method added
Diffstat (limited to 'misc/freeswitch/scripts/dialplan')
-rw-r--r-- | misc/freeswitch/scripts/dialplan/session.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/freeswitch/scripts/dialplan/session.lua b/misc/freeswitch/scripts/dialplan/session.lua index 7de85ca..04d7675 100644 --- a/misc/freeswitch/scripts/dialplan/session.lua +++ b/misc/freeswitch/scripts/dialplan/session.lua @@ -226,3 +226,8 @@ function Session.expand_variables(self, line) return self.session:getVariable(captured) or ''; end)) end + + +function Session.playback(self, file) + self.session:streamFile(file); +end |