I found another bug in Issabel PBX 5. If you remove an IVR, it will set IVR Breakout of all queues to None. The problem is in the file /var/www/html/admin/modules/queues/functions.inc/hook_ivr.php.
function queues_configprocess_ivr() {
$action = isset($REQUEST['action'])?$REQUEST['action']:null;
$display = isset($REQUEST['display'])?$REQUEST['display']:null;
$id = isset($REQUEST['id'])?$REQUEST['id']:null;
if($display == 'ivr' && $action == 'delete') {
queues_ivr_delete_event($id);
}
}
$id = isset($REQUEST['id'])?$REQUEST['id']:null;
There is no $REQUEST['id'] in Issabel PBX 5 in IVR webpage anymore but it is $REQUEST['extdisplay'] so $id is null then the queues_ivr_delete_event function will set ivr_id of all queues to "".
The solution is to change $REQUEST['id'] to $REQUEST['extdisplay'] like this
$id = isset($REQUEST['extdisplay'])?$REQUEST['extdisplay']:null;
I hope IssabelPBX team will solve this permanently in the next release soon.