VoIP SIP SDK
High performance VoIP SDK for .Net developers
Search the manual:
Overview Quick start Download Manual How to buy! Support Contact Us

Quick Start Guide

This guide explains how to integrate Ozeki VoIP SIP SDK quickly in your application to evaluate its functionality. The information below help you start using the SDK right after download. You will get a basic scope about the possibilities of using Ozeki VoIP SIP SDK and about the solutions you can build with it.

Introduction

Ozeki VoIP SIP SDK is an excellent software development kit that allows you to establish VoIP calls from your application easily and quickly. You do not need to have expert programming skills, with the most basic programming knowledge you will be able to create extraordinary VoIP solutions with this tool. After download you just integrate Ozeki VoIP SIP SDK into your application and it is ready to make VoIP calls immediately.

This guide will show you how you can start to use Ozeki VoIP SIP SDK and it will give you tips about the VoIP solutions you can write with the support of this SDK. After reading this article you will be familiar with your possibilities and you will be able to decide, which VoIP solution you need in order to make your company work more effective and profitable.

At first, you will get the basic information about the requirements and the configuration of the SDK, then the guide will give you a description about the VoIP solutions you can implement using this SDK. If any solution arouses your interest, this guide will show you which pages will give you more detailed information about the given topic.

First of all, you will need to know the exact environment you will need to set up for working with this SDK. You will learn about the requirements of the SDK in the next section.

Requirements

Ozeki VoIP SIP SDK is basically a .NET solution so, you will need to have the development environment an background tools for .NET to be able to use the SDK. The basic developer requirements are shown in Figure 1.


Figure 1 Basic requirements for creating your own VoIP Solution

