summaryrefslogtreecommitdiff
path: root/res/res_clioriginate.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2008-02-05 15:10:36 +0000
committerJoshua Colp <jcolp@digium.com>2008-02-05 15:10:36 +0000
commit38164fecad4ca3528216dc13b95ca9314972c3d5 (patch)
tree5a59199b643ec02a0b492e92b02d657b26e64635 /res/res_clioriginate.c
parent1dc86caf303467d2e50493fd48b3b1db4c999c73 (diff)
Merged revisions 102378 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r102378 | file | 2008-02-05 11:09:29 -0400 (Tue, 05 Feb 2008) | 4 lines 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: https://origsvn.digium.com/svn/asterisk/trunk@102379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_clioriginate.c')
-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 3d20e3ca3..6a6371972 100644
--- a/res/res_clioriginate.c
+++ b/res/res_clioriginate.c
@@ -64,7 +64,7 @@ static char *orig_app(int fd, const char *chan, const char *app, const char *app
return CLI_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 CLI_SUCCESS;
}
@@ -103,7 +103,7 @@ static char *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 CLI_SUCCESS;
}