Skip to content

Commit

Permalink
WHISTLE-42: further modifications for silence detection
Browse files Browse the repository at this point in the history
  • Loading branch information
k-anderson committed Feb 29, 2012
1 parent 874470b commit bad8126
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions whistle_apps/apps/callflow/src/cf_call_command.erl
Expand Up @@ -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}
Expand All @@ -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).
Expand Down

0 comments on commit bad8126

Please sign in to comment.