[asterisk-commits] rmudgett: branch 10 r371861 - in /branches/10: ./ apps/app_dial.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Aug 29 13:24:57 CDT 2012
Author: rmudgett
Date: Wed Aug 29 13:24:54 2012
New Revision: 371861
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=371861
Log:
Fix hangup cause passthrough regression.
The v1.8 -r369258 change to fix the F and F(x) action logic introduced a
regression in passing the hangup cause from the called channel to the
caller channel.
(closes issue ASTERISK-20287)
Reported by: Konstantin Suvorov
Patches:
app_dial_hangupcause.patch (license #6421) patch uploaded by Konstantin Suvorov (modified)
Tested by: rmudgett
........
Merged revisions 371860 from http://svn.asterisk.org/svn/asterisk/branches/1.8
Modified:
branches/10/ (props changed)
branches/10/apps/app_dial.c
Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/10/apps/app_dial.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/apps/app_dial.c?view=diff&rev=371861&r1=371860&r2=371861
==============================================================================
--- branches/10/apps/app_dial.c (original)
+++ branches/10/apps/app_dial.c Wed Aug 29 13:24:54 2012
@@ -2994,9 +2994,9 @@
/* The peer is now running its own PBX. */
goto out;
}
- } else {
- chan->hangupcause = peer->hangupcause;
- }
+ }
+ } else if (!ast_check_hangup(chan)) {
+ chan->hangupcause = peer->hangupcause;
}
ast_hangup(peer);
}
More information about the asterisk-commits
mailing list