Home --> Documentations --> PJSIP Reference

PJSUA API - High Level Softphone API

Very high level API for constructing SIP UA applications. More...


 Basic application creation/initialization, logging configuration, etc.
 PJSUA-API Signaling Transport
 API for managing SIP transports.
 PJSUA-API Accounts Management
 PJSUA Accounts management.
 PJSUA-API Calls Management
 Call manipulation.
 PJSUA-API Buddy, Presence, and Instant Messaging
 Buddy management, buddy's presence, and instant messaging.
 PJSUA-API Media Manipulation
 Media manipulation.
 Video support.

Detailed Description

A SIP User Agent API for C/C++

PJSUA API is very high level API for constructing SIP multimedia user agent applications. It wraps together the signaling and media functionalities into an easy to use call API, provides account management, buddy management, presence, instant messaging, along with multimedia features such as conferencing, file streaming, local playback, voice recording, and so on.

C/C++ Binding

Application must link with pjsua-lib to use this API. In addition, this library depends on the following libraries:

  • pjsip-ua,
  • pjsip-simple,
  • pjsip-core,
  • pjmedia,
  • pjmedia-codec,
  • pjlib-util, and
  • pjlib,

so application must also link with these libraries as well. For more information, please refer to Getting Started with PJSIP page.


Few samples are provided:

  • Samples: Simple PJSUA
    Very simple SIP User Agent with registration, call, and media, using PJSUA-API, all in under 200 lines of code.
    This is the reference implementation for PJSIP and PJMEDIA. PJSUA is a console based application, designed to be simple enough to be readble, but powerful enough to demonstrate all features available in PJSIP and PJMEDIA.


Please refer to PJSUA-API Basic API on how to create and initialize the API. And then see the Modules on the bottom of this page for more information about specific subject.


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.