Questions tagged [pjsip]

Open source implementation of necessary VoIP protocols SIP, RTP, NAT Traversal suitable for desktop and smartphones. Dual-licensed under GPL and proprietary.

Features

Open Source
Source is available for public scrutiny.
High Performance
Thousands of calls can be processed per second on a typical Intel P4/2.4GHz desktop machine. More can be expected with proper server hardware and more or higher processor specs.
Small Footprint, Very Scalable
Scale down to low profile/embedded/small footprint SIP devices, or scale up to servers with mutlple processors using the same SIP stack source tree.
Portable
32bit, 64bit, big/little endian, any OS.
Extensive Documentation
There can never be enough documentation, so we try to provide readers with hundreds of pages worth of documentations (some are generated from the source, some are handwritten documents).

Useful Links

PJSIP Homepage
FAQ
Documentation
Download Source

1053 questions
5
votes
1 answer

How can I understand that the remote party is stopped its video in pjsip

For an iOS application, I need to know that when the remote party is stopped its video for an existing call. Is there any API or event that triggered by pjsip library? Thanks in advance for your help.
Erhan
  • 908
  • 8
  • 19
5
votes
3 answers

how to pause and unpause video transmission using Android Pjsua 2?

I wish to pause and unpause video transmission in video call on fly without dropping Audio call using Android Pjsua2 library. But some how i am not able to understand how to implement that feature to sample android pjsua2 app. Any help would be…
tomtom
  • 345
  • 2
  • 15
5
votes
2 answers

Is it possible to use pjsua2 in python to use AudioMedia Memory/Buffer-based Playback Port in real time?

I'm developing a SIP client using python, based on pjsua2. I have a custom Call class based on python wrapper call and my code is able to get an active connection. On my custom onCallMediaState, I have access to the Audio Conference Bridge: def…
vgonisanz
  • 11,831
  • 13
  • 78
  • 130
5
votes
1 answer

How to get the audio stream from PJSIP when there is no audio hardware device

I want to use PJSIP's C API to record the incoming audio to a file on a machine with no hardware sound device . I'm unsure about the details, but the sparse documentation for PJSIP suggests it should be possible through the pjsua_set_null_snd_dev()…
JimmyNJ
  • 1,134
  • 1
  • 8
  • 23
5
votes
2 answers

How to close Callkit screen after VOIP call disconnected

I am trying to remove callkit screen once my voip call is disconnected by source or destination. I used this code CXEndCallAction *endaction = [[CXEndCallAction alloc] initWithCallUUID:[NSUUID UUID]]; CXCallController *callController =…
Megha Parmar
  • 248
  • 2
  • 15
5
votes
2 answers

raspiberry pi pjsip compile error: emmintrin.h no such file or directory

I'm trying to compile PJSIP (version 2.6) on my Raspberry Pi 3 model B. While running make dep && make, I get this error: ../../webrtc/src/webrtc//system_wrappers/source/cpu_features.cc …
szhansen
  • 51
  • 1
  • 3
5
votes
1 answer

How to play call waiting beep sound when a second call comes to my iOS voip app?

I'm building an iOS voip app using PJSip library. I am using CallKit also. During an active call, if another call comes, the call waiting screen with hold & accept, end & accept.. is shown. But there is no beep sound so that the user can get…
Rounak
  • 301
  • 3
  • 11
5
votes
1 answer

Why is NDK generating shared library for x86 with text relocation even after setting -fPIC flag?

I'm using PJSIP/PJSUA2 with Android project. I've built libpjsua2.so shared library for armeabi, armeabi-v7 and x86 with -fPIC flag. The libs are also linked with OpenSSL 1.0.2h statically which were built with -fPIC flag. All libs loads properly on…
MARK002-MAB
  • 772
  • 8
  • 18
5
votes
3 answers

pjsip iOS handling ip change during call

I want to handle ip change form wifi to 4g and back during an ongoing call using pjsip on ios. I have followed all the steps form pjsip website: https://trac.pjsip.org/repos/wiki/IPAddressChange and here I have found that the call is disconnected…
Alex Terente
  • 12,006
  • 5
  • 51
  • 71
5
votes
1 answer

Register pjsip account using Tls setting in pjsua

I am using Pjusa for Voip, I have done communication through UDP and TCP but could not communitcate through TLS setting` TlsConfig tlsConfig = new TlsConfig(); File cacheDir = new File(ctx.getCacheDir(), "ca"); InputStream input =…
Munir
  • 219
  • 3
  • 11
5
votes
3 answers

Switching camera from front to back in pjsip android

I am working on pjsip video calling app. I want to switch preview camera in an ongoing call. Here is the code that I am trying. private void switchCamera(boolean isFront) { try { int w = (int)…
Manoj
  • 2,799
  • 5
  • 30
  • 49
5
votes
1 answer

PJSUA Error on sip registration with c

so i am writing a soft phone client with PJSUA using C. So first i tried out an example given from pjsip-homepage. Now i faced an error on registration to my asterisk-server, but i couldn't figure out why this happens. I can make successfully calls,…
Obi-Wan
  • 846
  • 1
  • 11
  • 26
5
votes
1 answer

Build PJSIP for Android on Windows?

I am beginner with Android and I have to make a voip app and after searching I found that the better opensource library for that is PJSIP. I download the below things to build the PJSIP library: PJSIP from here Android NDK SWIG ...But I don't…
Ahmed Gamal
  • 1,666
  • 1
  • 17
  • 25
5
votes
2 answers

Compiling pjsip for iOS 4.0

I've been having issues with compiling pjsip for iOS 4.0. I am using the latest trunk version from SVN and keep getting a portaudio error. When using the piedmontwireless guide: http://www.piemontewireless.net/PJSip155_and_iPhoneSDK312 I get a…
Schroedinger
  • 1,273
  • 14
  • 32
5
votes
3 answers

(180 ringning)No ringing tone while connecting call android pjsip (pjsua2)

I have implemented a project for VOIP using PJSIP(PJSUA2). Everything is fine, but I am not hearing ringing sound when I am calling some one. But other end, he is receiving call. Here, We can not judge that call is connecting to other one. Please…
Gangadhar Nimballi
  • 1,534
  • 3
  • 18
  • 46