I am attempting to programatically call out from FreeSWITCH to my office
phone as a test and simply play some music using Javascript.

session.originate() looks closest but the first argument is an existing
session (A-leg).

But what if I'm creating the A-leg of the call? Do I just:

session = new Session();
session.originate(session, my_destination); ?

Or does 'session' exist even though there are no channels connected and
if so can it act as the A-leg?

Thanks,

James
begin:vcard
fn:James Green
n:Green;James
org:StealthNET Ltd;Technical
adr:;;Beacon Innovation Centre;Gorleston;Norfolk;NR31 7RA;GB
email;internet:[EMAIL PROTECTED]
tel;work:01493 66 00 32
url:http://www.stealthnet.net
version:2.1
end:vcard

_______________________________________________
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

Reply via email to