]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix proper return value on input callback in event case
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 15 Feb 2012 20:17:54 +0000 (14:17 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 15 Feb 2012 20:18:01 +0000 (14:18 -0600)
src/mod/languages/mod_lua/freeswitch_lua.cpp

index 5f21775f8483ca1fbe6c70d5c7d0c6f08a2bbb4c..4af4e380e7edfc59c4f02811a805c0c000083f1e 100644 (file)
@@ -319,7 +319,7 @@ switch_status_t Session::run_dtmf_callback(void *input, switch_input_type_t ityp
                                arg_count++;
                        }
 
-                       docall(L, arg_count, 1, 1);
+                       docall(L, arg_count, 0, 1);
                        ret = lua_tostring(L, -1);
                        lua_pop(L, 1);