fix proper return value on input callback in event case

This commit is contained in:
Anthony Minessale 2012-02-15 14:17:54 -06:00
parent 08d29b10b6
commit 02ea0221ab
1 changed files with 1 additions and 1 deletions

View 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);