Re: Line doesn't Close after LineDrop



"Adrien HAVAS" <ahavas@xxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:OA3UIBKwIHA.4772@xxxxxxxxxxxxxxxxxxxxxxx
So here is my problem. I started my own TSP using Atsp32 from the Microsoft
SDK, I compile with Visual Studio 2003, and I use Outlook 2003 on Win XP to
test my TSP.
I've had many problems since the start, and most of them have been managed
by all the answers I found on the internet. But now, although I can make a
call and stop it using the two buttons in Outlook, the message displayed
stays in the state 'hang up'. My log shows that the TSP has a call to the
function LineDrop, but it doesn't go further. My only solution is to close
Outlook, and then I have LineDrop again, LineCloseCall, LineClose, and
ProviderShutdown.


Here is my log from the moment I click on 'end call'
TSPI_lineDrop: enter

and that's when I close Outlook
TSPI_lineDrop: enter
TSPI_lineCloseCall

TSPI_lineDrop(

SetCallState (pLine, LINECALLSTATE_IDLE, 0);

Adrien,
it seems that for some reason Outlook on 'end call' isn't calling
lineDeallocateCall(), which leads to TSPI_lineCloseCall().
From your code it seems that you send a LINECALLSTATE_IDLE,
but you may want to check this with MS TB20 and/or JulMar Phone.exe:
http://www.julmar.com/tapi/

Please post a TB20.log and enable Options/LogParameters and /ShowTimeStamps in
TB20.
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 TB20 ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Is_there_1



--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
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.



.