Ozeki VoIP SDK - Product Guide
Developers Guide
Configuration guide to use the C# SIP source implementation of Ozeki VoIP SDK for ASP VoIP example
![]() |
Download: | ASP_VoIP_Example.zip |
On this page instructions are given about how to setup and use the C# SIP source implementation of Ozeki VoIP SDK for ASP VoIP example. You only need to follow the configuration guide and at the bottom of the page information is provided about the development and licensing of this SDK.
Configuration steps
- Download and extract the sample program
- Load the project into Visual Studio 2010
- The sample program was developed only for demonstrating purposes so it does
not consist configuration options on the GUI. This means that for the proper
operation of the program a minimal configuration is required in the source code,
in the phone initialization section of the Global.asax.cs file:
- When you are finished you only need to build and run the program.
try
{
softPhone = SoftPhoneFactory.CreateSoftPhone("192.168.91.42", 5700, 5750, 5700);
softPhone.ChangeNATSettings(NATTraversalMethodType.NONE,"","","");
softPhone.IncomingCall += new EventHandler<VoIPEventArgs<IPhoneCall>>(softPhone_IncomingCall);
phoneLine = softPhone.CreatePhoneLine(new SIPAccount(true, "oz891", "oz891", "oz891", "oz891", "192.168.91.212", 5060));
phoneLine.PhoneLineInformation += new EventHandler<VoIPEventArgs<PhoneLineInformation>>(phoneLine_PhoneLineInformation);
softPhone.ChangeNATSettings(NATTraversalMethodType.NONE, string.Empty, string.Empty, string.Empty);
softPhone.RegisterPhoneLine(phoneLine);
}
catch (Exception ex)
{
ErrorIndicator = String.Format("You didn't give your local IP adress, so the program won't run properly.\n {0}",ex.Message);
}
}
Also set if a NAT is between the softphone and the SIP server. This setting depends on the environment (depends on the construction of the network). If this setting is specified incorrectly, audio data from the remote end will not be received during the phone call. As a next step you need to provide the user data of your selected SIP PBX as the SIP account object values similarly to the following line:
phoneLine = softPhone.CreatePhoneLine(new SIPAccount(True, "oz891", "oz891", "oz891", "oz891", "192.168.91.212", 5060))
Where „true” is the registrationRequired parameter that in case of true value
and successful registration makes it possible to receive calls and not just
manage them. (In the case of registering with „false” value only call managing
is allowed.)
In the example the „oz891” marks the SipAccount displayname, username,
registername and registerpassword parameters in listing order.
The next two parameters are the SIP PBX IP or domain address and the port.
Further development opportunities
- Because of simplicity this sample program stores no extra information for the
connected operator about the identification of the customer and also no timed
callback can be established. These functions can significantly raise the
standard of a real callback application.
- Expending and managing the callback requests (this program only handles one
callback at a time but it can be modified to handle any number of callbacks).
- DTMF handling to navigate IVR systems
Which Ozeki SDK license you need
The licensing of Ozeki VoIP SIP SDK is based on the numbers of
simultaneous calls can be made. In this way, you can choose from various
licenses according to your needs. If you need only a few simultaneous calls, you
can select a lower capacity SDK license. While if you need large numbers of calls
at the same time, you can choose a high capacity SDK license.
For further information about pricing and licensing of Ozeki VoIP SIP SDK please
check the following webpage: Pricing and licensing
information.
When you purchase a license you can easily activate your demo application by
entering the serial number you received from Ozeki after purchase. You can enter
the serial number by opening the Ozeki VoIP SDK License Manager. In
Registration tab you can provide the serial number and click on Activate.
When you decide to purchase Ozeki VoIP SIP SDK license you can select and order the suitable
license at Ozeki VoIP SIP SDK licenses page right
now.
How to activate your Ozeki SIP SDK license?
After you purchased an Ozeki VoIP SIP SDK license
you need to activate it with the serial number. Without activation, you can only use the SDK
in trial mode. You will receive your serial number
from Ozeki right after purchase. The following steps demonstrate how you can
activate the trial version with your serial number:
First, you need to download the trial version of Ozeki VoIP SIP SDK.
For activating the trial version open the Ozeki VoIP SIP SDK License Manager (Figure 1).

Figure 1 - License Manager
As the next step, enter your serial number you have received from Ozeki in the Serial number edit box (Figure 2).

Figure 2 - Enter your serial number
Finally, you just need to click on the Activation button to make your license activated. If you enter a valid serial number and the activation is successful you will receive a notification about this fact (Figure 3).

Figure 3 - Activation successful
When you decide to purchase an Ozeki VoIP SIP SDK license you can select and order the suitable license at Ozeki VoIP SIP SDK licenses page right now.
For more information please feel free to contact us at info@voip-sip-sdk.com!
INTERMEDIATE
VoIP technology walkthrough
Softphone development
Webphone development
Mobile development
Voice recording
GETTING AROUND
Sitemap
Search the manual
API documentation
FAQ
Appendix


