Taking the following code:

new_session.originate(session, dialout);
new_session.waitForAnswer(20000);

At this point either the call connected or we timed out.

I expected to be able to use new_session.ready() to determine if the
call successfully answered but this also returns true if the call timed
out. The circumstances in which it will return false are not documented
on the wiki.

session.ready() is apparently not a function.

So how does one check that the originate() ended up with a connected call?

Thanks again,

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