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
2 answers

How to investigate and fix libpjsua2.so crash

SIGSEGV SEGV_MAPERR at 0x00000008 0 libpjsua2.so 0x56585a88 pj::Call::getInfo() const 1 libpjsua2.so 0x56546b44 std::allocator::allocator() I'm using pjsip for one of my hobby…
user12384512
  • 3,362
  • 10
  • 61
  • 97
5
votes
0 answers

Third-Party G.729 Implementation for iOS (32 and 64-bits)

I'm trying to find a good G.729A implementation (free or paid) to include in PJSip. I've found one that is being used in CSipSimple but I can't compile it for ARM64, only for ARMv7. I've already requested quotes to Vocal and Adaptive Digital. Anyone…
Nuno Centeio
  • 311
  • 3
  • 13
5
votes
1 answer

Pjsip compile error in iphone-simulator not able to setup in ios 7

I am trying to compile pjsip source code for iphone. My problem is when i compile this code for simulator ./configure- iphone works fine and i get Done configuring for iPhoneOS7.1.sdk. but when i run make dep command i get error echo…
BK_Suresh
  • 113
  • 1
  • 5
5
votes
5 answers

Compile PJSIP for iOS7

I am trying to compile PJSIP2.1.0 for iOS on Mac 10.9.(Xcode 5.0). But I'm getting some errors when I run ./configure-iphone. Below are the errors, configure-iphone: DEVPATH is not specified, using…
Siam
  • 162
  • 2
  • 9
5
votes
3 answers

linking a shared library with statics using CMake

cmake 2.8 gcc (GCC) 4.8.1 Edit ---------- Wrapping the static libraries in whole-archive works for every library except the pjmedia-videodev The problem now is that when I try and build I get the following error. cbar_factory_init':…
ant2009
  • 27,094
  • 154
  • 411
  • 609
5
votes
1 answer

How to decode SIP byte stream using PJSIP library?

I am trying to use pjsip library to decode the following SIP byte stream but I am getting segmentation fault. What's wrong with my code? #include int main() { char __MSG[] = { 0x49, 0x4e, 0x56, 0x49, 0x54, 0x45, 0x20, 0x73,…
B Faley
  • 17,120
  • 43
  • 133
  • 223
5
votes
2 answers

iOS: Receive media in background

I am developing SIP and VoIP based iOS application and requirement is that the application should be continuously running even in background also.I am using pjsip lib. I know that to run the iOS application in bacground,we need this Set…
lyon72
  • 51
  • 4
5
votes
2 answers

Direct VoIP call from one iOS device to another

I'am going to develop peer-to-peer VoIP iOS application. And want do it without any SIP proxy, SIP providers and other servers. Just VoIP calls frpm iOSdevice-to-iOSdevice. Both iOS device could be somewhere in Internet. Is it real in VoIP (with…
5
votes
1 answer

pjsip enable loudspeaker on ios des not work

I use this code to try to enable loudspeaker on iOS device. pjmedia_aud_dev_route route = PJMEDIA_AUD_DEV_ROUTE_LOUDSPEAKER; pj_status_t status = pjsua_snd_set_setting(PJMEDIA_AUD_DEV_CAP_INPUT_ROUTE, &route, PJ_FALSE); if (status != PJ_SUCCESS){ …
Alex Terente
  • 12,006
  • 5
  • 51
  • 71
4
votes
2 answers

Receiving voip calls while application is in background in ios

I think i have all the requirements to have an "alive" socket while the app is in background. That is to say: My application has voip and audio as its background modes. I'm using PJSIP as the SIP library, which is supposed to use CFReadStreams with…
HyLian
  • 4,999
  • 5
  • 33
  • 40
4
votes
1 answer

VoIP socket on iOS 16 and Xcode 14

I am developing an app which uses PJSIP library to maintain an open VoIP socket. Since updating to Xcode 14 and my device to iOS 16, the app crashes upon launch when trying to connect the VoIP socket. The crash log says the following: Application…
Yoni Reiss
  • 320
  • 2
  • 8
4
votes
1 answer

How can we handle multiple calls with pjsip and callkit

We are facing an issue regarding callKit Framework by iOS. We have to implement following functionalities in app. One to One call (Working fine). we can end and accept second call (Working fine). we can hold and accept calls (max 2 calls). we can…
4
votes
1 answer

Pjsua 2 android create account with same sip number but different ip addresses

I try to create multiple sip accounts which should work with different severs but only with one simultaneously, when one of the servers will be available. I easily can create accounts with different IP and SIP numbers and it's working OK. But in the…
Evgeniy Rechkov
  • 465
  • 4
  • 15
4
votes
1 answer

PJSIP : Crash on pj_sockaddr_get_port when moving iOS app to background and then to foreground

I have an iOS VOIP app using PJSIP v2.3.0. After the iOS 11 release, I have been seeing a lot of instances of the crash below. I have fabric (crashlytics) integrated with my app and this is the backtrace of the thread that crashed. Crashed:…
adsun
  • 773
  • 9
  • 30
4
votes
0 answers

Convert .mp3/.wav file into g729/amr/g711 codec file and vice versa using PJSIP

PJSIP is used for SIP Registering, audio/video Calling and supporting some other VoIP Call features. If you want to create an VoIP Application, you will create an application using their libraries. In this library, there are available lot of codecs…
Nandhakumar Kittusamy
  • 1,066
  • 12
  • 32