[Freeswitch-svn] [commit] r12259 - freeswitch/trunk/scripts/lua

FreeSWITCH SVN brian at freeswitch.org
Mon Feb 23 16:29:13 PST 2009


Author: brian
Date: Mon Feb 23 18:29:12 2009
New Revision: 12259

Log:
 seek 0 starts over 

Modified:
   freeswitch/trunk/scripts/lua/callback.lua

Modified: freeswitch/trunk/scripts/lua/callback.lua
==============================================================================
--- freeswitch/trunk/scripts/lua/callback.lua	(original)
+++ freeswitch/trunk/scripts/lua/callback.lua	Mon Feb 23 18:29:12 2009
@@ -18,6 +18,11 @@
          return "seek:-9000";
       end
 
+      if (obj['digit'] == "2") then
+	 --session:speak("start over");
+         return "seek:0";
+      end
+
       if (obj['digit'] == "3") then
 	 --session:speak("seek forward");
          return "seek:+9000";



More information about the Freeswitch-svn mailing list