From 92894bb157b4e27265296c78c19b60f7531b341d Mon Sep 17 00:00:00 2001 From: mafoo Date: Thu, 4 Feb 2016 15:49:03 +0000 Subject: [PATCH] fix for incorrect destinations --- app/phrases/app_config.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/phrases/app_config.php b/app/phrases/app_config.php index 58423e6a79..818d4f3bc3 100644 --- a/app/phrases/app_config.php +++ b/app/phrases/app_config.php @@ -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