pjsua2

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

你。 提交于 2019-12-23 03:13:07
问题 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 destination uri. it is in the format as sip:mobile-number@sip-server-ip:port here is my makeCall code : public void makeCall(View view) { //some code here.. MyCall call = new MyCall(account, id); CallOpParam prm = new CallOpParam(true); try { call

How to build PJSUA2 (swig) with Visual Studio 2015

你离开我真会死。 提交于 2019-12-22 08:17:58
问题 I try to compile PJSUA2 for Python. I could manage to compile the source with Visual Studio 2015 Community edition. My question is, how can I install the Python module now? The guide suggests to use make and make install. I tried to install also minwg, but it is not working as the project was compiled with VS. I have also tried to compile with minwg, but I never could succeed due to undefined requirements. Also official PJSUA guide recommend to use VS for Windows. Following settings have been

iOS Pjsip: Incoming Video Call Crash

柔情痞子 提交于 2019-12-13 03:06:57
问题 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 | PJMEDIA_VID_DEV_WND_RESIZABLE.rawValue; acc_cfg.vid_cap_dev = PJMEDIA_VID_DEFAULT_CAPTURE_DEV.rawValue; acc_cfg.vid_rend_dev = PJMEDIA_VID_DEFAULT_RENDER_DEV.rawValue; Here is the code I used when I accept the call: call_opt.aud_cnt = 1; call_opt.vid_cnt = self

PJSUA2 Android - Incoming calls drop after 32 seconds

天涯浪子 提交于 2019-12-11 15:09:50
问题 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 googled a lot and all what I found is: in most situations this issue is related to NAT management or network issues related to NAT. In a few words: in most cases the called party does not receive the ACK after answering the call. Finally I was able

Initiating call and receiving call in web browser using freeswitch

老子叫甜甜 提交于 2019-12-11 06:35:09
问题 I have a requirement, i have a web site in which i want to implement outgoing call and incoming call functionality. I am using freeswitch on windows as sip server, currently i am able to initiate call on local extensions using verto, how can i initiate outbound calls to mobile phone directly from browser and also able to receive the calls using browser. 回答1: Freeswitch has webrtc support, which means you can use SIP-webRTC client to register from browser and do IN/OUT calls. SIP-webRTC client

How to build PJSUA2 (swig) with Visual Studio 2015

社会主义新天地 提交于 2019-12-05 22:05:18
I try to compile PJSUA2 for Python. I could manage to compile the source with Visual Studio 2015 Community edition. My question is, how can I install the Python module now? The guide suggests to use make and make install. I tried to install also minwg, but it is not working as the project was compiled with VS. I have also tried to compile with minwg, but I never could succeed due to undefined requirements. Also official PJSUA guide recommend to use VS for Windows. Following settings have been applied to build from source: Swig location has been added to path JAVA_home system variable has been