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
- Next message: nikhilchopra_at_gmail.com: "Newbie to Interop, basic question"
- Previous message: Rick Strahl [MVP]: "Re: Deploying Microsoft.mshtml"
- In reply to: Nadav: "problem with ITCallInfo.CallState when dialing to a phone."
- Next in thread: Nadav: "Re: problem with ITCallInfo.CallState when dialing to a phone."
- Reply: Nadav: "Re: problem with ITCallInfo.CallState when dialing to a phone."
- Messages sorted by: [ date ] [ thread ]
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.
- Next message: nikhilchopra_at_gmail.com: "Newbie to Interop, basic question"
- Previous message: Rick Strahl [MVP]: "Re: Deploying Microsoft.mshtml"
- In reply to: Nadav: "problem with ITCallInfo.CallState when dialing to a phone."
- Next in thread: Nadav: "Re: problem with ITCallInfo.CallState when dialing to a phone."
- Reply: Nadav: "Re: problem with ITCallInfo.CallState when dialing to a phone."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|