From: Matthew Jordan Date: Sun, 17 Aug 2014 23:07:06 +0000 (+0000) Subject: apps/app_dial: Fix Dial 'z' option X-Git-Tag: 11.13.0-rc1~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a640d70ae83f3981f3a9105ba931d083f1cefb60;p=thirdparty%2Fasterisk.git 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@421233 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_dial.c b/apps/app_dial.c index 69c14f08dc..403a6e9535 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1267,7 +1267,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