Ozeki VoIP .NET API
The .NET API of Ozeki Phone System is the most powerful API for .NET developers wishing to build VoIP applications. It makes it possible to configure the PBX, to intercept call routing actions and to control calls in real time. Whatever the PBX does, the .Net API allows the developer to take control over it. In addition to allow call control, it enables the developer to access and interact with the audio/video stream, which no other PBX allows you to do.
Figure 1 - Ozeki VoIP .NET API
The .NET API comes as a .Net DLL, that should be added as a reference
to your .NET project. It exposes all the methods, events and attributes
neccessary for you to control the PBX. This DLL connects to the
Ozeki Phone System PBX through a TCP/IP socket. It can be used
anywhere on the network to access the PBX.
To use the .NET API, you need to have a .NET development environment on your PC. Once all prerequisites are in place you may build your first .NET PBX application in a matter of minutes. Here is what you need:
How to get started
To get started, it is best to download and compile the example
project discuessed in the C#.NET VoIP Developers 101 article.
This article contains easy to understand code, that shows how you can
connect to the PBX, and how you can send/receive SMS, or make VoIP calls. It is
a great starting point.
What can you do with the
.NET API?Voice calls
Your .Net application can make and receive voice calls. It can act as a standard desktop phone, or it can act as an intelligent PBX service, such as a conference room.
The .NET api can handle video streams. You can send and receive video to and from webpages, video phones and other .NET api clients. With the .NET api it is very easy to handle synchronised video.
Your .NET application can subscribe to incoming SMS messages. It can also send SMS messages to any mobile phone, and can get notifications about message delivery events, such as message submission reports and message delivery reports.
Controll call routing
Intercept call routing decisions for both incoming and outgoing calls and decide which extension/outside line should handle the call.
Manage live calls
You may subscribe for real time information about calls passing through the system. Your .NET application can receive notification about call creation, call state changes. It can receive call realated meta information, such as call ID, calling line ID, caller ID, dialled number, used route etc. Your .NET application can also interact with live calls. For example it can transfer the call, hangup the call or add the call to a conference room.
Access the audio/video stream
Your .NET application can access the audio/video stream of live calls (provided security credentials are set up and access has been granted). It is possible to record the streams, play in previously recorded audio/video, or mix the audio/ video stream to external sources.
Controll your devices
You can get information about whether your devices are online or offline, you may send messages to them, invite them into calls or configure them.
Configure the PBX
You can add/delete new extensions and outside lines. You may query and modify their configuration. You can manage the configuration of the PBX. Changes will take effect instantly.