Skip to content
Snippets Groups Projects
Commit 34fd4562 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Fix transfer case for call duration

parent 4e7e439d
No related branches found
No related tags found
No related merge requests found
......@@ -245,6 +245,7 @@ sflphone_hang_up()
break;
case CALL_STATE_TRANSFERT:
dbus_hang_up (selectedCall);
(void) time(&selectedCall->_stop);
break;
default:
g_warning("Should not happen in sflphone_hang_up()!");
......@@ -277,6 +278,7 @@ sflphone_pick_up()
break;
case CALL_STATE_TRANSFERT:
dbus_transfert (selectedCall);
(void) time(&selectedCall->_stop);
break;
case CALL_STATE_CURRENT:
sflphone_new_call();
......@@ -545,6 +547,7 @@ sflphone_keypad( guint keyval, gchar * key)
case 65293: /* ENTER */
case 65421: /* ENTER numpad */
dbus_transfert(c);
(void) time(&c->_stop);
break;
case 65307: /* ESCAPE */
sflphone_unset_transfert(c);
......
......@@ -105,9 +105,17 @@ call_button( GtkWidget *widget, gpointer data )
sflphone_place_call(newCall);
if( active_calltree == history ) switch_tab();
}
}else
else
{
sflphone_new_call();
if( active_calltree == history ) switch_tab();
}
}
else
{
sflphone_new_call();
if( active_calltree == history ) switch_tab();
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment