diff --git a/applications/callflow/src/module/cf_voicemail.erl b/applications/callflow/src/module/cf_voicemail.erl index 1f5a5def86e..0115a2942c9 100644 --- a/applications/callflow/src/module/cf_voicemail.erl +++ b/applications/callflow/src/module/cf_voicemail.erl @@ -1063,7 +1063,7 @@ forward_message(AttachmentName, Length, Message, SrcBoxId, #mailbox{mailbox_numb %% user provides a valid option %% @end %%------------------------------------------------------------------------------ --type message_menu_returns() :: {'ok', 'keep' | 'delete' | 'return' | 'replay' | 'prev' | 'next' | 'forward'}. +-type message_menu_returns() :: {'ok', 'keep' | 'delete' | 'return' | 'replay' | 'prev' | 'next' | 'forward' | 'rewind' | 'fastforward'}. -spec message_menu(mailbox(), kapps_call:call()) -> {'error', 'channel_hungup' | 'channel_unbridge' | kz_json:object()} | diff --git a/applications/ecallmgr/src/ecallmgr_call_command.erl b/applications/ecallmgr/src/ecallmgr_call_command.erl index 094632dca69..3356caf9c72 100644 --- a/applications/ecallmgr/src/ecallmgr_call_command.erl +++ b/applications/ecallmgr/src/ecallmgr_call_command.erl @@ -1354,7 +1354,7 @@ tts(Node, UUID, JObj) -> %% @doc Playback command helpers %% @end %%------------------------------------------------------------------------------ --spec playseek(atom(), kz_term:ne_binary(), kz_json:object()) -> fs_apps(). +-spec playseek(atom(), kz_term:ne_binary(), kz_json:object()) -> fs_app(). playseek(_Node, _UUID, JObj) -> Duration = kz_json:get_ne_binary_value(<<"Duration">>, JObj), Args = case kz_json:get_ne_binary_value(<<"Direction">>, JObj) of diff --git a/core/kazoo_call/src/kapps_call_command.erl b/core/kazoo_call/src/kapps_call_command.erl index 6866f3b22aa..955434956c5 100644 --- a/core/kazoo_call/src/kapps_call_command.erl +++ b/core/kazoo_call/src/kapps_call_command.erl @@ -1544,7 +1544,7 @@ b_seek(Direction, Duration, Call) -> wait_for_noop(Call, seek(Direction, Duration, Call)). -spec seek(atom(), kz_term:api_pos_integer(), kapps_call:call()) -> kapps_api_std_return(). -seek(_Direction, 0, _Call) -> +seek(_Direction, 0, _Call) -> ok; seek(Direction, Duration, Call) -> NoopId = noop_id(), @@ -2481,7 +2481,6 @@ collect_digits(MaxDigits, Timeout, Interdigit, NoopId, Terminators, FlushOnDigit ,terminators=Terminators ,call=Call ,flush_on_digit=FlushOnDigit - ,after_timeout=kz_term:to_integer(Timeout) }). -spec do_collect_digits(wcc_collect_digits()) -> collect_digits_return(). @@ -2512,7 +2511,7 @@ do_collect_digits(#wcc_collect_digits{max_digits=MaxDigits do_collect_digits(Collect#wcc_collect_digits{after_timeout=kz_time:decr_timeout(After, Start)}); {'ok', Digit} -> %% DTMF received, collect and start interdigit timeout - FlushOnDigit + FlushOnDigit andalso Digits =:= <<>> andalso flush(Call),