[Asterisk-cvs] asterisk pbx.c,1.95,1.96

markster at lists.digium.com markster at lists.digium.com
Sun Feb 1 19:04:18 CST 2004


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv16669

Modified Files:
	pbx.c 
Log Message:
Force update of the CDR before clearing channel (bug #974)


Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- pbx.c	31 Jan 2004 17:00:24 -0000	1.95
+++ pbx.c	2 Feb 2004 01:13:00 -0000	1.96
@@ -1745,6 +1745,10 @@
 					if (c->_softhangup == AST_SOFTHANGUP_TIMEOUT) {
 						break;
 					}
+
+					if (c->cdr) {
+						ast_cdr_update(c);
+					}
 					goto out;
 				}
 			}




More information about the svn-commits mailing list