Skip to content

Commit

Permalink
Fix: cf_play can handle a silence_stream now as a valid media stream
Browse files Browse the repository at this point in the history
  • Loading branch information
tickbw committed Nov 18, 2013
1 parent 0390b9d commit d04e3ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions applications/callflow/src/module/cf_play.erl
Expand Up @@ -26,6 +26,7 @@ handle(Data, Call) ->
<<"/system_media", _/binary>> = Path -> play(Data, Call, Path);
<<"system_media", _/binary>> = Path -> play(Data, Call, Path);
<<"local_stream://",_/binary>> = Path -> play(Data, Call, Path);
<<"silence_stream://",_/binary>> = Path -> play(Data, Call, Path);
Path when AccountId =/= 'undefined' ->
lager:info("prepending media ID with /~s/", [AccountId]),
Path1 = <<$/, (wh_util:to_binary(AccountId))/binary, $/, Path/binary>>,
Expand Down

0 comments on commit d04e3ab

Please sign in to comment.