Howto:How can I be programmatically notified for connections (like phone number x is calling phone number y) for all calls in a PBX? Also about the hangup/disconnect event of the connection between those ph

From innovaphone wiki
Jump to navigation Jump to search

FAQ: How can I be programmatically notified for connections (like phone number x is calling phone number y) for all calls in a PBX? Also about the hangup/disconnect event of the connection between those phones? Do you have an example in C++, C# or any other language? My goel is to synchronise a vid...

Answer: You would be using the SOAP API. This is an XML based protocol between a computer and the PBX/gateway. In a standard firmware package, have a look at the "soap" folder, you will find the documentation in it. The wsdl file is on the web.

Of course you can also use TAPI, if you like to. But for a new application, TAPI is much (really: much!) more difficult to use.


Approved Comments

SOAP Doc are poor in the section on how to read the call destination (outgoing) or the call source (incoming). I have the same problem and SOAP Doc does not really help.