[Home]

Summary:ASTERISK-00968: [patch] No cdr logging for calls placed via /var/spool/asterisk/outgoing
Reporter:iain (iain)Labels:
Date Opened:2004-02-01 09:11:13.000-0600Date Closed:2008-01-15 14:42:40.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) pbx.diff
Description:A cdr record is not committed for calls placed by dropping a call file into /var/spool/asterisk/outgoing.

****** ADDITIONAL INFORMATION ******

After a channel has been created for the outgoing call half * calls ast_pbx_run which creates a cdr record for the outgoing call, spawns the second call half and then bridges the call.  Unfortunately, on completion of the call the channel is hung up before the cdr is updated - leaving no trace of the call.

The patch forces the cdr to be written before the channel is closed.
Comments:By: Brian West (bkw918) 2004-02-01 19:04:31.000-0600

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 14:42:40.000-0600

Repository: asterisk
Revision: 2107

U   trunk/pbx.c

------------------------------------------------------------------------
r2107 | markster | 2008-01-15 14:42:39 -0600 (Tue, 15 Jan 2008) | 2 lines

Force update of the CDR before clearing channel (bug ASTERISK-968)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=2107