From: Kevin P. Fleming Date: Sat, 2 Apr 2005 00:58:33 +0000 (+0000) Subject: correct 'sync' setting for manager-originated calls (bug #3922) X-Git-Tag: 1.2.0-beta1~924 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6ac2bb1e881e597af613daef00c283add5260771;p=thirdparty%2Fasterisk.git correct 'sync' setting for manager-originated calls (bug #3922) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5356 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/manager.c b/manager.c index 58953dcd49..b398600d9e 100755 --- a/manager.c +++ b/manager.c @@ -992,10 +992,10 @@ static int action_originate(struct mansession *s, struct message *m) } } } else if (!ast_strlen_zero(app)) { - res = ast_pbx_outgoing_app(tech, AST_FORMAT_SLINEAR, data, to, app, appdata, &reason, 0, l, n, variable, account, NULL); + res = ast_pbx_outgoing_app(tech, AST_FORMAT_SLINEAR, data, to, app, appdata, &reason, 1, l, n, variable, account, NULL); } else { if (exten && context && pi) - res = ast_pbx_outgoing_exten(tech, AST_FORMAT_SLINEAR, data, to, context, exten, pi, &reason, 0, l, n, variable, account, NULL); + res = ast_pbx_outgoing_exten(tech, AST_FORMAT_SLINEAR, data, to, context, exten, pi, &reason, 1, l, n, variable, account, NULL); else { astman_send_error(s, m, "Originate with 'Exten' requires 'Context' and 'Priority'"); return 0;