Set sync flag back to 0, temp work around to let action: origiate work
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
69c84b4c28
commit
de6d4f266e
|
@ -450,9 +450,9 @@ static int action_originate(struct mansession *s, struct message *m)
|
|||
*data = '\0';
|
||||
data++;
|
||||
if (strlen(app)) {
|
||||
res = ast_pbx_outgoing_app(tech, AST_FORMAT_SLINEAR, data, to, app, appdata, &reason, 1, strlen(callerid) ? callerid : NULL, variable, account);
|
||||
res = ast_pbx_outgoing_app(tech, AST_FORMAT_SLINEAR, data, to, app, appdata, &reason, 0, strlen(callerid) ? callerid : NULL, variable, account);
|
||||
} else {
|
||||
res = ast_pbx_outgoing_exten(tech, AST_FORMAT_SLINEAR, data, to, context, exten, pi, &reason, 1, strlen(callerid) ? callerid : NULL, variable, account);
|
||||
res = ast_pbx_outgoing_exten(tech, AST_FORMAT_SLINEAR, data, to, context, exten, pi, &reason, 0, strlen(callerid) ? callerid : NULL, variable, account);
|
||||
}
|
||||
if (!res)
|
||||
astman_send_ack(s, m, "Originate successfully queued");
|
||||
|
|
Loading…
Reference in New Issue