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

Is there any registration Listener for Pjsip pjsua2 (Android )?

I have been going through Android Pjsip pjsua2 sample app. It works but they didn't implemented registration listener. And couldn't find any good enough documentation as well. Eg for android native sip stack, they have registration listener for…
tomtom
  • 345
  • 2
  • 15
0
votes
1 answer

How to Show and Hide video during Pjsua2 video call in Android?

I am working on an android video call using Pjsua2 pjsip library. I got the video call working. How can i create a disable and enable back video during the call with just a click function during the call.
tomtom
  • 345
  • 2
  • 15
0
votes
3 answers

Dynamic array unknown size C

I have been working with pjsip for a while now, and in an effort to get it to work for UWP, I have encountered a seemingly fatal flaw in the base C code. I am getting errors 'addrs': unknown size and 'deprecatedAddrs': unknown size in the code…
Scornz
  • 380
  • 3
  • 14
0
votes
1 answer

PJSUA transfer call not working in python37 how ever it is working in python27

current_call.transfer("sip:1001@xx.xx.xx.xx") is working python2.7 How ever it is not working in python3.7 below is the error Original exception was: Traceback (most recent call last): File "trycall.py", line 151, in
Dev Jalla
  • 1,910
  • 2
  • 13
  • 21
0
votes
1 answer

PJSIP library not found at Swift 5

I am new in iOS. I am trying to build an app with PJSIP. I have build library for all architecture and include header file to project and also add search path:header and library search path project directory directory but I found error like this…
0
votes
0 answers

Android Pjsip: How to change the green frames color in the video call initialization

I'm implementing Video Call using the Pjsip library version 2.10, with the H264 codec (OpenH264 version 2.1.0) I'm facing an issue with the video call, where it always displays a green screen before the video streaming actually start. I want to…
ragheb87
  • 1
  • 2
0
votes
1 answer

Anroid pjsua2 sample sip app cannot regsiter?

I have just started playing around with pjsua2 sample android app. But i am not able to create a successful sip registration and couldnt understand userinterface properly as well. Do not know where to add caller and calle details as well. Any help…
tomtom
  • 345
  • 2
  • 15
0
votes
1 answer

Calling pj_thread_register from python

I'm trying to use pjsip via pjsua2 in python. I have a problem with threading. import pjsua2 as pj import threading # pjsua2 test function def pjsua2_test(): # Create and initialize the library ep = pj.Endpoint() ep.libCreate() if __name__…
Kjeld Flarup
  • 1,471
  • 10
  • 15
0
votes
1 answer

How to handle pjsip message?

I received some message like this: 07:27:06.671 pjsua_core.c .RX 544 bytes Request msg MESSAGE/cseq=20 (rdata0x7ff3a00086b8) from UDP 192.168.42.128:5060: MESSAGE sip:34020000002000000001@3402000000 SIP/2.0 Via: SIP/2.0/UDP…
solideo
  • 129
  • 1
  • 13
0
votes
2 answers

how to pjsua2 loop_fovever without quit?

With pjsua2 document, demo code like this: // Configure an AccountConfig AccountConfig acfg; acfg.idUri = "sip:test@pjsip.org"; acfg.regConfig.registrarUri = "sip:pjsip.org"; AuthCredInfo cred("digest", "*", "test", 0,…
solideo
  • 129
  • 1
  • 13
0
votes
1 answer

Pjsip/Pjsua video problem : frame buffer too small

I try to make a sip video call using Pjsip/Pjsua on my raspberry pi 3. Before coding, I'm using the main sample app to test different options. Everything seems to work (registering, audio calling,..) but when I try to start a video call, the…
0
votes
3 answers

No voice transmission, PJSIP behind NAT

I'm trying write softphone app with pjsua. Everything works well, sound is transmitted bidirectional, when I use Asterisk and softphones in the same local network - 192.168.10.XXX, but when I hide my softphone behind NAT, I can't hear any incoming…
rfael
  • 21
  • 1
  • 4
0
votes
3 answers

PJSUA changing between two or more different audio sound cards

I am working on this new project with pjsua2 which has two sound devices on computer, I wanted to work with both of them independently, but in linux when I plug the other sound card the second became the default sound card. So I am not able to…
Ahmad Afkande
  • 137
  • 2
  • 14
0
votes
2 answers

How to get media attribute from SDP body in pjsua2?

Is there any way to get the media attribute, which is part of the SDP body, from a callback function or similar with the PJSUA2-library? I'm looking for a way to get the remote media port and IP address that were sent in a SIP INVITE request. I know…
j3141592653589793238
  • 1,810
  • 2
  • 16
  • 38
0
votes
1 answer

pjsip TLS connect() error: [code=70006]: Not found (PJ_ENOTFOUND) on Mac but no reason specified

Getting TLS connect() error: [code=70006]: Not found (PJ_ENOTFOUND) with pjsua(2) with my program and pjsip integrated. The error does not seem to describe what is actually wrong. What's actually going on?? What's not found? The following is…
Mikey A. Leonetti
  • 2,834
  • 3
  • 22
  • 36