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

How communicate two thread, using a "Interface Class" with Qt and C++

I am using the Qt and i am trying call a method from main thread (navigate to other tab) when a event ocorr in other thread (pjsip library receive a call). I make a class to use how interface your name is "SipHandlerController". I extend this class…
Sileno Brito
  • 449
  • 1
  • 13
  • 31
0
votes
0 answers

PJLIB_UTIL_EDNSNOWORKINGNS issue in pjsip

Using PJSIP library version 2.7.2 Issue : Outgoing call for specific iPV6 provider pjsua_call_make_call(the_acc_id, &uri, &call_opt, NULL, NULL, &call_id) Error Log 10:XX.16.XXX pjsua_core.c ..Trying STUN server test2.XXXXXX.ca IPv4 (1…
ios developer
  • 3,363
  • 3
  • 51
  • 111
0
votes
1 answer

Pyhthon pjsip how to identify receiver has disconnected the call

i am making call from my raspberry pi using (python pjsua ) . if receiver has disconnected. i am unable to identify that call is disconnected. I intend to create this for a land phone to cellphone VoIP call transferring device . i haven't write the…
Seyon Seyon
  • 527
  • 4
  • 14
0
votes
1 answer

Asterisk max calls

I am trying to do a stress test on the asterisk server. I have created multiple accounts that call each other. For example 1001 calls -----> 1002 1003 calls -----> 1004 1005 calls -----> 1006 Somehow when the server gets to 64 active calls it keeps…
Wesley Schravendijk
  • 483
  • 2
  • 6
  • 21
0
votes
1 answer

Ping mechanism using PJSIP

How to find the sip server and port is reachable using pjsip library? I have been advised to use pjsip_options_method, but I don't know how to use this and if you have any better solution to suggest, please do here.
RJV Kumar
  • 2,408
  • 1
  • 19
  • 28
0
votes
1 answer

How to detect in PJSUA2 that a call was unsuccessfull?

If i start a call in SIP / PJSUA2 using the CALL function, the OnIncomingCall event in the SIPAccount fires. However, a call CAN fail (non existing target account, or the callee does not answer). Where in SIP or PJSUA2 can i detect, this? Preferably…
real_yggdrasil
  • 1,213
  • 4
  • 14
  • 27
0
votes
1 answer

Python PJSIP DTMF error "Invalid value or argument (PJ_EINVAL)"

I have compiled the source with version 2.7.1 along with python 3.6. PJSIP works excellent as described. I have encountered an issue where when sending the DTMF, What am i doing: Registering the account Making a call Checking whether the Media…
vrOom
  • 23
  • 1
  • 5
0
votes
1 answer

Error while running PJSUA

I'm trying to add PJSIP to an android project and make a test run. I followed the official documentation of PSIP I'm getting the following error when running the project E/art: No implementation found for void…
Jouke
  • 459
  • 1
  • 7
  • 20
0
votes
0 answers

How to suppress exceptions coming from assemblies

I have a winforms application that uses pjsua2 (a SIP protocol) The winforms is a 64 bit application with framework 4.7. The pjsua2 is a x86 assembly. When i destroy the PJSUA2 instance, it raises an exception. Oddly, it is not caught by the…
real_yggdrasil
  • 1,213
  • 4
  • 14
  • 27
0
votes
1 answer

PJSIP codec decode() error: Codec frame is too short (PJMEDIA_CODEC_EFRMTOOSHORT) [err:220082]

I have developed a softphone app to allow my user to communicate with the door station (with video integrated), everything is fine if i dial from my app to the door station, i have audio, i have video. But when i dial from door station to my app, i…
0
votes
1 answer

Android PJSIP openh264 usage issue

I'm working on voip video client application, witch is using PJSIP(PJSUA2) for client side and Elastics(ASTERISK) as a proxy-server. I have already built the library according tutorial from pjsip.org and improved it into my…
0
votes
1 answer

How to remove sip-id after contacturi in contactheader in pjsip when using TLS

I am able successfully register to my sip server using pjsip. But when sending register from pjsip using tls transport, there happens to be extra string attached to the contact header. Contact:…
Jeeva
  • 1,791
  • 2
  • 23
  • 42
0
votes
0 answers

Handling multiple accounts in PJSUA2

I'm making an Android VoIP app using PJSUA2 library. There is one Account instance and I'm calling account.create(accountConfig) method when logging in. If I keep on giving wrong credentials, same function is called repeatedly on the same account…
Rounak
  • 301
  • 3
  • 11
0
votes
1 answer

Pjsip app crashes on pj_thread_register([strName cStringUsingEncoding:NSUTF8StringEncoding], a_thread_desc, &a_thread); line

2 times I need to register external thread to pjsip. First time when I register thread to call pjsip registration function to register to asterisk server, that registration goes all well and user also gets register to asterisk server. but when…
user_iOS_Dev
  • 167
  • 1
  • 1
  • 12
0
votes
1 answer

PJSUA not responding with INVITE containing Authorization header when SIP server sends 401 unauthorized

I'm trying to get PJSUA to run on a Raspberry Pi so I can place calls. I'm using known good credentials for authentication. I've got all the auth data in a config file I call when opening PJSUA: pjsua --config-file ~/pjsua.conf ~/.pjsua.conf --id…
bdx
  • 3,316
  • 4
  • 32
  • 65
1 2 3
10
11