[asterisk-commits] mnicholson: trunk r189010 - in /trunk: ./ main/pbx.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Apr 17 10:44:22 CDT 2009
Author: mnicholson
Date: Fri Apr 17 10:44:18 2009
New Revision: 189010
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=189010
Log:
Merged revisions 189009 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r189009 | mnicholson | 2009-04-17 10:43:09 -0500 (Fri, 17 Apr 2009) | 5 lines
Make Busy() application set the CDR disposition to BUSY.
(closes issue #14306)
Reported by: cristiandimache
........
Modified:
trunk/ (props changed)
trunk/main/pbx.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/pbx.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/main/pbx.c?view=diff&rev=189010&r1=189009&r2=189010
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Fri Apr 17 10:44:18 2009
@@ -8378,8 +8378,10 @@
ast_indicate(chan, AST_CONTROL_BUSY);
/* Don't change state of an UP channel, just indicate
busy in audio */
- if (chan->_state != AST_STATE_UP)
+ if (chan->_state != AST_STATE_UP) {
ast_setstate(chan, AST_STATE_BUSY);
+ ast_cdr_busy(chan->cdr);
+ }
wait_for_hangup(chan, data);
return -1;
}
More information about the asterisk-commits
mailing list