Skip to content

Commit

Permalink
fix return from handle_intercepted (2600hz#2888)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazedo authored and icehess committed Dec 6, 2016
1 parent 5f01456 commit f548ac5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions applications/ecallmgr/src/ecallmgr_call_control.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1250,8 +1250,7 @@ handle_transferor(_Props, #state{fetch_id=_FetchId
}=State) ->
{'noreply', State}.

-spec handle_intercepted(atom(), ne_binary(), kz_proplist()) ->
'ok'.
-spec handle_intercepted(atom(), ne_binary(), kz_proplist()) -> 'ok'.
handle_intercepted(Node, CallId, Props) ->
_ = case {props:get_value(<<"Core-UUID">>, Props)
,props:get_value(?GET_CUSTOM_HEADER(<<"Core-UUID">>), Props)
Expand All @@ -1271,7 +1270,8 @@ handle_intercepted(Node, CallId, Props) ->
UUID = props:get_value(<<"intercepted_by">>, Props),
CDR = props:get_value(?GET_CCV(<<?CALL_INTERACTION_ID>>), Props),
ecallmgr_fs_command:set(Node, UUID, [{<<?CALL_INTERACTION_ID>>, CDR}])
end.
end,
'ok'.

-spec handle_event_info(ne_binary(), kzd_freeswitch:data(), state()) ->
{'noreply', state()} |
Expand Down

0 comments on commit f548ac5

Please sign in to comment.