I am building a TSP which takes input from any TAPI soft-phone and
communicates it to my C# application over Windows Sockets.
I am using JulMar's TSP++ 3 Library and wizard to build the TSP and
then add my code where required and modify it as needed.
I get it working by TAPI Application making a call, which passes
through the TSP to my C# application.
There is a problem however, which is that my request is caught up in a
never-ending loop. After careful monitoring, I was able to deduce that
it is because of the OnTimer() function and I changed it's definition
to complete my request. But that doesn't work. The TSP stops working
but my TAPI application is still waiting for a response from TSP and
the TSP is still running in svchost.
I then tried using the ForceClose() method and setting the line
properties to DISCONNECTED state. But that also didn't work.
I am stuck because I am not able to complete the request. Unless the
request completes, I won't be able to move on and add more
functionality to it.
If anyone can respond, that would be great!
Thanks,
Usama Khan
Usama,
what "request" are you refering too?
Is it the asynchronous TSPI_lineMakeCall()?
Do other asynchronous TSPI functions (like TSPI_lineDrop) work
correctly?
Do synchronous TSPI functions (like TSPI_proviederEnumDevcies(),
TSPI_providerInit, or TSPI_lineOpen) work correctly?
Do you you send corresponding ASYNC_COMPLETIONs for each asynchronous
TSPI_ function call?
--
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.