Re: ring the phone 3 times

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"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.


.



Relevant Pages

  • Re: Help regarding setting up a Customer Care
    ... Amilan, you are welcome. ... Andreas Marschall ... Microsoft MVP for TAPI / Windows SDK ... >> * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: DTMF Detection in H323 Line connected to NetMeeting
    ... > Thanks Andreas & Matthias for your replies. ... > Client B NetMeeting to Server A running TB3x. ... Microsoft MVP for TAPI / Windows SDK ...
    (microsoft.public.win32.programmer.tapi)
  • Re: When TSP starts ?
    ... >> Your replies on this news group is impressive. ... >> On some of my machines, my TSP starts immediately as soon as ... > If there is any app or service that is using TAPI and is ... > Andreas Marschall ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Call Center application in Visual Basic
    ... 100E PBX support TAPI Extended Services. ... Andreas Marschall ... >> * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: A TSP has no HKEY_CURRENT_USER registry access?
    ... CTI link to the PBX has been established and appropriate device queries have ... Andreas Marschall ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)