From 26c87e4f46b92d11ae99224b355a1650b30cbd86 Mon Sep 17 00:00:00 2001 From: konradSC Date: Tue, 1 May 2018 12:22:00 -0400 Subject: [PATCH] Fix tone_stream (#3043) This error was being generated in freeswitch: [ERR] switch_core_session.c:2683 Invalid Application play tone_stream Needs to use application "playback" for tone_stream. Had to use a colon instead of a space as the delimited. Otherwise it would parse the dialpan action as "playback tone_stream" and the data as "//%(274,0,913.8);%(274,0,1370.6);%(380,0,1776.7)" Now shows --> --- app/tones/app_config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/tones/app_config.php b/app/tones/app_config.php index 0021a4acee..c20de5f0d7 100644 --- a/app/tones/app_config.php +++ b/app/tones/app_config.php @@ -40,8 +40,8 @@ $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'] = "playback:tone_stream://\${destination}"; $apps[$x]['destinations'][$y]['select_label'] = "\${name}"; ?>