]> sjero.net Git - linphone/blobdiff - coreapi/linphonecore.c
Added resetMissedCallsCount to linphone core and exported via JNI
[linphone] / coreapi / linphonecore.c
index 134d38d34936ef461293dd901cd5f1b7bb8e7be2..41b9e2ddad6549645d4fe60bcc74389c86e6567a 100644 (file)
@@ -3493,6 +3493,10 @@ int linphone_core_get_missed_calls_count(LinphoneCore *lc) {
        return lc->missed_calls;
 }
 
+void linphone_core_reset_missed_calls_count(LinphoneCore *lc) {
+       lc->missed_calls=0;
+}
+
 void linphone_core_remove_call_log(LinphoneCore *lc, void *data) {
        lc->call_logs = ms_list_remove(lc->call_logs, data);
        call_logs_write_to_config_file(lc);