summaryrefslogtreecommitdiff
path: root/funcs/func_periodic_hook.c
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/func_periodic_hook.c')
-rw-r--r--funcs/func_periodic_hook.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/funcs/func_periodic_hook.c b/funcs/func_periodic_hook.c
index aae2abc90..f8e79b326 100644
--- a/funcs/func_periodic_hook.c
+++ b/funcs/func_periodic_hook.c
@@ -181,8 +181,8 @@ static void *hook_launch_thread(void *data)
};
ast_pbx_outgoing_exten("Local", NULL, full_exten_name, 60,
- arg->context, arg->exten, 1, NULL, 0, NULL, NULL, &chan_name_var,
- NULL, NULL, 1, NULL);
+ arg->context, arg->exten, 1, NULL, AST_OUTGOING_NO_WAIT,
+ NULL, NULL, &chan_name_var, NULL, NULL, 1, NULL);
hook_thread_arg_destroy(arg);