From bd110c2fd47eae00f4dcf6b0ca0f417078e45350 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 26 Oct 2015 14:28:48 +0100 Subject: [PATCH] Fix call params when accepting an incoming call in the GTK application. AVPF was always disabled the way it was done previously. --- gtk/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/main.c b/gtk/main.c index 0fbc92423..148fb219d 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -898,7 +898,7 @@ static gboolean linphone_gtk_start_call_do(GtkWidget *uri_bar){ static void accept_incoming_call(LinphoneCall *call){ LinphoneCore *lc=linphone_gtk_get_core(); - LinphoneCallParams *params=linphone_core_create_default_call_parameters(lc); + LinphoneCallParams *params = linphone_core_create_call_params(lc, call); gchar *record_file=linphone_gtk_get_record_path(linphone_call_get_remote_address(call),FALSE); linphone_call_params_set_record_file(params,record_file); linphone_core_accept_call_with_params(lc,call,params);