Re: problem with ITCallInfo.CallState when dialing to a phone.

From: Andreas Marschall [MVP TAPI] (Andreas.Marschall_at_I-B-A-M.de)
Date: 01/26/05


Date: Wed, 26 Jan 2005 15:49:08 +0100


"Nadav" <NadavPopplewell@newsgroup.nospam> schrieb im Newsbeitrag
news:EF4E35D7-3C90-4EBD-BCF1-3CAEDE7B57AC@microsoft.com...
> I've started to learn TAPI and I'm trying to dial to a phone
> (eventually I wan't to send a voice message to a phone, but right now I
> can't even dial properly).
> I'm using C# & visual studio 2003,and I imported the TAPI3 com object
> (TAPI3Lib) into my project.
>
> What happens is that the program DOES dial the phone.
> However, there is something strange with the CallState property of the call
> object.
> When I call the phone I get event with:
> e.State=CS_INPROGRESS
> (and the phone start ringing)
> And then, BEFORE I pick up the phone I get another event with:
> e.State=CS_CONNECTED
> When I answer the phone and put down the handset, I don't get any event
> and the call CallState stays CS_CONNECTED.
> What I'm I doing wrong?

Nadav,
I presume you are using a voice modem with UniModem.TSP?

There is a limitation for voice modems: their hardware doesn't have proper
call progression detection capabilities in vocie mode, i.e. they simply don't
detect when the outgoing call has been answered, so UniModem.TSP is generating
a _CONNECTED blindly after the dialling is complete.

-- 
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: problem with ITCallInfo.CallState when dialing to a phone.
    ... "Nadav" schrieb im Newsbeitrag ... I presume you are using a voice modem with UniModem.TSP? ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: When i make a call, How can i Underestand, when he pick up phone?
    ... whether it is a human voice or answering machine on the other side. ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: completing a connect
    ... >> You may want to use better HW supporting progress detection: ... >> presence of voice energy. ... TAPI 3.x can only provide access to the ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: TAPI 2 vs Tapi 3 - Streaming voice via internet + Others questions
    ... Im using a voice u.s robotic modem, im able to make a call fine. ... Is there any sample code available? ... > Microsoft MVP for TAPI / Windows SDK ... > * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: problem with dialup idle time before hanging up setting on win-X
    ... "Nadav" wrote in message ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)

Loading