I want to write a very simple TSP. TSPI_lineMakeCall should trigger
something (e.g. http requests, send UDP packet) and I do not care about
the result. But I do not want that the TAPI applications gets an error
reported, so I thought of signaling something like:
- makecall succeeded
- answer
- hangup
I wonder what is the best method to do this. Do I have make a thread
which asynchronously sends "answer" and "hangup" to TAPI or is there a
simpler solution?
thanks
klaus
Klaus,
after sending the ASYNC_COMPLETION for TSPI_lineMakeCall() you could send
LINE_CALLSTATE messages with LINECALLSTATE_CONNECTED and
LINECALLSTATE_IDLE.
--
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.
Hi Andreas!
Works great
thanks
Klaus, you are welcome.