[Asterisk-code-review] res_musiconhold: Add support of various URL-schemes by MoH. (asterisk[master])

Boris P. Korzun asteriskteam at digium.com
Mon Jan 25 09:52:46 CST 2021


Boris P. Korzun has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/15381 )

Change subject: res_musiconhold: Add support of various URL-schemes by MoH.
......................................................................


Patch Set 2:

(2 comments)

Fixed

https://gerrit.asterisk.org/c/asterisk/+/15381/1/res/res_musiconhold.c 
File res/res_musiconhold.c:

https://gerrit.asterisk.org/c/asterisk/+/15381/1/res/res_musiconhold.c@1121 
PS1, Line 1121: 			if (ast_begins_with(var->value, "/") || strstr(var->value, "://") != NULL) {
> You can drop the explicit NULL comparison here: […]
Done


https://gerrit.asterisk.org/c/asterisk/+/15381/1/res/res_musiconhold.c@1147 
PS1, Line 1147: 				ast_log(LOG_ERROR, "Playlist entries must be an HTTP(S) URL or absolute path, '%s' provided.\n", var->value);
> Because this will no longer be limited to HTTP(S) this message should be updated to make more sense.
Done



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15381
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: If0ea8697587353dce358a70035d82649fd4632b6
Gerrit-Change-Number: 15381
Gerrit-PatchSet: 2
Gerrit-Owner: Boris P. Korzun <drtr0jan at yandex.ru>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
Gerrit-Comment-Date: Mon, 25 Jan 2021 15:52:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Sean Bright <sean.bright at gmail.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210125/07508522/attachment-0001.html>


More information about the asterisk-code-review mailing list