]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_musiconhold: Clarify that playlist mode only supports HTTP(S) URLs
authorSean Bright <sean.bright@gmail.com>
Thu, 24 Sep 2020 16:47:41 +0000 (12:47 -0400)
committerGeorge Joseph <gjoseph@digium.com>
Mon, 28 Sep 2020 19:02:49 +0000 (14:02 -0500)
Change-Id: I41e77a04e4a523f4ed61a7a20b738ffd42be441e

configs/samples/musiconhold.conf.sample
res/res_musiconhold.c

index 1090bbef16d1bffb5d95bfa2d11d8c8f171a6044..2f601086b096847eafbeb133520c900b238e87c0 100644 (file)
@@ -13,7 +13,7 @@
 ; valid mode options:
 ; files                -- read files from a directory in any Asterisk supported
 ;                 media format
-; playlist     -- provide a fixed list of filenames or URLs to play
+; playlist     -- provide a fixed list of filenames or HTTP(S) URLs to play
 ; quietmp3     -- default
 ; mp3          -- loud
 ; mp3nb                -- unbuffered
@@ -56,7 +56,7 @@
 ; Each entry must be one of:
 ;
 ;   * An absolute path to the file to be played, without an extension.
-;   * A URL
+;   * An HTTP(S) URL
 ;
 ; The entries are played in the order in which they appear in the
 ; configuration. The 'sort' option is not used for this mode.
index 46bc4b905d7fbc23cc41520646558f4b8bd4fad1..8d1ab2aaf5c0f06d514d455cf9e479a9b9bd4f52 100644 (file)
@@ -1144,7 +1144,7 @@ static void moh_parse_options(struct ast_variable *var, struct mohclass *mohclas
 
                                AST_VECTOR_APPEND(playlist_entries, dup);
                        } else {
-                               ast_log(LOG_ERROR, "Playlist entries must be a URL or absolute path, '%s' provided.\n", var->value);
+                               ast_log(LOG_ERROR, "Playlist entries must be an HTTP(S) URL or absolute path, '%s' provided.\n", var->value);
                        }
                } else if (!strcasecmp(var->name, "directory")) {
                        ast_copy_string(mohclass->dir, var->value, sizeof(mohclass->dir));