[svn-commits] mnicholson: branch 1.4 r193391 - /branches/1.4/main/channel.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri May 8 16:01:34 CDT 2009
Author: mnicholson
Date: Fri May 8 16:01:25 2009
New Revision: 193391
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=193391
Log:
Set the proper disposition on originated calls.
(closes issue #14167)
Reported by: jpt
Patches:
call-file-missing-cdr2.diff uploaded by mnicholson (license 96)
Tested by: dlotina, rmartinez, mnicholson
Modified:
branches/1.4/main/channel.c
Modified: branches/1.4/main/channel.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/main/channel.c?view=diff&rev=193391&r1=193390&r2=193391
==============================================================================
--- branches/1.4/main/channel.c (original)
+++ branches/1.4/main/channel.c Fri May 8 16:01:25 2009
@@ -3089,8 +3089,19 @@
break;
case AST_CONTROL_BUSY:
+ ast_cdr_busy(chan->cdr);
+ *outstate = f->subclass;
+ timeout = 0;
+ break;
+
case AST_CONTROL_CONGESTION:
+ ast_cdr_failed(chan->cdr);
+ *outstate = f->subclass;
+ timeout = 0;
+ break;
+
case AST_CONTROL_ANSWER:
+ ast_cdr_answer(chan->cdr);
*outstate = f->subclass;
timeout = 0; /* trick to force exit from the while() */
break;
More information about the svn-commits
mailing list