Two problems
- When selecting multiple recordings, the strings can get long, and some of the tables have a 150 character limit, which is easily exceeded. When this happens, the recording is not played back properly, and the next time you view the page, the dropdown list won't show any recording selected.
- When you change a system recording, it is NOT updated in all the other modules that use that recording, until you go into the items that use them, reselect the recording, and press 'save' again.
This is a fairly serious design oversight, and will require updating every module in order to fix it.
Note: This is not an oversight in the recordings module. It offers the functionality, it just wasn't used by other modules.
function recordings_list() {//returns array which includes id and display (also includes filenames which may be the reason the mistake was made)
function recordings_get($id) {//returns the entire row for the specified id
function recordings_get_file($id) {//returns the filename blob for the specified id.. should ONLY be used in get_config() NEVER stored in DB
we just have to slowly change the other modules
The following are the modules that need to be updated:
1) queues
2) ivr
3) parking
4) findmefollow
5) conferences
6) ringgroups
7) announcement