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? */
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
svn-commits mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/svn-commits