Re: ring the phone 3 times
- From: "Andreas Marschall [MVP TAPI]" <Andreas.Marschall@xxxxxxxxxx>
- Date: Tue, 5 Jul 2005 02:00:36 +0200
"Matthias Moetje" <moetje@xxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:OSYJp6OgFHA.2644@xxxxxxxxxxxxxxxxxxxxxxx
> Andreas,
>
> caglar did not indicate the TSP he is using.
Matthias,
you are correct, it was only an assumption (the usual suspects...).
> What I wanted to say is that a Sleep(10000) after
> connect is not a good idea because the call could
> be unsuccessful (e.g. no dialtone or remote party
> busy) and in this case you would not know if the
> remote phone has been ringing or not.
Caglar posted:
> > > > > hr = g_pCall->Connect( VARIANT_TRUE );
So it is the synchronous variant of ::Connect() that won't return till the
call is in CS_CONNECTED or till it fails.
> With Unimodem the only chance is probably to
> to wait a certain amount of time and check if the
> call is in connected state (= not really connected,
> but at least still ringing) or if it is disconnected. In
> the latter case the remot phone probably didn't ring.
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- Re: ring the phone 3 times
- From: Matthias Moetje
- Re: ring the phone 3 times
- References:
- ring the phone 3 times
- From: caglar ari
- Re: ring the phone 3 times
- From: Matthias Moetje
- Re: ring the phone 3 times
- From: Andreas Marschall [MVP TAPI]
- Re: ring the phone 3 times
- From: Matthias Moetje
- Re: ring the phone 3 times
- From: Andreas Marschall [MVP TAPI]
- Re: ring the phone 3 times
- From: Matthias Moetje
- ring the phone 3 times
- Prev by Date: Re: ring the phone 3 times
- Next by Date: Re: Sample - how to answer a modem call
- Previous by thread: Re: ring the phone 3 times
- Next by thread: Re: ring the phone 3 times
- Index(es):
Relevant Pages
|