[asterisk-commits] mnicholson: branch 1.6.2 r189068 - in /branches/1.6.2: ./ main/pbx.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Apr 17 12:31:51 CDT 2009


Author: mnicholson
Date: Fri Apr 17 12:31:37 2009
New Revision: 189068

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=189068
Log:
Merged revisions 189010 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r189010 | mnicholson | 2009-04-17 10:44:18 -0500 (Fri, 17 Apr 2009) | 12 lines
  
  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:
    branches/1.6.2/   (props changed)
    branches/1.6.2/main/pbx.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/main/pbx.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.2/main/pbx.c?view=diff&rev=189068&r1=189067&r2=189068
==============================================================================
--- branches/1.6.2/main/pbx.c (original)
+++ branches/1.6.2/main/pbx.c Fri Apr 17 12:31:37 2009
@@ -8412,8 +8412,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