aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-05 15:09:29 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-05 15:09:29 +0000
commit5c8647f1ac3d65a8af99927ac7e9a384fe1cf06f (patch)
tree4fb8064ae9004f691710f2257fe329a8478b4bf1 /res
parente706637b7b65408f74f93c11b60f017d32ecbd64 (diff)
Perform dialing asynchronously when using the originate CLI command so the CLI does not appear to block.
(closes issue #11927) Reported by: bbhoss git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102378 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_clioriginate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_clioriginate.c b/res/res_clioriginate.c
index 44afd7b76..f272d79e8 100644
--- a/res/res_clioriginate.c
+++ b/res/res_clioriginate.c
@@ -86,7 +86,7 @@ static int orig_app(int fd, const char *chan, const char *app, const char *appda
return RESULT_SHOWUSAGE;
}
- ast_pbx_outgoing_app(chantech, AST_FORMAT_SLINEAR, chandata, TIMEOUT * 1000, app, appdata, &reason, 1, NULL, NULL, NULL, NULL, NULL);
+ ast_pbx_outgoing_app(chantech, AST_FORMAT_SLINEAR, chandata, TIMEOUT * 1000, app, appdata, &reason, 0, NULL, NULL, NULL, NULL, NULL);
return RESULT_SUCCESS;
}
@@ -117,7 +117,7 @@ static int orig_exten(int fd, const char *chan, const char *data)
if (ast_strlen_zero(context))
context = "default";
- ast_pbx_outgoing_exten(chantech, AST_FORMAT_SLINEAR, chandata, TIMEOUT * 1000, context, exten, 1, &reason, 1, NULL, NULL, NULL, NULL, NULL);
+ ast_pbx_outgoing_exten(chantech, AST_FORMAT_SLINEAR, chandata, TIMEOUT * 1000, context, exten, 1, &reason, 0, NULL, NULL, NULL, NULL, NULL);
return RESULT_SUCCESS;
}