From cf1424cfe55816acb4efc0771147a9ae5de80011 Mon Sep 17 00:00:00 2001
From: Chris Rienzo <chris.rienzo@grasshopper.com>
Date: Thu, 6 Nov 2014 14:54:55 -0500
Subject: [PATCH] mod_rayo: update config to use spandsp_start_tone_detect and
 spandsp_stop_tone_detect

---
 conf/rayo/autoload_configs/rayo.conf.xml                      | 4 ++--
 .../mod_rayo/conf/autoload_configs/rayo.conf.xml              | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/conf/rayo/autoload_configs/rayo.conf.xml b/conf/rayo/autoload_configs/rayo.conf.xml
index 50af0f7ecd..47a3a14bc1 100644
--- a/conf/rayo/autoload_configs/rayo.conf.xml
+++ b/conf/rayo/autoload_configs/rayo.conf.xml
@@ -52,8 +52,8 @@
 
 		<!-- map mod_spandsp call progress tone detector to Rayo CPA signal events.  Fires DETECTED_TONE events until stopped. -->
 		<detector name="mod_spandsp_tone">
-			<start application="start_tone_detect" data="1"/>
-			<stop application="stop_tone_detect" data=""/>
+			<start application="spandsp_start_tone_detect" data="1"/>
+			<stop application="spandsp_stop_tone_detect" data=""/>
 			<!-- map tone events to Rayo CPA signal type -->
 			<event class="CUSTOM" subclass="DETECTED_TONE" type-header="Detected-Tone">
 				<signal-type header-value="SIT" value="sit"/>
diff --git a/src/mod/event_handlers/mod_rayo/conf/autoload_configs/rayo.conf.xml b/src/mod/event_handlers/mod_rayo/conf/autoload_configs/rayo.conf.xml
index 50af0f7ecd..47a3a14bc1 100644
--- a/src/mod/event_handlers/mod_rayo/conf/autoload_configs/rayo.conf.xml
+++ b/src/mod/event_handlers/mod_rayo/conf/autoload_configs/rayo.conf.xml
@@ -52,8 +52,8 @@
 
 		<!-- map mod_spandsp call progress tone detector to Rayo CPA signal events.  Fires DETECTED_TONE events until stopped. -->
 		<detector name="mod_spandsp_tone">
-			<start application="start_tone_detect" data="1"/>
-			<stop application="stop_tone_detect" data=""/>
+			<start application="spandsp_start_tone_detect" data="1"/>
+			<stop application="spandsp_stop_tone_detect" data=""/>
 			<!-- map tone events to Rayo CPA signal type -->
 			<event class="CUSTOM" subclass="DETECTED_TONE" type-header="Detected-Tone">
 				<signal-type header-value="SIT" value="sit"/>