[asterisk-dev] [Code Review] High Resolution Call Time for Billsec and Duration

Tilghman Lesher tlesher at digium.com
Mon Jan 18 17:06:18 CST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/461/#review1376
-----------------------------------------------------------



/trunk/addons/cdr_mysql.c
<https://reviewboard.asterisk.org/r/461/#comment3124>

    One thing you'll want to do here is verify that answer != ast_tvzero().  In other words, if the call is not answered, then your billsecs will be over a billion seconds, which is not good.



/trunk/addons/cdr_mysql.c
<https://reviewboard.asterisk.org/r/461/#comment3125>

    Kill leading spaces.



/trunk/cdr/cdr_adaptive_odbc.c
<https://reviewboard.asterisk.org/r/461/#comment3126>

    Again, verify that answer is non-zero.



/trunk/cdr/cdr_sqlite.c
<https://reviewboard.asterisk.org/r/461/#comment3127>

    Tabs should only occur to indent at the very beginning of a line.  Spaces should be used within a line.  This keeps lines indented identically for people who use different settings for tabstops (and it's also a coding guideline).


- Tilghman


On 2010-01-18 16:54:09, Brad Latus wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/461/
> -----------------------------------------------------------
> 
> (Updated 2010-01-18 16:54:09)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> This allows for the showing of the accurate times for billable time and call duration.
> Adds new flag to CDR function 'f' for the above fields.
> 
> This came about by bug #16559 and I thought i'd take a go at making it happen.
> 
> We can drop a few of the modules for ones we want to depreciate like sql-lite / odbc (in favour of sql-lite3 / adaptive_odbc)
> 
> 
> This addresses bug 16559.
>     https://issues.asterisk.org/view.php?id=16559
> 
> 
> Diffs
> -----
> 
>   /trunk/CHANGES 240716 
>   /trunk/UPGRADE.txt 240716 
>   /trunk/addons/cdr_mysql.c 240716 
>   /trunk/cdr/cdr_adaptive_odbc.c 240716 
>   /trunk/cdr/cdr_odbc.c 240716 
>   /trunk/cdr/cdr_sqlite.c 240716 
>   /trunk/cdr/cdr_tds.c 240716 
>   /trunk/configs/cdr_custom.conf.sample 240716 
>   /trunk/configs/cdr_odbc.conf.sample 240716 
>   /trunk/configs/cdr_sqlite3_custom.conf.sample 240716 
>   /trunk/configs/cdr_syslog.conf.sample 240716 
>   /trunk/configs/cdr_tds.conf.sample 240716 
>   /trunk/funcs/func_cdr.c 240716 
> 
> Diff: https://reviewboard.asterisk.org/r/461/diff
> 
> 
> Testing
> -------
> 
> Compile test only.
> 
> 
> Thanks,
> 
> Brad
> 
>




More information about the asterisk-dev mailing list