[asterisk-bugs] [Asterisk 0016148]: Callerid is not recorded in database

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Nov 15 16:52:40 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16148 
====================================================================== 
Reported By:                cursor
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16148
Category:                   Addons/cdr_addon_mysql
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.0-rc3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-28 18:07 CDT
Last Modified:              2009-11-15 16:52 CST
====================================================================== 
Summary:                    Callerid is not recorded in database
Description: 
The callerid is not recorded into the CDR database using Asterisk Addons
1.6.2.0-rc1.  All other fields work as expected.
====================================================================== 

---------------------------------------------------------------------- 
 (0113834) rickross (reporter) - 2009-11-15 16:52
 https://issues.asterisk.org/view.php?id=16148#c113834 
---------------------------------------------------------------------- 
I can confirm the same problem is occurring on my server. I issued both
commands specified by ebroad above, but I did not see a cdr debug record in
my console. I had, however, separately looged the sql query at the database
server, and it was similar to the one provided by cursor. It made no
mention of callerid or clid.

My "cdr_mysql.conf" includes the following in its [columns] section:

;
; You may also configure the field names used in the CDR table.
;
[columns]
;static "<value>" => <column>
;alias <cdrvar> => <column>
alias start => calldate
alias callerid => clid
;alias src => src
;alias dst => dst
;alias dcontext => dcontext
;alias channel => channel
;alias dstchannel => dstchannel
;alias lastapp => lastapp
;alias lastdata => lastdata
;alias duration => duration
;alias billsec => billsec
;alias disposition => disposition
;alias amaflags => amaflags
;alias accountcode => accountcode
;alias userfield => userfield
;alias uniqueid => uniqueid 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-15 16:52 rickross       Note Added: 0113834                          
======================================================================




More information about the asterisk-bugs mailing list