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
1
vote
1 answer

Android pjsip: First Incoming Video call gives CallmediaInfo status PJSUA_CALL_MEDIA_NONE

I am using Pjsip(v2.6) for VoIP Audio and Video call. I am facing issue in first Incoming Video Call. It always fails when I register a user and make a video call. When I was debugging my code, I found that I am receiving CallMediaInfo status as…
Aanal Shah
  • 1,946
  • 2
  • 20
  • 30
1
vote
1 answer

pjsua2 sample app outgoing calls getting 403 Forbidden response with TCP connection

I had successfully registered my sip client in pjsua sample app and is receiving incoming calls over UDP. But whenver I try to make an outgoing call it get disconnected with 403 FORBIDDEN error. And the connection created is TCP! I verified the…
Ameena Shafeer
  • 626
  • 3
  • 18
1
vote
1 answer

Having trouble with calling Endpoint.utilAddPendingJob(job)

I'm trying to call the PJSUA2 library from Python, it works fine but I hit a snag trying to call void utilAddPendingJob(PendingJob *job) which results in the following error TypeError: in method 'Endpoint_utilAddPendingJob', argument 2 of type…
Rob
  • 21
  • 3
1
vote
0 answers

PJSUA2 Android - Incoming calls drop after 32 seconds

I'm building a PJSUA2 (PJSIP 2.8) Android app and I have some issues: i.e. only on incoming call, call state remains in "PJSIP_INV_STATE_CONNECTING" and after 32 seconds the call drops. I'm looking for the cause of the issue since several days, I…
Ivano85
  • 98
  • 1
  • 11
1
vote
0 answers

How to enable SRTP with pjsip in android?

I'm setting TLS + SRTP on my VoIP app in android. So far i have compiled PJSIP 2.8 with OpenSSL 1.0.2g. making call without srtp works fine, but when i force to use SRTP, call in not make. I enable SRTP with following…
1
vote
1 answer

Pjsip call not disconnects when any one side goes out of network coverage

I am able to make calls, if anyone sides whether call initiator or receiver goes out of network coverage that time no voice packets transferring is possible, in fact when anyone side get reconnects the network, again call gets reconnects…
1
vote
0 answers

java.lang.Exception: who's calling? while making call over PJSUA

I am implementing PJSUA2 in my android application for voip call. Based on app requirement, sometimes I try to make fast calls, like starting the call and disconnecting it within 1 second and trying again connecting the call. During this, my App is…
Animesh Jena
  • 1,541
  • 1
  • 25
  • 44
1
vote
2 answers

How to make a call with Android pjsua2

I am a beginner with the pjsua2 technology, I managed to compile the pjsip technology and I use the example project "pjsua2 android". The application connects to my asterisk server, and can receive calls but can not make calls. I have created a…
jojupiter
  • 68
  • 1
  • 11
1
vote
0 answers

USE PJSIP to make SIP Calls

I used PJSIP Library and able to register user with server but i cannot make a call is it possible to make call without sip-client or to make to itself ,, cannot make calls with server and return SIP outbound status for acc 0 is not…
shahzaib
  • 11
  • 2
1
vote
0 answers

Send extra String data with the PJSUA2 call while making a call

I am implementing PJSUA2 in my app. Once the user makes a call, I am trying to add one extra String variable to the CallOpParam object, which is returning "" at the receiving side. Please let me know if you have any ideas. Thanks in advance. I have…
Animesh Jena
  • 1,541
  • 1
  • 25
  • 44
1
vote
1 answer

PJSIP Get arbitrary SIP header from incoming call

I am using PJSIP and PJSUA2+Python to implement a custom softphone for our agents. Right now, we are doing custom call display based on regex matches of the incoming caller-id number. This is a bit ugly as the we prepend _20, _21, _22, etc onto the…
axon
  • 688
  • 1
  • 7
  • 18
1
vote
0 answers

Integrate webrtc media in pjsip

I am trying to integrate webrtc media in pjsip. Can someone help me to do this? I am able to create webrtc sdp but pjsip is giving error pjsua_media.c .Call 1: initializing media.. pjsua_call.c . Error initializing media channel: Not Acceptable…
codeGeek
  • 259
  • 4
  • 17
1
vote
0 answers

Pjsip how to login in to sip account

I am working on pjsip app for iOS. But I am facing trouble to login into pjsip account after relaunching app. If anyone has any idea about it then please help.
user_iOS_Dev
  • 167
  • 1
  • 1
  • 12
1
vote
0 answers

Error on using pjsua2 in Netbeans

I compiled pjsip, and now I'm trying to use pjsua2 in netbeans for an linux application. Using Swig I was able to get the java code, witch I copied as a package of my project. The project is in github on this…
Eduardo Bonfa
  • 290
  • 1
  • 4
  • 15
1
vote
1 answer

How to use allow_contact_rewrite in pjsip in android

I am trying to build pjsip VoIP app for android.This is the following description given for property used in account configuration. /** * This option is used to update the transport address and the Contact * header of REGISTER request.…
Jeeva
  • 1,791
  • 2
  • 23
  • 42