Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
<hi mode="hold">
I am using TAPI 3.1 for monitoring NEC PBX.
I am using Visual Studio 2005 for the development environment.

Problem: The application runs as a service. The application montors the extensions and sends the activity of the extensions over TCP to other application. It works fine, but sometimes, it stops getting the events. Restarting the service resolves the problem.
Can anybody say why it happens?

regards,
Samir
Posted

"it stops getting the events"
"Can anybody say why it happens?"

No. Not with any certainty.

Have you tried logging every event to see if there is a common factor?
 
Share this answer
 
I'd assume that the service is blocked on something. Restarting the service puts it back onto a stable state. Attach a Kernel mode debugger (assuming it's a kernel level service) and see what's happening when the service 'stops' receiving events.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900