Permalink
Browse files

WHISTLE-1441: handle unused DTMF signal

  • Loading branch information...
1 parent 48b5d36 commit a6266f220ad3c03a85456d8ecbab4a3855db26c7 James Aimonetti committed Dec 6, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 whistle_apps/apps/acdc/src/acdc_queue_fsm.erl
@@ -449,6 +449,9 @@ connecting({dtmf_pressed, DTMF}, #state{caller_exit_key=DTMF
acdc_queue_listener:exit_member_call(Srv),
acdc_stats:call_abandoned(AcctId, QueueId, whapps_call:call_id(Call), ?ABANDON_EXIT),
{next_state, ready, clear_member_call(State)};
+connecting({dtmf_pressed, _DTMF}, State) ->
+ lager:debug("caller pressed ~s, ignoring", [_DTMF]),
+ {next_state, connecting, State};
connecting({timeout, ConnRef, ?CONNECTION_TIMEOUT_MESSAGE}, #state{queue_proc=Srv
,connection_timer_ref=ConnRef

0 comments on commit a6266f2

Please sign in to comment.