[asterisk-commits] murf: branch group/CDRfix5 r78561 - /team/group/CDRfix5/apps/app_dial.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 7 19:19:50 CDT 2007


Author: murf
Date: Tue Aug  7 19:19:50 2007
New Revision: 78561

URL: http://svn.digium.com/view/asterisk?view=rev&rev=78561
Log:
Set the cdr app fields when entering dial

Modified:
    team/group/CDRfix5/apps/app_dial.c

Modified: team/group/CDRfix5/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/team/group/CDRfix5/apps/app_dial.c?view=diff&rev=78561&r1=78560&r2=78561
==============================================================================
--- team/group/CDRfix5/apps/app_dial.c (original)
+++ team/group/CDRfix5/apps/app_dial.c Tue Aug  7 19:19:50 2007
@@ -1257,6 +1257,9 @@
 
 	if (ast_test_flag64(&opts, OPT_RESETCDR) && chan->cdr)
 		ast_cdr_reset(chan->cdr, NULL);
+	if (chan->cdr)
+		ast_cdr_setapp(chan->cdr, "Dial", data);
+	
 	if (ast_test_flag64(&opts, OPT_PRIVACY) && ast_strlen_zero(opt_args[OPT_ARG_PRIVACY]))
 		opt_args[OPT_ARG_PRIVACY] = ast_strdupa(chan->exten);
 




More information about the asterisk-commits mailing list