]> sjero.net Git - linphone/blobdiff - coreapi/linphonecore_jni.cc
Added SIPINFO/Rfc2833 JNI glue
[linphone] / coreapi / linphonecore_jni.cc
index 03d5c0df0a8402637187581a0b27f13e95fd15f1..46b04be9c192f7985477e79293d93f8fba0035c9 100644 (file)
@@ -1869,6 +1869,14 @@ extern "C" void Java_org_linphone_core_LinphoneCoreImpl_setUploadBandwidth(JNIEn
        linphone_core_set_upload_bandwidth((LinphoneCore *)lc, (int) bw);
 }
 
+extern "C" void Java_org_linphone_core_LinphoneCoreImpl_setUseSipInfoForDtmfs(JNIEnv *env, jobject thiz, jlong lc, jbool use){
+       linphone_core_set_use_info_for_dtmf((LinphoneCore *)lc, (bool) use);
+}
+
+extern "C" void Java_org_linphone_core_LinphoneCoreImpl_setUseRfc2833ForDtmfs(JNIEnv *env, jobject thiz, jlong lc, jbool use){
+       linphone_core_set_use_rfc2833_for_dtmf((LinphoneCore *)lc, (bool) use);
+}
+
 extern "C" void Java_org_linphone_core_LinphoneCoreImpl_setDownloadPtime(JNIEnv *env, jobject thiz, jlong lc, jint ptime){
        linphone_core_set_download_ptime((LinphoneCore *)lc, (int) ptime);
 }