summaryrefslogtreecommitdiff
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2014-08-17 23:09:43 +0000
committerMatthew Jordan <mjordan@digium.com>2014-08-17 23:09:43 +0000
commitf5d4e581f358423276a40b987e6470ce65d0a7e7 (patch)
treed32265aa13e2a84f69b74aa4e7ae7db2b92b46e4 /apps/app_dial.c
parent524cb990a3b57ee856504d4bdfd80923405f7506 (diff)
apps/app_dial: Fix Dial 'z' option
The 'z' option is supposed to disable the dial timeout in the case of a call forward. Unfortunately, the wrong timeout timer was passed to the do_forward function, resulting in the option not working. ASTERISK-24225 #close Reported by: dimitripietro Tested by: dimitripietro patches: jira_asterisk_24225_v1.8.patch uploaded by rmudgett (License 5621) jira_asterisk_24225_v11.patch uploaded by rmudgett (License 5621) ........ Merged revisions 421232 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 421233 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 421234 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@421235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r--apps/app_dial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 7c0cc6299..174ff776e 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -1215,7 +1215,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in,
ast_channel_unlock(in);
}
- do_forward(o, &num, peerflags, single, caller_entertained, to,
+ do_forward(o, &num, peerflags, single, caller_entertained, &orig,
forced_clid, stored_clid);
if (single && o->chan