<p>Boris P. Korzun has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15381">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_musiconhold: Add support of various URL-schemes by MoH.<br><br>Provided a support of variuos URL-schemes for res_musiconhold, registered by<br>ast_bucket_scheme_register().<br><br>ASTERISK-29262 #close<br><br>Change-Id: If0ea8697587353dce358a70035d82649fd4632b6<br>---<br>M res/res_musiconhold.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/81/15381/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c</span><br><span>index 8ac3b92..e7c82c3 100644</span><br><span>--- a/res/res_musiconhold.c</span><br><span>+++ b/res/res_musiconhold.c</span><br><span>@@ -1118,7 +1118,7 @@</span><br><span> } else if (!strcasecmp(var->name, "mode")) {</span><br><span> ast_copy_string(mohclass->mode, var->value, sizeof(mohclass->mode));</span><br><span> } else if (!strcasecmp(var->name, "entry")) {</span><br><span style="color: hsl(0, 100%, 40%);">- if (ast_begins_with(var->value, "/") || ast_begins_with(var->value, "http://") || ast_begins_with(var->value, "https://")) {</span><br><span style="color: hsl(120, 100%, 40%);">+ if (ast_begins_with(var->value, "/") || strstr(var->value, "://") != NULL) {</span><br><span> char *dup;</span><br><span> </span><br><span> if (!playlist_entries) {</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15381">change 15381</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/15381"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: If0ea8697587353dce358a70035d82649fd4632b6 </div>
<div style="display:none"> Gerrit-Change-Number: 15381 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Boris P. Korzun <drtr0jan@yandex.ru> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>