Skip to content

Commit

Permalink
PISTON-371: missed change in paused state 'originate_uuid' (2600hz#6568)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfinke authored and jamesaimonetti committed Jun 4, 2020
1 parent 21769cc commit eb53a39
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions applications/acdc/src/acdc_agent_fsm.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1256,9 +1256,7 @@ paused('cast', {'member_connect_win', JObj, 'same_node'}, #state{agent_listener=

{'next_state', 'paused', State};
paused('cast', {'originate_uuid', ACallId, ACtrlQ}, #state{agent_listener=AgentListener}=State) ->
lager:debug("ignoring an outbound call that is the result of a failed originate"),
acdc_agent_listener:originate_uuid(AgentListener, ACallId, ACtrlQ),
acdc_agent_listener:channel_hungup(AgentListener, ACallId),
{'next_state', 'paused', State};
paused('cast', Evt, State) ->
handle_event(Evt, 'paused', State);
Expand Down

0 comments on commit eb53a39

Please sign in to comment.