Skip to content

Commit

Permalink
Force get binary value
Browse files Browse the repository at this point in the history
  • Loading branch information
skorobkov committed May 18, 2015
1 parent a766df2 commit 483ea41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/ecallmgr/src/ecallmgr_call_command.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ maybe_get_terminators(Acc, JObj) ->
-spec start_record_call_args(atom(), ne_binary(), wh_json:object(), ne_binary()) -> ne_binary().
start_record_call_args(Node, UUID, JObj, RecordingName) ->
FollowTransfer = wh_json:get_binary_boolean(<<"Follow-Transfer">>, JObj, <<"true">>),
RecordMinSec = wh_json:get_value(<<"Record-Min-Sec">>, JObj),
RecordMinSec = wh_json:get_binary_value(<<"Record-Min-Sec">>, JObj),
SampleRate = get_sample_rate(JObj),

_ = ecallmgr_util:set(Node, UUID, [{<<"recording_follow_transfer">>, FollowTransfer}
Expand Down

0 comments on commit 483ea41

Please sign in to comment.