Skip to content
Snippets Groups Projects
Commit 89264d66 authored by Pierre-Luc Beaudoin's avatar Pierre-Luc Beaudoin
Browse files

Can't send DTMF when ringing!

parent 4b11749b
Branches
Tags
No related merge requests found
...@@ -263,7 +263,6 @@ sflphone_keypad( guint keyval, gchar * key) ...@@ -263,7 +263,6 @@ sflphone_keypad( guint keyval, gchar * key)
process_dialing(c, keyval, key); process_dialing(c, keyval, key);
break; break;
case CALL_STATE_CURRENT: case CALL_STATE_CURRENT:
case CALL_STATE_RINGING:
case CALL_STATE_BUSY: case CALL_STATE_BUSY:
case CALL_STATE_FAILURE: case CALL_STATE_FAILURE:
switch (keyval) switch (keyval)
...@@ -313,6 +312,14 @@ sflphone_keypad( guint keyval, gchar * key) ...@@ -313,6 +312,14 @@ sflphone_keypad( guint keyval, gchar * key)
break; break;
} }
break; break;
case CALL_STATE_RINGING:
switch (keyval)
{
case 65307: /* ESCAPE */
dbus_hang_up(c);
break;
}
break;
default: default:
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment