diff --git a/sflphone-client-gnome/src/actions.c b/sflphone-client-gnome/src/actions.c index cf1bf134ca9caf6a25b61f2d49bdaf00149fce18..7fa311ed29ef4ade3b258a115cf8a6867d043675 100644 --- a/sflphone-client-gnome/src/actions.c +++ b/sflphone-client-gnome/src/actions.c @@ -294,7 +294,7 @@ sflphone_hang_up() void sflphone_pick_up() { - + printf("sflphone_pick_up\n"); call_t * selectedCall = calltab_get_selected_call(active_calltree); if(selectedCall) { @@ -328,6 +328,10 @@ sflphone_pick_up() break; } } + else { + sflphone_new_call(); + } + } void @@ -536,6 +540,8 @@ sflphone_new_call() call_t *c; gchar *from, *to; + + printf("sflphone_new_call\n"); sflphone_on_hold(); // Play a tone when creating a new call