Author: mjordan
Date: Sun Aug 17 18:06:29 2014
New Revision: 421232

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=421232
Log:
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)

Modified:
    branches/1.8/apps/app_dial.c

Modified: branches/1.8/apps/app_dial.c
URL: 
http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_dial.c?view=diff&rev=421232&r1=421231&r2=421232
==============================================================================
--- branches/1.8/apps/app_dial.c (original)
+++ branches/1.8/apps/app_dial.c Sun Aug 17 18:06:29 2014
@@ -1203,7 +1203,7 @@
                                        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


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to