[asterisk-commits] twilson: branch 1.4 r189465 - /branches/1.4/apps/app_dial.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Apr 20 16:10:30 CDT 2009


Author: twilson
Date: Mon Apr 20 16:10:27 2009
New Revision: 189465

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=189465
Log:
Update CDR appropriately when AST_CAUSE_NO_ANSWER is set

Modified:
    branches/1.4/apps/app_dial.c

Modified: branches/1.4/apps/app_dial.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/apps/app_dial.c?view=diff&rev=189465&r1=189464&r2=189465
==============================================================================
--- branches/1.4/apps/app_dial.c (original)
+++ branches/1.4/apps/app_dial.c Mon Apr 20 16:10:27 2009
@@ -357,6 +357,9 @@
 		numnochan++; \
 		break; \
 	case AST_CAUSE_NO_ANSWER: \
+		if (chan->cdr) \
+			ast_cdr_noanswer(chan->cdr); \
+		break; \
 	case AST_CAUSE_NORMAL_CLEARING: \
 		break; \
 	default: \




More information about the asterisk-commits mailing list