]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Perform dialing asynchronously when using the originate CLI command so the CLI does...
authorJoshua Colp <jcolp@digium.com>
Tue, 5 Feb 2008 15:09:29 +0000 (15:09 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 5 Feb 2008 15:09:29 +0000 (15:09 +0000)
(closes issue #11927)
Reported by: bbhoss

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@102378 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_clioriginate.c

index 44afd7b76e5b46899e725996a6a8163fc204d84c..f272d79e86f5c9147d907f27ec144e6f057dc092 100644 (file)
@@ -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;
 }