Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TSPI_lineMakeCall - shoot and forget

18 views
Skip to first unread message

Klaus Darilion

unread,
Nov 11, 2009, 12:36:16 PM11/11/09
to
Hi!

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

Andreas Marschall [exMVP TAPI]

unread,
Nov 12, 2009, 12:19:09 AM11/12/09
to
"Klaus Darilion" <klaus.mai...@pernau.at> schrieb im Newsbeitrag
news:%23sc75Vv...@TK2MSFTNGP04.phx.gbl...

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.

Klaus Darilion

unread,
Nov 12, 2009, 11:44:26 AM11/12/09
to
Andreas Marschall [exMVP TAPI] schrieb:

> "Klaus Darilion" <klaus.mai...@pernau.at> schrieb im Newsbeitrag
> news:%23sc75Vv...@TK2MSFTNGP04.phx.gbl...
>> 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?
>
> Klaus,
> after sending the ASYNC_COMPLETION for TSPI_lineMakeCall() you could send
> LINE_CALLSTATE messages with LINECALLSTATE_CONNECTED and
> LINECALLSTATE_IDLE.

Hi Andreas!

Works great
thanks

Andreas Marschall [exMVP TAPI]

unread,
Nov 12, 2009, 11:47:42 AM11/12/09
to
"Klaus Darilion" <klaus.mai...@pernau.at> schrieb im Newsbeitrag
news:uFoend7Y...@TK2MSFTNGP04.phx.gbl...

>> after sending the ASYNC_COMPLETION for TSPI_lineMakeCall() you could send
>> LINE_CALLSTATE messages with LINECALLSTATE_CONNECTED and
>> LINECALLSTATE_IDLE.
>
> Hi Andreas!
>
> Works great
> thanks

Klaus, you are welcome.

0 new messages