Hide the IVR sub menus until they are ready.
This commit is contained in:
parent
8139ddeb56
commit
a11ee88cd8
|
|
@ -32,29 +32,21 @@
|
|||
$apps[$x]['destinations'][$y]['select_value']['dialplan'] = "transfer:\${destination} XML \${context}";
|
||||
$apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-exec-app:transfer \${destination} XML \${context}";
|
||||
$apps[$x]['destinations'][$y]['select_label'] = "\${destination} \${name}";
|
||||
if ($_SESSION['ivr menu']['application']['text'] != "lua") {
|
||||
$y++;
|
||||
$apps[$x]['destinations'][$x]['type'] = 'array';
|
||||
//$apps[$x]['destinations'][$x]['label'] = 'ivr_menus';
|
||||
$apps[$x]['destinations'][$y]['label'] = 'menu-top';
|
||||
$apps[$x]['destinations'][$y]['name'] = 'menu-top:';
|
||||
$apps[$x]['destinations'][$y]['destination'] = 'menu-top';
|
||||
$y++;
|
||||
$apps[$x]['destinations'][$y]['label'] = 'menu-exit';
|
||||
$apps[$x]['destinations'][$y]['name'] = 'menu-exit';
|
||||
$apps[$x]['destinations'][$y]['destination'] = 'menu-exit';
|
||||
$y++;
|
||||
$apps[$x]['destinations'][$y]['type'] = "sql";
|
||||
$apps[$x]['destinations'][$y]['label'] = "sub_ivr_menus";
|
||||
$apps[$x]['destinations'][$y]['name'] = "ivr_menus";
|
||||
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and ivr_menu_enabled = 'true' ";
|
||||
$apps[$x]['destinations'][$y]['order_by'] = "ivr_menu_extension asc";
|
||||
$apps[$x]['destinations'][$y]['field']['name'] = "ivr_menu_name";
|
||||
$apps[$x]['destinations'][$y]['field']['destination'] = "ivr_menu_uuid";
|
||||
//$apps[$x]['destinations'][$y]['select_value']['dialplan'] = "ivr:\${uuid}";
|
||||
$apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-sub:ivr \${uuid}";
|
||||
$apps[$x]['destinations'][$y]['select_label'] = "\${destination} \${name}";
|
||||
}
|
||||
//if ($_SESSION['ivr menu']['application']['text'] != "lua") {
|
||||
// $y++;
|
||||
// $apps[$x]['destinations'][$y]['type'] = "sql";
|
||||
// $apps[$x]['destinations'][$y]['label'] = "ivr_menus_sub";
|
||||
// $apps[$x]['destinations'][$y]['name'] = "ivr_menus";
|
||||
// $apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and ivr_menu_enabled = 'true' ";
|
||||
// $apps[$x]['destinations'][$y]['order_by'] = "ivr_menu_extension asc";
|
||||
// $apps[$x]['destinations'][$y]['field']['name'] = "ivr_menu_name";
|
||||
// $apps[$x]['destinations'][$y]['field']['uuid'] = "ivr_menu_uuid";
|
||||
// //$apps[$x]['destinations'][$y]['select_value']['dialplan'] = "ivr:\${ivr_menu_uuid}";
|
||||
// $apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-sub:\${uuid}";
|
||||
// $apps[$x]['destinations'][$y]['select_label'] = "\${name}";
|
||||
//}
|
||||
//menu-top
|
||||
//menu-exit
|
||||
//menu-say-phrase
|
||||
//menu-play-sound
|
||||
|
||||
|
|
|
|||
|
|
@ -36,6 +36,15 @@ $text['title-ivr_menu']['pl'] = "Menu zapowiedzi głosowej (IVR)";
|
|||
$text['title-ivr_menu']['sv-se'] = "IVR Meny";
|
||||
$text['title-ivr_menu']['de-at'] = "Automatische Vermittlung";
|
||||
|
||||
$text['title-ivr_menus_sub']['en-us'] = "IVR Menus - Sub";
|
||||
$text['title-ivr_menus_sub']['es-cl'] = "Menus IVR - Sub";
|
||||
$text['title-ivr_menus_sub']['pt-pt'] = "Menus de IVR - Sub";
|
||||
$text['title-ivr_menus_sub']['fr-fr'] = "Menus SVI - Sub";
|
||||
$text['title-ivr_menus_sub']['pt-br'] = "Menus de IVR - Sub";
|
||||
$text['title-ivr_menus_sub']['pl'] = "Menu zapowiedzi głosowych (IVR) - Sub";
|
||||
$text['title-ivr_menus_sub']['sv-se'] = "IVR Menyer - Sub";
|
||||
$text['title-ivr_menus_sub']['de-at'] = "Automatische Vermittlungen - Sub";
|
||||
|
||||
$text['message-maximum_ivr_menus']['en-us'] = "Maximum IVR Menus:";
|
||||
$text['message-maximum_ivr_menus']['es-cl'] = "Máxima IVR Menús Animales:";
|
||||
$text['message-maximum_ivr_menus']['pt-pt'] = "Menus Máxima IVR de Estimação:";
|
||||
|
|
|
|||
Loading…
Reference in New Issue