[Asterisk-cvs] asterisk channel.c,1.44,1.45

martinp at lists.digium.com martinp at lists.digium.com
Thu Sep 18 16:05:25 CDT 2003


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

Modified Files:
	channel.c 
Log Message:
Don't post 2 CDR's when the outgoing spool call fails


Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- channel.c	12 Sep 2003 16:51:35 -0000	1.44
+++ channel.c	18 Sep 2003 21:06:29 -0000	1.45
@@ -1558,7 +1558,6 @@
 			/* If the cause wasn't handled properly */
 			if (ast_cdr_disposition(chan->cdr,chan->hangupcause))
 				ast_cdr_failed(chan->cdr);
-			ast_cdr_reset(chan->cdr,1);
 		} else 
 			ast_log(LOG_WARNING, "Unable to create Call Detail Record\n");
 		ast_hangup(chan);




More information about the svn-commits mailing list