[svn-commits] file: branch 1.4 r102378 - /branches/1.4/res/res_clioriginate.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Feb 5 09:09:29 CST 2008


Author: file
Date: Tue Feb  5 09:09:29 2008
New Revision: 102378

URL: http://svn.digium.com/view/asterisk?view=rev&rev=102378
Log:
Perform dialing asynchronously when using the originate CLI command so the CLI does not appear to block.
(closes issue #11927)
Reported by: bbhoss

Modified:
    branches/1.4/res/res_clioriginate.c

Modified: branches/1.4/res/res_clioriginate.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/res_clioriginate.c?view=diff&rev=102378&r1=102377&r2=102378
==============================================================================
--- branches/1.4/res/res_clioriginate.c (original)
+++ branches/1.4/res/res_clioriginate.c Tue Feb  5 09:09:29 2008
@@ -86,7 +86,7 @@
 		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 @@
 	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;
 }




More information about the svn-commits mailing list