]> git.ipfire.org Git - thirdparty/asterisk.git/commit
musiconhold: Only warn if music class is not found in memory and database. 55/2455/1
authorWalter Doekes <walter+asterisk@wjd.nu>
Thu, 24 Mar 2016 12:36:39 +0000 (13:36 +0100)
committerWalter Doekes <walter+asterisk@wjd.nu>
Thu, 24 Mar 2016 12:36:39 +0000 (13:36 +0100)
commit7878141198ed1cad7e49340b8e69e7c44d18dad8
tree10195860d2e51463aeefee99d14a7f6bdcdca003
parentd5fcd74fb522026730976615ea67f6492915bc33
musiconhold: Only warn if music class is not found in memory and database.

The log message when a MusicOnHold music class was not found was changed
from debug level to WARNING level in Asterisk 11.19 and 13.5.  For those
using realtime musiconhold, this message is wrong because it warns
before checking the database.

This changeset delays the warning until after the database has been
checked.

Reported-by: Conrad de Wet
ASTERISK-25444 #close

Change-Id: I6cfb2db2f9cfbd2bb3d30566ecae361c4abf6dbf
res/res_musiconhold.c