Windows Server 2008
(1)
Windows Server 2003
(1)
Visual Studio
(1)
TAPIaroundTheWorld
(1)
Windows 7
(1)
Vista
(1)
ITBasicCallControl
(1)
ITCallXxxEvents
(1)

TAPI3, Dialed call with no answer. Next TAPI Operation Always Fails

Asked By mjjerabek
03-Feb-10 02:15 AM
I have a windows TAPI application that dials a call. If the call is
answered all is well, the call proceeds, and when the line goes onhook
my application is ready for the next call.

If no one answers the call, I disconnect and release the call. I wait
for the next program request to dial again. When the next call is
dialed, the TAPISVR goes nuts (100% CPU) and I get no dial tone and
the call is not dialed.
I get an INPROGRESS call state event, but with the TAPISVR hung, TAPI
never does setup of the modem nor dial the call.

I am doing async dialing. I have a TAPI event notification object and
a message pump for that objects events, connected to a separate thread
in my application.

I guess I am looking for a working sample program that does async
dialing using TAPI 3> I have gone through the usual sample program for
M$.

My environment

Windows7
MT5636ZPX Voice modem
Visual Studio 2k8
Application is C++

Mjj

Mjj,can you reproduce the issue with MS TAPI Browser TB3x ?

Andreas Marschall [exMVP TAPI] replied to mjjerabek
03-Feb-10 04:47 AM
Mjj,
can you reproduce the issue with MS TAPI Browser TB3x ?
If so, please post a TB3x log file.
See my TAPI and TSPI FAQ:

Q: Where can I download TAPI Browser ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Where_can

Q: Is there a user guide available for TAPI Browser TB3x ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Is_there_2

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* 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.

b-4f67-ac97-693da463b4bd@z10g2000prh.googlegroups.com...

mjjerabek replied to Andreas Marschall [exMVP TAPI]
09-Feb-10 06:29 PM
b-4f67-ac97-693da463b4bd@z10g2000prh.googlegroups.com...
hall's_TAPI_and_TSPI_FAQ.htm#_Q:_W...
a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_I...
SPI_FAQ.htm
/www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
IaroundTheWorld

Andreas,

Sorry for being away for such a long time. I had to move my office
from NJ to Califormia which takes time.

I am having troubles with the TAPI browser. I get "LOAD TBL Failed"
running the browser on a Vista x64 system. I will try on my other

A simple answer to a question may solve my problem. If I make a call
(CreateCall and Connect) and the Connect fails, what is the proper
sequence of events to release the bad call. I do a call to Disconnect,
a call Release, followed by nullimg out the call object pointer to
free the object. Is this correct.

I will try to get a tapi browser log soon.

All help will be appreciated.

Mike Jerabek

Mike,no probem.I get the same message on a Windows Server2008 64-bit OS.

Andreas Marschall [exMVP TAPI] replied to mjjerabek
10-Feb-10 08:10 PM
Mike,
no probem.


I get the same message on a Windows Server2008 64-bit OS.


Did you do the ::Connect with fSync =0 or =1 ?
Anyway you don' t need to ::Disconnect() if the ::Connect() failed.
Or do you get any ITCallXxxEvents even when ::Connect() failed ?

Doing a ->Release() and =NULL on the ITBasicCallControl* should be fine.
The same for any ITCallXxxEvents that may have occured.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* 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.
"Andreas Marschall [exMVP TAPI]" <Andreas.Marschall@I-B-A-M.
Andreas Marschall [exMVP TAPI] replied to Andreas Marschall [exMVP TAPI]
12-Feb-10 04:34 AM
TB3x does not show this issue on a Windows Server 2003 64-bit OS.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* 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.
"Andreas Marschall [exMVP TAPI]" <Andreas.Marschall@I-B-A-M.
Andreas Marschall [exMVP TAPI] replied to Andreas Marschall [exMVP TAPI]
16-Feb-10 03:56 PM
I get the same message on a Windows Server 2008 32-bit OS too.
So at least regarding WS2008 it does not seem to be a question of x64 vs.
x86.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* 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.
Post Question To EggHeadCafe