Questions tagged [pjsua2]

PJSUA2 is an object-oriented abstraction above open source command line SIP user agent (softphone) PJSUA API. Use this tag for questions related to this type of OO abstraction.

PJSUA2 is an object-oriented abstraction above open source command line SIP user agent (softphone) PJSUA API. Use this tag for questions related to this type of OO abstraction.

152 questions
2
votes
1 answer

How to get "SIP header of incoming call" in PJSUA2?

I'm developing an android app which supports SIP using pjsip2.7 and pjsua2. I needed to set custom header to my sip call, which I had done, and I set Asterisk 13 Server to forward my header to other party. I could see in logs that my custom header…
2
votes
1 answer

Pjsip/pjsua timeout errors and resolve errors calling phone numbers after registering with voip.ms from Raspberry Pi

The Goal I'm trying to make a call to a telephone number. I'd like to be able to make a call from the raspberry pi, and also make a call to my voip.ms phone number and be able to answer or auto-answer and play some generic .wav file. My current…
radiomime
  • 118
  • 1
  • 1
  • 11
2
votes
1 answer

How to embed a native window into QML component?

I'm developing a cross-platform SIP application based on PJSUA2 for the core and QtQuick for the GUI. PJSUA2 provides an API for displaying the user's capture devices as well as the remote party video stream. Such an API exposes a native window…
csguth
  • 569
  • 3
  • 18
2
votes
0 answers

java.lang.UnsatisfiedLinkError: dlopen failed: library "libbcg729.so.0" not found pjsip

i am trying to build pjsip app for android using pjsip version 2.7 with g729. I am able to build g729 libraries using cmake and pjsip is able to recognize it.And i successfully built the so file. And i kept the sofile in jnifolder named…
Jeeva
  • 1,791
  • 2
  • 23
  • 42
2
votes
3 answers

How to build g729 for pjsipandroid

I am trying to build g729 codec for pjsip android. PJSIP Build link for G729Android I followed the link and i am able to build g729project. After succesfully build,it produces three directories named include, shared and lib. so when trying to build…
Jeeva
  • 1,791
  • 2
  • 23
  • 42
2
votes
0 answers

How to integrate PJSIP with Xamarin.Android

Business requirement: Developing mobile app for making calls and sending messages using PJSIP for platforms Android, iOS and Windows using Xamarin. Steps taken: Android: Build PJSIP for Android (.so file). Created native lib (.AAR) for…
2
votes
1 answer

PJSUA2 - Recording call to WAV in Windows with Null-Audio

I'm currently starting to work with PJSUA2. I want to develop an SIP client that accepts calls. When it accepts a call, I play a WAV file and record the input to a WAV file as well. PJSIP does not detect my default audio devices, but that's fine…
Niels
  • 223
  • 4
  • 14
2
votes
5 answers

PJSUA2 cannot make call from Android 6.0.1

I am building an app using pjsua2 library. The sample app coming with the library is working fine. But in my app, when I try to make a call using the below code, if (currentCall != null) {return;} String buddy_uri = "sip:" + number + "@" +…
2
votes
3 answers

How do I manage the audio output levels with PJSUA2 for Android

I have an Android project that uses PJSUA2 for VoIP communication and everything else works just fine. I am stymied however, with a problem where I cannot get the Volume controls to work in the Activity where my active call is shown. I have tried …
hanut
  • 505
  • 4
  • 24
1
vote
1 answer

How to improve quality video for pjsua2 (pjsip) for android

when working with video calls in android pjsua2 encountered the fact that the video is not rendered and pixels appear when the frame is changed How to fix this problem. I am using this code to assign parameters to a codec. codecParam.setEncFmt( …
azizconi1
  • 31
  • 6
1
vote
0 answers

Video calls on Raspberry Pi with PJSIP (PJSUA2) and Pi Camera

I am working on my bachelor thesis: VOIP Video Doorbell with one-way video. I am fighting with this a issue for a lot of hours. The issue is that I am unable to make videocalls via SIP work. I sucessfully connected audio calls, and even other…
DJ_Ironic
  • 21
  • 1
  • 4
1
vote
1 answer

How to create PJSUA2 Python 3 package?

I have a very hard time creating a PJSUA2 package for Python 3.x on Windows 10. I downloaded the source code from the pjsip site and I'm able to compile the C++ code without problems, but I cannot build the PJSUA2 module for Python. The docs mention…
hicawow924
  • 21
  • 4
1
vote
1 answer

PJSUA2 linux segmentation fault

I using PJSUA2 to make a python3 script for calling, my script is making the registration and calling but i'm getting "zsh: segmentation fault" I wonder if anyone can help me out, here is my code. python import time import pjsua2 as pj distAddrs =…
madapro
  • 21
  • 3
1
vote
0 answers

Crash in PJSUA2 version 2.7 (pjsip 2.11) after accept incoming video call

Have update android sip client to pjsua2 2.7 that used pjsip 2.11 and got the crash. Crash appers only for video call, audio works well. Seems the problem with codec. Could anybody help with this error? --------- beginning of crash 2022-02-24…
Dmitriy Puchkov
  • 1,530
  • 17
  • 41
1
vote
0 answers

PJSUA2 / C++: Unable to find default video device (PJMEDIA_EVID_NODEFDEV)

I try to excute the video demo application of pjproject "vidgui". When I click on the button "Start Preview" I receive this error message "Unable to find default video device (PJMEDIA_EVID_NODEFDEV)" Can you help me please? Thank you
1
2
3
10 11