Merge pull request #1430 from mafoo/BugFix-Phrases-app_config

fix for incorrect destinations
This commit is contained in:
FusionPBX 2016-02-04 08:51:58 -07:00
commit 27f9359bb2
1 changed files with 3 additions and 2 deletions

View File

@ -28,10 +28,11 @@
$apps[$x]['destinations'][$y]['name'] = "phrases";
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and phrase_enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "phrase_name asc";
$apps[$x]['destinations'][$y]['field']['uuid'] = "phrase_uuid";
$apps[$x]['destinations'][$y]['field']['name'] = "phrase_name";
$apps[$x]['destinations'][$y]['field']['destination'] = "phrase_name";
$apps[$x]['destinations'][$y]['select_value']['dialplan'] = "phrase:\${destination}.\${domain_uuid}";
$apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-exec-app:phrase \${destination}.\${domain_uuid}";
$apps[$x]['destinations'][$y]['select_value']['dialplan'] = "phrase:\${uuid}";
$apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-exec-app:phrase \${uuid}";
$apps[$x]['destinations'][$y]['select_label'] = "\${name}";
//permission details