static void misc_config_read (LinphoneCore *lc) {
LpConfig *config=lc->config;
lc->max_call_logs=lp_config_get_int(config,"misc","history_max_size",15);
+ lc->max_calls=lp_config_get_int(config,"misc","max_calls",NB_MAX_CALLS);
}
static void linphone_core_init (LinphoneCore * lc, const LinphoneCoreVTable *vtable, const char *config_path,
lc->ringstream=NULL;
}
+int linphone_core_get_max_calls(LinphoneCore *lc) {
+ return lc->max_calls;
+}
+
+
typedef struct Hook{
LinphoneCoreIterateHook fun;
void *data;