From: Anthony Minessale Date: Wed, 15 Feb 2012 20:17:54 +0000 (-0600) Subject: fix proper return value on input callback in event case X-Git-Tag: v1.2-rc1~19^2^2~68^2~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02ea0221abfa5ceeb1d1143234f8cd8af4de06f1;p=thirdparty%2Ffreeswitch.git fix proper return value on input callback in event case --- diff --git a/src/mod/languages/mod_lua/freeswitch_lua.cpp b/src/mod/languages/mod_lua/freeswitch_lua.cpp index 5f21775f84..4af4e380e7 100644 --- a/src/mod/languages/mod_lua/freeswitch_lua.cpp +++ b/src/mod/languages/mod_lua/freeswitch_lua.cpp @@ -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);