[Asterisk-code-review] res_musiconhold: Load all realtime entries, not just the first (asterisk[16])

lvl asteriskteam at digium.com
Tue Sep 29 09:39:32 CDT 2020


lvl has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/14940 )

Change subject: res_musiconhold: Load all realtime entries, not just the first
......................................................................


Patch Set 3:

(1 comment)

https://gerrit.asterisk.org/c/asterisk/+/14940/2/res/res_musiconhold.c 
File res/res_musiconhold.c:

https://gerrit.asterisk.org/c/asterisk/+/14940/2/res/res_musiconhold.c@1612 
PS2, Line 1612: 			struct ast_config *entries = ast_load_realtime_multientry("musiconhold_entry", "name", name, SENTINEL);
> So the 'position' column is part of the musiconhold_entry table's PK so I assume most databases will […]
That was unexpected, but done and tested that it works. :)



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

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I45636679c0fb5a5f59114c8741626631a604e8a6
Gerrit-Change-Number: 14940
Gerrit-PatchSet: 3
Gerrit-Owner: lvl <digium at lvlconsultancy.nl>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
Gerrit-CC: Richard Mudgett <rmudgett at digium.com>
Gerrit-Comment-Date: Tue, 29 Sep 2020 14:39:32 +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/20200929/b3b54c3f/attachment.html>


More information about the asterisk-code-review mailing list