This guide provides you brief configuration steps to start to use the
SLMediaGatewayEasyConnection Example. After configuration, please also check the
source code explanation page.
SLMediaGatewayEasyConnection sample program demonstrates how to connect to a server
that is supported by Ozeki VoIP SIP SDK from Silverlight applications easily
and quickly. It works as follows: the sample program connects to a server and
invites a method. As a result, the server returns a response to the Silverlight client.
Creating the project
Create a new Solution with a Silverlight 4 application in File->New Project menu
and also create a web application that will host the Silverlight application.
Add a Console Application project to the created Solution that will provide
the server implementation belonging to the Silverlight client application.
After making the first two steps, the Solution includes 3 projects: a Silverlight
4 application, an ASP web application and a Console Application as it can be seen
on Figure 1.
Figure 1 - Solution explorer
As the next step, the server-side and client-side reference of the VoIP SIP SDK
needs to be added to the appropriate project. VoIPSDK.dll is added to the server
side, SLClientSDK.dll is added to the Silverlight 4 application. (Please
note that this latter reference shouldn't be added to the web application.) Figure 2 demonstrates
the required results of these two steps:
Figure 2 - Added References
Since the server-side and client-side application is in one Solution, the
Project->Properties menu item - Common Properties - StartUp project - Multiple Startup project checkbox needs
to be selected; and the server and the client need to be set as startup project.
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.
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
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:
As the next step, enter your serial number you have received from
Ozeki at Serial number edit box (Figure 4).
Figure 4 - 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 5).