Discussion:
Telephony service terminated unexpectedly
(too old to reply)
Martin
2006-12-19 14:58:32 UTC
Permalink
We are using a Windows 2000 sp4 server, which is a dedicated TAPI server.
This server is connected via Panasonic TSP USB to our Panasonic KX-TDA-30.

We shared the lines and registered these on the client with tcmsetup /c
tapiserver. In our client application, written in VB .NET 2.0, we use the
ExceleTel Teletools 3.7 component for our tapicommunication.



It is all working well, but at some moment the telephony service on the
service decides to terminate. The following event occurs:


The Telephony service terminated unexpectedly. It has done this 1 time(s).
The following corrective action will be taken in 60000 milliseconds: Restart
the service.


And after 1 minute:

The Service Control Manager tried to take a corrective action (Restart the
service) after the unexpected termination of the Telephony service, but this
action failed with the following error: An instance of the service is
already running.

The clients completely lose tapi connection and after restarting the server
and the client applications everything is working again.


We absolutely have no clue what could cause this behaviour, and hopefully
you can help us with that.
Andreas Marschall [MVP TAPI]
2006-12-19 18:00:48 UTC
Permalink
Post by Martin
We are using a Windows 2000 sp4 server, which is a dedicated TAPI server.
This server is connected via Panasonic TSP USB to our Panasonic KX-TDA-30.
We shared the lines and registered these on the client with tcmsetup /c
tapiserver. In our client application, written in VB .NET 2.0, we use the
ExceleTel Teletools 3.7 component for our tapicommunication.
It is all working well, but at some moment the telephony service on the
The Telephony service terminated unexpectedly. It has done this 1 time(s).
The following corrective action will be taken in 60000 milliseconds: Restart
the service.
Martin,
this is likely to be caused by a crashing TSP.
Do you have any "application popup" events in the system event log referring
to TAPISRV within their description?
Post by Martin
The Service Control Manager tried to take a corrective action (Restart the
service) after the unexpected termination of the Telephony service, but this
action failed with the following error: An instance of the service is
already running.
That's strange!
There should only be one instance of TAPISRV running.

Is TAPISRV running exclusively in its own SVCHOST process (that's the default
on server OS but you may want to check)?
See my TAPI and TSPI FAQ:
Q: How can I run TAPISRV exclusively in a svchost process ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_How_can_6

Are you usning RAS on the server, i.e. are the two related services running?
If so and if you do not really need them you may want to try deactivating
them.
Post by Martin
The clients completely lose tapi connection and after restarting the server
and the client applications everything is working again.
"Only" rebooting the telephony server isn't sufficient?
--
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.
Loading...