Hi Guys,
It's not clear from the docs how I can originate a call from within an
lua script
This what works in js,
Question. How do I instantiate a new session, do I use the execute to
dial, and same for bridge?
Regards,
if (!first_session.ready())
var new_session = new Session(tdial-string);
if (!first_session.ready()) {
disp_call(DROP)
exit();
new_session.answer();
if (new_session.ready()) {
bridge(first_session, new_session);
}
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org