-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Third Party Issue
-
Affects Version/s: 14
-
Component/s: Music On Hold
-
Labels:None
-
ToDo:
-
Asterisk Version:16.2.1
-
Distro Version:SID
-
Distro:Self Install Debian
In a clean install of v14, when i try to add a custom MOH for streaming, it fails with an sql error, due to the default of the field in case.
Maybe because of the insert in line 141 of Music.class.php
$sql = "INSERT INTO music (`category`, `type`) VALUES (?,?)";
Or the one in 326, i'm not sure, but maybe in line 326:
$sql = "INSERT INTO music (`category`, `type`, `random`) VALUES (?,?,?)";
Check the attached image.
Let me know if you need any extra info to help on this, can't move forward with MOH creation.
Thanks in advanced,