High performance VoIP SDK for .Net developers

VoIP SIP SDK

How to configure a C# open source VoIP softphone with WPF GUI using Ozeki SIP SDK

Ozeki C# VoIP SDK - C-sharp WPF softphone configuration
Download: WPF_Softphone.zip (14.6 MB)

You are on the right page for getting instructions on how to configure a C# open source VoIP softphone with WPF GUI using Ozeki SIP SDK. Follow the steps to experience how easy and efficient this sample program to use.

Just a quick check before start: Does your system meet the requirements?

Requirements

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

How to configure Ozeki WPF softphone sample program:

  1. Download and extract the sample program


  2. Load it into Project Visual Studio 2010


  3. For the proper operation of the program a minimal configuration is required:
  4. In the following section of PhoneWindow.xaml.cs file you need to replace some parameters:

    private void InitializeSoftPhone()
            {
                softPhone = SoftPhoneFactory.CreateSoftPhone("192.168.91.42", 5700, 5750, 5780);
                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.RegisterPhoneLine(phoneLine);
            }
    


    In this line you need to replace the local IP address of the running system instead of "your local IP Address" section:

     softPhone = SoftPhoneFactory.CreateSoftPhone("your local IP Address", 5700, 5750, 5780);
     


    Then you need to provide the user data of the chosen SIP PBX as the data of the SIPAccount object, similarly to the following line:

    phoneLine = softPhone.CreatePhoneLine(new SIPAccount(true, "oz891", "oz891", "oz891", "oz891", "192.168.91.212", 5060));
    

  5. When you are finished with it you only need to build and run the program.

Which Ozeki SDK license you need

The licensing of Ozeki VoIP SIP SDK is based on the numbers of simultaneous calls that 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 purchase 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

The next step is to enter your serial number you have received from Ozeki at Serial number edit box (Figure 2).


Figure 2 - Enter your serial number

Finally, you just need to click on 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

In conclusion...

With the help of this guide it is easy to install this sample program. You can experience the benefits this solution offers and you can see through this sample how versatile this product is.

For more information please do not hesitate to contact us at: info@voip-sip-sdk.com!

The next step is to check the source code of the WPF softphone sample program to get an overall view!