brian at freeswitch.org Guest
|
Posted: Mon Oct 20, 2008 4:55 pm Post subject: [Freeswitch-users] overloaded 'CoreSession_execute' |
|
|
It would be session:execute as outlined here http://wiki.freeswitch.org/wiki/Mod_lua#session
:execute
/b
On Oct 20, 2008, at 4:36 PM, Damon Brown wrote:
Quote: | digits = session:playAndGetDigits(1, 10, 10, 5000, "#",
"dialno.wav", "ivr-imsorry.wav", "\\d+")
freeswitch.consoleLog("info", "Got dtmf: ".. digits .."\n");
cmd = "sofia/gateway/broadvox/1" .. digits .. "@broadvox";
freeswitch.consoleLog("info", "Command: ".. cmd .."\n");
session.execute("bridge", cmd)
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|