How to be notified if PBX link goes down

Win32 Programming


  • 1. Using ITTAPICallCenter with VB
    Hi, How to use tapi call center with VB, because I can't get any agent handler from TAPI Callcenter. Anyone can help? Here my code to set tapi call center. Thanks Set gobjTAPI = New TAPI gobjTAPI.Initialize gobjTAPI.EventFilter = TAPI3_ALL_TAPI_EVENTS Set gobjTapiWithEvents = gobjTAPI Set gobjCallCenter = gobjTAPI Regards, Darren
  • 2. Using TAPI 3.x Browser
    Hi everyone, I'd like to know how to use (step by step) TAPI 3.0 browser with ITTAPICallCenter. So each time agent login and set to ready (with Handset), TAPI 3.0 Browser can detect it state. Thanks Regards, Darren
  • 3. Slow performance using TAPI (standard modem vs Serial port)
    After receiving the LINECALLSTATE_CONNECTED, and calling lReturn = lineGetID(0, 0, g_hCall, LINECALLSELECT_CALL, lpVarString, "comm/datamodem"); to get the handle to the open comm, ie modem I setup the COMMTIMEOUTS to 0 for read and write to get the highest perfomance, but the connection is slow? Is there something I'm missing? How did I determined the connection is slow?, using a RS232 sniffer on the virtual comport for the modem and compared it running at the same baudrate (connected rate not speed of the serial to modem interface) Also, the modem speed (connect) vs a serial port is a factor of x10. Also, a vendor has a simlar application that is 10x faster! Also, if I run the same code against a plain RS232 port, I get the expected speed.
  • 4. lineMontiorTones to detect inbound fax call?
    Has anyone used lineMonitorTones to detect an inbound fax call? Is it possible? What frequency(s) would be used to detect a fax call? I've haven't worked with fax before so I'm not sure if this makes sense. Are fax tone standard enough that lineMonitorTones could be used? Thank
  • 5. need help upgrading from ciscotsp3.3(0.23) to ciscotsp3.3(0.34)
    After I upgrade the ciscotsp from 3.3(0.23) to 3.3(0.34), my cisco softphone doesn't work anymore. I can't see the cisco line during initialize. I had tried uninstalled the ciscotsp (uninstall wave driver, delete the register key, remove from the control panel\Phone & Modem etc) and install again. Still can't see the line. I have tried the microsoft dialer also. Same problem. But before ungrading, it was working. Is there any trick during the upgrading? Thank you

How to be notified if PBX link goes down

Postby Zdenko » Tue, 28 Dec 2004 18:56:22 GMT

I disconnected network cable between Nortel TAPI server and Symposium 
server. I did not get any TAPI message.
How do I register for network failure notification?


Re: How to be notified if PBX link goes down

Postby Andreas Marschall [MVP TAPI] » Tue, 28 Dec 2004 19:10:35 GMT

"Zdenko" <> schrieb im Newsbeitrag

I don't know the Nortel TSP but in general there should be one of or a
combination of the following messages (maybe only after some timeout delay):


To be able to receive these LINE_LINEDEVSTATE messages you need to call
lineSetStatusMessages(hLine, LINEDEVSTATE_OUTOFSERVICE |

Try it with TAPI Browser TB20 and post a TB20.log.
See my TAPI and TSPI FAQ:

Q: Where can I download TAPI Browser ?
 http://www.**--****.com/ 's_TAPI_and_TSPI_FAQ.htm#_Q:_Where_can

Q: Is there a user guide available for TAPI Browser TB20 ?
 http://www.**--****.com/ 's_TAPI_and_TSPI_FAQ.htm#_Q:_Is_there_1

In addition you may want to check with the TSP manual / manufacturer.

Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
 http://www.**--****.com/ 's_TAPI_and_TSPI_FAQ.htm
* 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.

RE: How to be notified if PBX link goes down

Postby a2lyYW5lY2hvMTE » Sat, 01 Jan 2005 13:27:01 GMT

Hi Zdenko

        IsNetworkAlive() API to the rescue.

In windows there is a subsystem called system event notification service 
which detects when the network cable is connected or disconnected.

This  function returns TRUE if connection is available or FALSE if not.
Please check the MSDN documentation for further details.


Re: How to be notified if PBX link goes down

Postby Zdenko » Tue, 04 Jan 2005 16:08:47 GMT

It can help in some scenarios. In Nortel case TAPI server is connected to 
Symposium server which is connected to PBX. If network failure occurs 
between PBX and Symposium, I have to rely on TAPI events.
I have workaround: Periodicaly I make test call that I drop imediately (not 
nice but works).


Return to Win32 Programming


Who is online

Users browsing this forum: No registered users and 15 guest