PortSIP VoIP SDK Manual for Windows  16.2
PortSIP features our newest, supported, quality-assured VoIP SDK used by Several hundred companies around the world for easy VoIP application develop and quality-assured code.
Welcome to PortSIP VoIP SDK

Create your SIP-based application for multiple platforms (iOS, Android, Windows, Mac OS/Linux) with our SDK.

The rewarding PortSIP VoIP SDK is a powerful and versatile set of tools that dramatically accelerate SIP application development. It includes a suite of stacks, SDKs, and some Sample projects, with each of them enables developers to combine all the necessary components to create an ideal development environment for every application's specific needs.

The PortSIP VoIP SDK complies with IETF and 3GPP standards, and is IMS-compliant (3GPP/3GPP2, TISPAN and PacketCable 2.0). These high performance SDKs provide unified API layers for full user control and flexibility.

Getting Started

You can download PortSIP VoIP SDK Sample projects at our Website. Samples include demos for VC++, C#, VB.NET, Delphi XE, XCode (for iOS and Mac OS), Eclipse (Java for Android) with the sample project source code provided (with SDK source code exclusive). The sample projects demonstrate how to create a powerful SIP application with our SDK easily and quickly.

Contents

The sample package for downloading contains almost all of materials for PortSIP SDK: documentation, Dynamic/Static libraries, sources, headers, datasheet, and everything else a SDK user might need!

Website

Some general interest or often changing PortSIP SDK information will be posted on the PortSIP website in real time. The release contains links to the site, so while browsing you may see occasional broken links if you are not connected to the Internet. To be sure everything needed for using the PortSIP VoIP SDK has been contained within the release.

Frequently Asked Questions

1. Where can I download the PortSIP VoIP SDK for test?

All sample projects of the PortSIP VoIP SDK can be found and downloaded at: 
http://www.portsip.com/downloads
http://www.portsip.com/portsip-voip-sdk.

2. How can I compile the sample project?

        1. Download the sample project from PortSIP website. 
2. Extract the .zip file.
3. Open the project with your IDE:
C#, VB.NET, VC++: Visual Studio 2008 or higher.
Delphi: Delphi XE4 or higher.
4. Compile the sample project directly. The trial version SDK allows a 2-3 minutes conversation.

3. How can I create a new project with PortSIP VoIP SDK?

    C#/VB.NET:
1) Download the Sample project and extract it for C#/VB.NET.
2) Create a new "Windows application" project.
3) Copy the PortSIP_sdk.dll to project output directory: bin and bin.
4) Copy the "PortSIP" folder to project folder and add into Solution.
5) Inherit the interface "SIPCallbackEvents" to process the callback events.
6) Right-click the project, choose "Properties". Click "Build" tab, and then check the "Allow unsafe code" checkbox.
        For more details please read the Sample project source code.
    Delphi:
1) Download the Sample project and extract it.
2) Create a new "VCL Forms Application" project.
3) Copy the PortSIP_sdk.dll to project output directories.
4) Copy the "PortSIPLib" folder to project folder and add into this new project.
        For more details please read the Sample project source code.
    VC++:
1) Download and extract the sample project.
2) Create a new "MFC Application" project.
3) Copy the PortSIP_sdk.dll to project output directories.
4) Copy the "include/PortSIPLib" folder to project folder and add the ".hxx" files into project.
5) Copy the "lib" folder to project folder and link "PortSIP_sdk.lib" into project.
        For more details please read the Sample project source code.
 

4. How can I test the P2P call (without SIP server)?

1. Download and extract the SDK sample project ZIP file, compile and run the "P2PSample" project.

2. Run the P2Psample on two devices. For example, run it on device A and device B, and IP address for A is 192.168.1.10, IP address for B is 192.168.1.11.

3. Enter a user name and password on A. For example, user name 111, and password aaa (you can enter anything for the password as the SDK will ignore it). Enter a user name and password on B, for example: user name 222, password aaa.

4. Click the "Initialize" button on A and B. If the default port 5060 is already in use, the P2PSample will prompt "Initialize failure". In case of this, please click the "Uninitialize" button and change the local port, and click the "Initialize" button again.

5. The log box will appear "Initialized." if the SDK is successfully initialized.

6. To make call from A to B, enter: sip:222@1.nosp@m.92.1.nosp@m.68.1..nosp@m.11 and click "Dial" button; while to make call from B to A, enter: sip:111@1.nosp@m.92.1.nosp@m.68.1..nosp@m.10.
Note: If changed the local sip port to other port, for example, A is using local port 5080, and B is using local port 6021, make call 
from A to B, enter: sip:222@1.nosp@m.92.1.nosp@m.68.1..nosp@m.11:6021 and dial, to make call from B to A, enter "sip:111@192.168.1.10:5080".

5. Is the SDK is thread safe?

Yes, the SDK is thread safe. You can call any of the API functions without the need to consider the multiple threads. 
Note: the SDK allows to call API functions in callback events directly - except the "onAudioRawCallback", "onVideoRawCallback", "onReceivedRtpPacket", "onSendingRtpPacket" callbacks.

6. Does the SDK support native 64 bits?

Yes, both 32-bit and 64-bit are supported for SDK.

Support

Please send email to our Support team if you need any help.