[svn-commits] murf: branch group/CDRfix5 r76171 - in /team/group/CDRfix5: apps/ res/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Jul 20 14:48:57 CDT 2007


Author: murf
Date: Fri Jul 20 14:48:56 2007
New Revision: 76171

URL: http://svn.digium.com/view/asterisk?view=rev&rev=76171
Log:
Have the app fields in the cdr filled in before bridging.

Modified:
    team/group/CDRfix5/apps/app_meetme.c
    team/group/CDRfix5/res/res_features.c

Modified: team/group/CDRfix5/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/team/group/CDRfix5/apps/app_meetme.c?view=diff&rev=76171&r1=76170&r2=76171
==============================================================================
--- team/group/CDRfix5/apps/app_meetme.c (original)
+++ team/group/CDRfix5/apps/app_meetme.c Fri Jul 20 14:48:56 2007
@@ -1709,6 +1709,7 @@
 			ast_set_flag(chan->cdr, AST_CDR_FLAG_MAIN);
 			ast_cdr_update(chan);
 			bridge_cdr = ast_cdr_dup(chan->cdr);
+			ast_cdr_setapp(bridge_cdr, chan->appl, chan->data);
 		} else {
 			/* better yet, in a xfer situation, find out why the chan cdr got zapped (pun unintentional) */
 			bridge_cdr = ast_cdr_alloc(); /* this should be really, really rare/impossible? */

Modified: team/group/CDRfix5/res/res_features.c
URL: http://svn.digium.com/view/asterisk/team/group/CDRfix5/res/res_features.c?view=diff&rev=76171&r1=76170&r2=76171
==============================================================================
--- team/group/CDRfix5/res/res_features.c (original)
+++ team/group/CDRfix5/res/res_features.c Fri Jul 20 14:48:56 2007
@@ -1704,6 +1704,7 @@
 			ast_set_flag(chan->cdr, AST_CDR_FLAG_MAIN);
 			ast_cdr_update(chan);
 			bridge_cdr = ast_cdr_dup(chan->cdr);
+			ast_cdr_setapp(bridge_cdr, chan->appl, chan->data);
 		} else {
 			/* better yet, in a xfer situation, find out why the chan cdr got zapped (pun unintentional) */
 			bridge_cdr = ast_cdr_alloc(); /* this should be really, really rare/impossible? */




More information about the svn-commits mailing list