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

Why does pjsua build shows error after Setting Windows(/SUBSYSTEM:WINDOWS) as Linker-> Subystem property in Visual Studio 2017

I tried compiling pjproject-2.9 as per the doc on Windows 10 x64. I tried the following commands. All ran successfully (i) ./configure (ii) make && make install I'm using Visual Studio 2017. For building the projects, I followed the procedure given…
0
votes
1 answer

Android Pjsip: Audio Conference Call

I am implementing Audio Conference Call in Android using Pjsip library v2.6. What I have done is: Call A -> B Put B on hold Call A -> C Re-invite B The issue I am facing is, I can hear voice from A -> B and A -> C. But there is no voice transmission…
Aanal Shah
  • 1,946
  • 2
  • 20
  • 30
0
votes
0 answers

iOS Pjsip: Incoming Video Call Crash

When I recieve incoming Video Call, my application got crashed. Here is the code for Video Configuration: acc_cfg.vid_in_auto_show = 1; acc_cfg.vid_out_auto_transmit = 1; acc_cfg.vid_wnd_flags = PJMEDIA_VID_DEV_WND_BORDER.rawValue |…
Aanal Shah
  • 1,946
  • 2
  • 20
  • 30
0
votes
0 answers

Pjsip Android: How to use PjCamera class to display user preview

I have developed Video Call but currently facing one issue of displaying user preview(own preview: Currently I have used SurfaceView to display this preview code). Pjsip library itself using Camera API to sending frames to other user. There is a…
Aanal Shah
  • 1,946
  • 2
  • 20
  • 30
0
votes
0 answers

Android Pjsip Video Call: After Video Call ended, app suddenly got crashed

I have successfully implemented SIP Video Call using Pjsip Library and tested in Samusng, Google Pixel devices. When I was testing it in Nexus 5 and Nexus 6, it suddenly got crashed. When I checked the crash in Android Studio, it was in Pjsip…
Aanal Shah
  • 1,946
  • 2
  • 20
  • 30
0
votes
0 answers

How to "import pjsua" in python on MAC

Am using python 2.7 and got error like "ImportError: No module named _pjsua" while using "import pjsua". I refered and tried some solution but no luck on those solutions. pjsua: unable to import pjsua python module Traceback (most recent call…
Moni
  • 1
  • 1
0
votes
1 answer

Sip Application with pjsip crashes on certain android devices

I tried testing my pjsip app with 10 devices. Out of which app crashed with certain devices. Below is the list of those android devices. SUCCESSFULL SAMSUNG J5 (ARMV7) SM-J2 60G (ARMV7) REDMI NOTE 5 (AARMV8-A) IBRIT SPEEDX (ARMV7) REALME C2…
Ameena Shafeer
  • 626
  • 3
  • 18
0
votes
0 answers

import pjsua: DLL load failed: %1 is not a valid Win32 application

When i try to import pjsua it's showing below error in windows python x64 bit Traceback (most recent call last): File stdin, line 1, in ImportError: DLL load failed: %1 is not a valid Win32 application. I'm using Python 2.7 and these are…
PHP dev
  • 410
  • 1
  • 7
  • 23
0
votes
1 answer

How to play beep audio file during outgoing call and transmit to receiver

We have implemented pjsua2 library for calls. We are facing some issue in playing audio during outgoing calls. We have also implemented call recording functionality which is working fine. I am not sure how to play a wav file during call which can be…
Solution Soni
  • 183
  • 2
  • 2
  • 11
0
votes
1 answer

How to remove ob parameter in contact in pjsip Android?

In my sip register messages from Android dialer app which uses pjsip stack seems to send ob parameter in contact. How to remove this parameter in Android? This is contact header from my register message send by my Android dialer. Contact:…
Jeeva
  • 1,791
  • 2
  • 23
  • 42
0
votes
1 answer

I want to develop an android VOIP app using PJSIP stack by its high level api i.e. PJSUA2

I want to develop an Android VOIP app, for which I've chosen PJSIP library. So far I have searched this, but all the help and stuff are quite old like 3 to 4 years old. Its high level API is PJSUA2 (C++) but most of the help and community problems…
Azhar
  • 1
0
votes
0 answers

PJSUA2: Contact header uri length limit

I'm building an android VOIP application with push notifications support, based on PJSUA2. I need to send the push notification (FCM) token to the server (Asterisk in my case) as contact uri parameter, so that I can retrieve it with a script from…
Ivano85
  • 98
  • 1
  • 11
0
votes
1 answer

App crashes on starting after closing it by calling finish() on activity

I am working on an app based on PJSUA2. App works fine except when I close the app and try to restart it, It crashes with the below message: 12:23:32.847 evsub0x95b1d21 ........Subscription state changed NULL --> SENT 12:23:32.848 pjsua_pres.c …
Animesh Jena
  • 1,541
  • 1
  • 25
  • 44
0
votes
1 answer

PJSip and runtime camera permission?

I am working on video support via pjsip/pjsua2 for android. My problem is with runtime camera permisson. No matter if I grant the permission, video always fails…
urSus
  • 12,492
  • 12
  • 69
  • 89
0
votes
0 answers

Failure when try register pjsua2 over NAT

I am trying register the pjsua2 "(pjsip)" at a pabx sip, this register and work fine when not have nat, but when have nat it do not register. I am using the standard settings used by demo. bool SipAccount::start(){ this->ep.libCreate(); //…
Sileno Brito
  • 449
  • 1
  • 13
  • 31