Commit bd110c2f authored by Ghislain MARY's avatar Ghislain MARY

Fix call params when accepting an incoming call in the GTK application.

AVPF was always disabled the way it was done previously.
parent 632b8a35
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment