[asterisk-bugs] [Asterisk 0018407]: [patch] 'usegmtime=yes' is ignored and CDR(end) is not inserted

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 21 11:07:57 UTC 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18407 
====================================================================== 
Reported By:                joscas
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18407
Category:                   CDR/cdr_pgsql
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.8.0 
JIRA:                       SWP-2678 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-01 06:44 CST
Last Modified:              2010-12-21 05:07 CST
====================================================================== 
Summary:                    [patch] 'usegmtime=yes' is ignored and CDR(end) is
not inserted
Description: 
CDRs get inserted on the server local time and it doesn't insert the
CDR(end).
====================================================================== 

---------------------------------------------------------------------- 
 (0129830) joscas (reporter) - 2010-12-21 05:07
 https://issues.asterisk.org/view.php?id=18407#c129830 
---------------------------------------------------------------------- 
Also, I've tested the patch and it is not working. I think this is because
also the following section from cdr_pgsql.c should be replicated for 'end'
and 'callend':


                AST_RWLIST_TRAVERSE(&psql_columns, cur, list) {
                        /* For fields not set, simply skip them */
                        ast_cdr_getvar(cdr, cur->name, &value, buf,
sizeof(buf), 0, 0);
                        if (strcmp(cur->name, "calldate") == 0 && !value)
{
                                ast_cdr_getvar(cdr, "start", &value, buf,
sizeof(buf), 0, 0);
                        } 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-21 05:07 joscas         Note Added: 0129830                          
======================================================================




More information about the asterisk-bugs mailing list