The following list shows all the requirements you will need if you want to build a VoIP solution with Ozeki VoIP SIP SDK.

  • PC (Windows XP; Vista, 7, 2003, 2008 operating system)
  • .Net compatible development kit (e.g. Visual Studio 2010 / Visual C#)
  • Minimum .Net 3.5 SP1
  • Ozeki VoIP SIP SDK

Note that you may also need a SIP acoount from your service provider in case of some VoIP solutions. You can find more information about this topic in the sections and articles about the given solutions.

How to get Ozeki VoIP SIP SDK

You can download and use the free trial verison of Ozeki VoIP SIP SDK using the link below. The trial version has some limitations, but you can try the basic functionalities of the SDK by using it. If you have decided to build a more professional VoIP Solution, you can choose from the wide selection of licenses and buy the SDK with the exact functionalities you want to use.

Ozeki VoIP SIP SDK can be obtained by
opening the download page:
Download Ozeki VoIP SIP SDK!

After downloading the SDK trial, you will need to install it to your computer. The installing wizard will lead you through this process. You can change some basic settings during the installation, like the target folder, but you can also install the SDK without any modifications.

It is essential to know that if you installed the SDK into a different folder than the default, you will find the .dll to be registered to your programs in that folder.

Getting started

When you want to create a VoIP solution in Visual Studio with the background support of Ozeki VoIP SIP SDK, you will need to register the SDK .dll file to the Visual Studio Project.

When you create a new project in Visual Studio using File->New->Project... menu, you will get a basic .NET solution that has the support of the built-in .NET .dll-s. If you want to use any other .dll tools, you can register your .dll to your project.

In the Solution Explorer panel that is usually on the right side of the Visual Studio window, you need to right click on the References label and select Add reference... from the pop-up list (Figure 1).


Figure 2 - Add reference option

On the Add Reference window, you will need to choose the Browse tab and you can browse your hard drive for the VoIPSDK.dll file (Figure 2). If you installed your SDK without interaction, the .dll file will be stored in the "C:\Program Files\Ozeki\VoIP SIP SDK\SDK\" folder.


Figure 3 - Select VoIPSDK.dll

After registering your SDK to the Visual Studio project, you can start to build your own VoIP solution. In the next section, you will learn about the basic steps that are similar in case of many VoIP applications, and after these you can find the exact solutions that can be built using Ozeki VoIP SIP SDK.

First Steps

When you registered the Ozeki VoIP SIP SDK to your Visual Studio project you will be able to use all the tools it provides. The .dll defines the SDK tools is certain namespaces, and if you want to use a tool from outside the namespace, you need to label it with the whole namespace path (namespaces can be nested into each other like common folders) or you can use the using section to indicate what namespace's tools you will use.

Code 1 shows the using instruction that will be essentially needed if you want to use the Ozeki VoIP SIP SDK tools without namespace labeling. For example, without the 2nd line in Code 1 the microphone had to be referred to as an Ozeki.Media.MediaHandlers.Microphone object, while with that line you can use the name Microphone as it was defined in the same namespace as your project.

using Ozeki.Media;
using Ozeki.Media.MediaHandlers;
using Ozeki.Network.Nat;
using Ozeki.VoIP;
using Ozeki.VoIP.Media;
using Ozeki.VoIP.SDK;
using Ozeki.Media.MediaHandlers.Facade;
Code 1 - With these lines you can use the SDK tools without namespace path labeling

There are some tools that are used in almost every VoIP solutions. Code 2 shows these tools that are essential for the VoIP communication.

IPhoneLine phoneLine;
PhoneLineState phoneLineInformation;
IPhoneCall call;
Microphone microphone = Microphone.GetDefaultDevice();
Speaker speaker = Speaker.GetDefaultDevice();
MediaConnector connector = new MediaConnector();
PhoneCallAudioSender mediaSender = new PhoneCallAudioSender();
PhoneCallAudioReceiver mediaReceiver = new PhoneCallAudioReceiver();
Code 2 - The essential tools for VoIP programs

If you want to build a VoIP communication program, you will definitely need at least one phone line through which you will communicate. The IPhoneLine class can be found in the Ozeki.VoIP namespace and the object itself can be created by using for example a softphone object (see below).

If you communicate through a line, you will need to know some information about the line itself. It is essential as the line state change can influence the communication.

The VoIP communication is made through a call object that is the instance of the IPhoneCall class provided by Ozeki VoIP SIP SDK. This is initialized according to the actual VoIP solution you build.

The VoIP communication uses two basic audio devices, the microphone and the speaker. The support for these is built in the Ozeki VoIP SIP SDK. You only need to initialize a Microphone and a Speaker object and you can start and stop them according to your needs.

The VoIP communication is basically made by connecting the devices and the transmission object together. For this purpose, you need a MediaConnector object that is responsible for connecting all the tools together.

For sending and receiving the audio data, you need an AudioSender and a AudioReceiver object. As for the video data you can define VideoSender and VideoReceiver objects too. These are provided by the Ozeki MediaGateway SDK. You only initialize them and you can use all the functions you need.

Now you are familiar with the basic tools you need when you want to create a VoIP communication program. If you want to put it the simplest way, VoIP communication is build up as the following list shows.

  • You establish a phone line and subscribe for the phone line information
  • You initialize a call and subscribe for the call's events
  • You start the audio peripherals (microphone, speaker)
  • You connect the microphone to the media sender
  • You connect the speaker to the media receiver
  • You start the communication

There are, of course, some more settings and method calls you need to do, but basically these steps describe the VoIP communication well. Now you are familiar with the basics, let's see what solution you can build with Ozeki VoIP SIP SDK.

Solutions you can build

The solutions you can make with Ozeki VoIP SIP SDK are of a great variation depending on your actual needs and possibilities. VoIP communication can grant you free communication as well as easy access of the Public Social Telephone Network (PSTN), but in that case you will need to pay the local fees.

When choosing a VoIP application, you need to decide the exact purpose. There is a possibility to built a window application, you can create embedded solutions for your webpage or you can even make some professional solutions like Interactive Voice Response system or a Call center. You also have the possibility to record the media streams.

Softphone

The software phone or softphone is a VoIP solution that is capable for audio or video communication via Session Initiation Protocol. This purpose is made through a PBX that handles the SIP accounts for the call. The PBX is a software or a hardware that makes the connection between the softphone programs and for this it uses the so-called SIP accounts.

If you want to know more about softphone technology or want to try some softphone examples you can find a lot of information on About softphones and related sites.

Webphone

If you want to make your company communication more effective, you can use a webphone. The webphone is a web page embedded program that can be connected to your Customer Service so your customers can reach you by visiting your website.

If you want to know more about webphone technology or want to try some webphone examples you can find a lot of information on About webphone technology and related sites.

Call center

The call center is a professional VoIP solution that can make your company work effective with centralizing the company communication. This solution can be fully made via software solutions or you can attach your VoIP programs to your already existing hardware telephone network.

If you want to know more about call centers in relation with Ozeki VoIP SIP SDK you can find a lot of information on Call Center Development and related sites.

IVR

Interactive voice response (IVR) is a technology that allows a computer to interact with humans through the use of voice and DTMF keypad inputs. This means that your customer presses the telephone buttons and your IVR system reacts according to the pressed button. This solution is really useful when you want to build a tree-like telephone menu system.

If you want to know more about IVR technology or want to try some IVR examples you can find a lot of information on IVR Development and related sites.

Voice recording

There are some cases when it is useful to be able to store the calls as audio files. You will find that Ozeki VoIP SIP SDK helps you in these cases too. You can make programs that record full calls or even some one-sided audio information if you want. You only need to make sure that there is enough space in the folder you want to save the audio files.

If you want to know more about voice recording technology or want to try some example programs on the topic you can find a lot of information on Voice Recording and related sites.

Summary

To introduce a really effective VoIP solution into your application you only need to follow some very simple configuration steps. Without any previous special knowledge for SIP you can instantly and easily experience the benefits of VoIP technology with Ozeki VoIP SDK! If you are a .Net VoIP developer, this is the ultimate choice for you. After download you can create a C# softphone or a VB.net softphone in minutes or you can build SIP VoIP call services easily and quickly.

Any questions?

If you have any question do not hesitate to contact an expert: info@voip-sip-sdk.com!

Related Pages

Download Ozeki VoIP SIP SDK and start your project instantly!

Learn the main features of Ozeki VoIP SIP SDK

Try a sample code for Ozeki VoIP SIP SDK

Copyright © 2000 - 2012 Ozeki Systems Ltd.
All rights reserved

    Contact details     |     Privacy policy     |     Terms of use
Please address your inquiries to info[at]voip-sip-sdk.com