Skip to content

Commit

Permalink
fix hold media path in get_fs_key_and_value (2600hz#6410)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazedo authored Mar 25, 2020
1 parent 0cf13d9 commit 06422be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/ecallmgr/src/ecallmgr_util.erl
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,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

0 comments on commit 06422be

Please sign in to comment.