Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

WHISTLE-42: further modifications for silence detection

  • Loading branch information...
commit bad81267428b14eb75230f906bea303beb4c661a 1 parent 874470b
@k-anderson k-anderson authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 whistle_apps/apps/callflow/src/cf_call_command.erl
View
4 whistle_apps/apps/callflow/src/cf_call_command.erl
@@ -562,7 +562,7 @@ record(MediaName, Terminators, Call) ->
record(MediaName, Terminators, TimeLimit, Call) ->
record(MediaName, Terminators, TimeLimit, <<"200">>, Call).
record(MediaName, Terminators, TimeLimit, SilenceThreshold, Call) ->
- record(MediaName, Terminators, TimeLimit, SilenceThreshold, <<"2">>, Call).
+ record(MediaName, Terminators, TimeLimit, SilenceThreshold, <<"5">>, Call).
record(MediaName, Terminators, TimeLimit, SilenceThreshold, SilenceHits, Call) ->
Command = [{<<"Application-Name">>, <<"record">>}
,{<<"Media-Name">>, MediaName}
@@ -580,7 +580,7 @@ b_record(MediaName, Terminators, Call) ->
b_record(MediaName, Terminators, TimeLimit, Call) ->
b_record(MediaName, Terminators, TimeLimit, <<"200">>, Call).
b_record(MediaName, Terminators, TimeLimit, SilenceThreshold, Call) ->
- b_record(MediaName, Terminators, TimeLimit, SilenceThreshold, <<"2">>, Call).
+ b_record(MediaName, Terminators, TimeLimit, SilenceThreshold, <<"5">>, Call).
b_record(MediaName, Terminators, TimeLimit, SilenceThreshold, SilenceHits, Call) ->
record(MediaName, Terminators, TimeLimit, SilenceThreshold, SilenceHits, Call),
wait_for_headless_application(<<"record">>, <<"RECORD_STOP">>, <<"call_event">>, infinity).
Please sign in to comment.
Something went wrong with that request. Please try again.