From a579819dba2c8d1eac7b14c0a5606c9a1ae002bb Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 24 Feb 2009 00:29:12 +0000 Subject: [PATCH] seek 0 starts over git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12259 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- scripts/lua/callback.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/lua/callback.lua b/scripts/lua/callback.lua index bc200de87a..e355193fc8 100644 --- a/scripts/lua/callback.lua +++ b/scripts/lua/callback.lua @@ -18,6 +18,11 @@ function my_cb(s, type, obj, arg) 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";