csip-simple

Regarding G729 integration in pjsip

纵然是瞬间 提交于 2020-01-16 18:45:28
问题 I am querying on this because I am not a C expert .See if any one who has worked around it could help.I am integrating g729 in pjsip lib and I got g729 codec files from here.Here are I steps I have followed : First I have registered g729 in 'pjmedia/src/pjmedia-codec/audio_codecs.c' by putting this #if PJMEDIA_HAS_G729_CODEC /* Register G729 */ status = pjmedia_codec_g729_init(endpt); if (status != PJ_SUCCESS){ return status; } #endif Now I have two files 'pj_g729.c' and 'pj_g729.h' that I

Compilation fails in libvpx while building CSipSimple source

孤人 提交于 2020-01-13 06:54:08
问题 I am trying to build CSipSimple for android by following the steps mentioned here https://sourceforge.net/p/csipsimple/wiki/HowToBuild/?version=1 but facing following issue after executing make command :- make make[1]: Entering directory /home/tajintder/Desktop/Drive_D/CSipSimple-master/jni/libvpx' Cloning into 'sources'... fatal: repository 'https://code.google.com/p/webm.libvpx/' not found /bin/sh: 2: cd: can't cd to sources fatal: Not a git repository (or any parent up to mount point /home

Debugging native code in android under eclipse fails

北战南征 提交于 2019-12-19 12:37:11
问题 I'm trying to debug the native code in the "csipsimple" android app using the Debug As->Android Native Application option. I used this tutorial to do it. I keep getting these errors: [2013-06-09 17:24:24 - SipHome] Unknown Application ABI: [2013-06-09 17:24:24 - SipHome] Android [2013-06-09 17:24:24 - SipHome] Unknown Application ABI: [2013-06-09 17:24:24 - SipHome] NDK: [2013-06-09 17:24:24 - SipHome] Unknown Application ABI: [2013-06-09 17:24:24 - SipHome] Uses [2013-06-09 17:24:24 -

How to update OpenSSL version in CSipSimple?

情到浓时终转凉″ 提交于 2019-12-18 08:58:21
问题 I am using CSipSimple code for my application. But unfortunately, Google Playstore has raised a warning: You are using a vulnerable version of OpenSSL I want to update the OpenSSL version from existing code. Here is some reference which I have followed. CSipSimple-OpenSSL But I am stuck at step 5 there are no such command m: command not found Am I following incorrect steps? If any one have already done with this, then please help me or provide some steps/link. Any help would be really

Setup TLS + ZRTP For VOIP Using Asterisk and CSipSimple

萝らか妹 提交于 2019-12-13 08:15:00
问题 Im trying to setup voip exchange using asterisk ans CSipSimple as client, fol are the detials Server Side: Generate certificates for server and two clients Place the server cert in /etc/asterisk/keys/ sip.conf: [general] context=local allowguest=no alwaysauthreject=yes allow=gsm allow=ulaw allow=alaw directmedia=yes allowoverlap=no bindport=5061 tlsdontverifyserver=yes tlsenable=yes tlsbindaddr=192.168.0.119 tlscertfile=/etc/asterisk/keys/asterisk.pem tlscafile=/etc/asterisk/keys/ca.crt

How to add custom header while making a pjsip makecall()?

我怕爱的太早我们不能终老 提交于 2019-12-13 03:39:39
问题 I need to add one custom header for before making a sip call. please help me. Thanks in advance. 回答1: Finally i got the answer for my question. You should change your make makeSipCall() method. private boolean makeSipCall(String phoneNumber) { if(!created) return false; Log.i("MtaAPIImpl", (new StringBuilder("makecall : ")).append(phoneNumber).toString()); phoneNumber = (new StringBuilder("<sip:")).append(phoneNumber).append("@").append(sipServer).append(">").toString(); byte userData[] = new

Pjsip Use Sip-Specific Event Notification for Notify message

一个人想着一个人 提交于 2019-12-12 02:22:33
问题 I want to implement Notify event CallBack in CsipSimple here is the C code i have written My C/C++ files The pjsip_event_notification.h file #include <pjsip-simple/evsub.h> class EventCallBack { public: virtual ~EventCallBack() {} virtual void on_evsub_state(pjsip_evsub *sub, pjsip_event *event){} virtual void on_tsx_state(pjsip_evsub *sub, pjsip_transaction *tsx, pjsip_event *event){} virtual void on_rx_refresh(pjsip_evsub *sub, pjsip_rx_data *rdata, int p_st_code, pj_str_t **p_st_text,

Error while trying registering with pjsip: PJSIP_EUNSUPTRANSPORT

心不动则不痛 提交于 2019-12-09 23:08:06
问题 I'm developing a SIP client based on pjsip on Android (i'm using the csipsimple code as a reference for now). WHen I try to register the account I get the following error: Unable to generate suitable Contact header for registration: Unsupported transport (PJSIP_EUNSUPTRANSPORT) My code is almost the same as in here The sipServer string is the ip address of the registrar "192.168...." I have also tried not to specify the transport method like in the following code: int[] accId = new int[1];

Error while trying registering with pjsip: PJSIP_EUNSUPTRANSPORT

徘徊边缘 提交于 2019-12-04 15:59:31
I'm developing a SIP client based on pjsip on Android (i'm using the csipsimple code as a reference for now). WHen I try to register the account I get the following error: Unable to generate suitable Contact header for registration: Unsupported transport (PJSIP_EUNSUPTRANSPORT) My code is almost the same as in here The sipServer string is the ip address of the registrar "192.168...." I have also tried not to specify the transport method like in the following code: int[] accId = new int[1]; accId[0] = 1; pjsua_acc_config cfg = new pjsua_acc_config(); pjsua.acc_config_default(cfg); csipsimple

How to update OpenSSL version in CSipSimple?

こ雲淡風輕ζ 提交于 2019-11-29 15:16:07
I am using CSipSimple code for my application. But unfortunately, Google Playstore has raised a warning: You are using a vulnerable version of OpenSSL I want to update the OpenSSL version from existing code. Here is some reference which I have followed. CSipSimple-OpenSSL But I am stuck at step 5 there are no such command m: command not found Am I following incorrect steps? If any one have already done with this, then please help me or provide some steps/link. Any help would be really appreciated In case someone encounters the problem of using vulnerable version of OpenSSL in one of the native