mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-22 01:08:31 +00:00
some small lua and perl examples.. they look very similar...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8202 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
95437a05a9
commit
a68c60c1f1
4 files changed
+28
No files matched your search
@@ -0,0 +1,6 @@
|
||||
-- Example Lua script to originate. luarun
|
||||
freeswitch.console_log("info", "Lua in da house!!!\n");
|
||||
|
||||
local session = freeswitch.Session("sofia/10.0.1.100/1002");
|
||||
session:execute("playback", "/sr8k.wav");
|
||||
session:hangup();
|
||||
Reference in new issue
Block a user