Fix typos (bug #3381)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-01-20 22:59:50 +00:00
parent e3da507a44
commit 8a1906619f

View File

@@ -1306,11 +1306,11 @@ static int retrydial_exec(struct ast_channel *chan, void *data)
if (ast_test_flag(chan, AST_FLAG_MOH))
ast_moh_stop(chan);
if ((res = dial_exec(chan, dialdata)) == 0) {
if ((res = dial_exec_full(chan, dialdata, &peerflags)) == 0) {
if (ast_test_flag(&peerflags, DIAL_HALT_ON_DTMF)) {
if (!(res = ast_streamfile(chan, announce, chan->language)))
res = ast_waitstream(chan, AST_DIGIT_ANY);
if (!res) {
if (!res && sleep) {
if (!ast_test_flag(chan, AST_FLAG_MOH))
ast_moh_start(chan, NULL);
res = ast_waitfordigit(chan, sleep);
@@ -1318,10 +1318,14 @@ static int retrydial_exec(struct ast_channel *chan, void *data)
} else {
if (!(res = ast_streamfile(chan, announce, chan->language)))
res = ast_waitstream(chan, "");
if (sleep) {
if (!ast_test_flag(chan, AST_FLAG_MOH))
ast_moh_start(chan, NULL);
if (!res)
res = ast_safe_sleep(chan, sleep);
}
}
}
if (res < 0)
break;