Make sure the IVR Menu dialplan entry is created if it doesn't exist.

This commit is contained in:
Mark Crane
2012-08-04 16:34:24 +00:00
parent 12373f8fc8
commit ef5466821b
3 changed files with 68 additions and 26 deletions
-2
View File
@@ -199,8 +199,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//add the data
if ($action == "add" && permission_exists('ivr_menu_add')) {
$ivr->ivr_menu_uuid = uuid();
$ivr->dialplan_uuid = uuid();
$ivr->add();
//synchronize the xml config