diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/res_clioriginate.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/res/res_clioriginate.c b/res/res_clioriginate.c index 3903b6c3b..4303711f1 100644 --- a/res/res_clioriginate.c +++ b/res/res_clioriginate.c @@ -74,7 +74,9 @@ static char *orig_app(int fd, const char *chan, const char *app, const char *app return CLI_FAILURE; } ast_format_cap_append(cap, ast_format_slin, 0); - ast_pbx_outgoing_app(chantech, cap, chandata, TIMEOUT * 1000, app, appdata, &reason, 0, NULL, NULL, NULL, NULL, NULL, NULL); + ast_pbx_outgoing_app(chantech, cap, chandata, TIMEOUT * 1000, app, appdata, + &reason, AST_OUTGOING_NO_WAIT, NULL, NULL, NULL, NULL, + NULL, NULL); ao2_ref(cap, -1); return CLI_SUCCESS; @@ -118,7 +120,9 @@ static char *orig_exten(int fd, const char *chan, const char *data) return CLI_FAILURE; } ast_format_cap_append(cap, ast_format_slin, 0); - ast_pbx_outgoing_exten(chantech, cap, chandata, TIMEOUT * 1000, context, exten, 1, &reason, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL); + ast_pbx_outgoing_exten(chantech, cap, chandata, TIMEOUT * 1000, context, + exten, 1, &reason, AST_OUTGOING_NO_WAIT, NULL, NULL, + NULL, NULL, NULL, 0, NULL); ao2_ref(cap, -1); return CLI_SUCCESS; |