From b3fd50bcf348a3b1668529cf2724d4ac352b3a3e Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 23 May 2018 15:59:29 -0700 Subject: [PATCH] Update app_config.php --- app/tones/app_config.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/tones/app_config.php b/app/tones/app_config.php index 0021a4acee..b81141b71a 100644 --- a/app/tones/app_config.php +++ b/app/tones/app_config.php @@ -3,7 +3,7 @@ //application details $apps[$x]['name'] = "Tones"; $apps[$x]['uuid'] = "38ab9f01-bcd2-4726-a9ff-9af8ed9e396a"; - $apps[$x]['category'] = "Switch";; + $apps[$x]['category'] = "Switch"; $apps[$x]['subcategory'] = ""; $apps[$x]['version'] = "1.0"; $apps[$x]['license'] = "Mozilla Public License 1.1"; @@ -34,14 +34,14 @@ $apps[$x]['destinations'][$y]['label'] = "tones"; $apps[$x]['destinations'][$y]['name'] = "tones"; $apps[$x]['destinations'][$y]['sql'] = "select var_uuid as uuid, var_name as name, var_value as destination, var_description as description from v_vars"; - $apps[$x]['destinations'][$y]['where'] = "where var_category = 'Ringtones' "; + $apps[$x]['destinations'][$y]['where'] = "where var_category = 'Tones' "; $apps[$x]['destinations'][$y]['order_by'] = "var_name asc"; $apps[$x]['destinations'][$y]['field']['uuid'] = "var_uuid"; $apps[$x]['destinations'][$y]['field']['name'] = "var_name"; $apps[$x]['destinations'][$y]['field']['destination'] = "var_filename"; $apps[$x]['destinations'][$y]['field']['description'] = "var_description"; - $apps[$x]['destinations'][$y]['select_value']['dialplan'] = "play tone_stream://\${destination}"; - $apps[$x]['destinations'][$y]['select_value']['ivr'] = "play tone_stream://\${destination}"; + $apps[$x]['destinations'][$y]['select_value']['dialplan'] = "playback:tone_stream://\${destination}"; + $apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-exec-app:playback tone_stream://\${destination}"; $apps[$x]['destinations'][$y]['select_label'] = "\${name}"; ?>