Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.42
diff -u -r1.42 pbx.c
--- pbx.c	25 Aug 2003 22:40:14 -0000	1.42
+++ pbx.c	28 Aug 2003 09:58:42 -0000
@@ -1797,6 +1797,11 @@
 					}
 				}	
 			}
+			if (c->cdr) {
+			    if (option_verbose > 2)
+				ast_verbose(VERBOSE_PREFIX_2,"CDR updated on %s\n",c->name);	
+			    ast_cdr_update(c);
+		        }
 		}
 	}
 	if (firstpass) 
