[Freeswitch-users] Did the call connect?
Michael S Collins
msc at freeswitch.org
Tue Aug 19 07:52:13 PDT 2008
Can you check the value of variable enpoint_disposition?
-MC
Sent from my iPhone
On Aug 19, 2008, at 6:36 AM, James Green <james.green at stealthnet.net>
wrote:
> 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
> <james_green.vcf>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
More information about the FreeSWITCH-users
mailing list