Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix hold media path in get_fs_key_and_value #6409

Merged
merged 1 commit into from
Mar 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion applications/ecallmgr/src/ecallmgr_util.erl
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ get_fs_key(Key) ->
'skip'.
get_fs_key_and_value(<<"Hold-Media">>=Key, Media, UUID) ->
MediaPath = moh_media_path(Media, 'extant', UUID, kz_json:new()),
{get_fs_key(Key), list_to_binary(["hold_music=", MediaPath])};
{get_fs_key(Key), MediaPath};
get_fs_key_and_value(<<"Diversions">>=Key, Diversions, _UUID) ->
K = get_fs_key(Key),
lager:debug("setting diversions ~p on the channel", [Diversions]),
Expand Down