aboutsummaryrefslogtreecommitdiffstats
path: root/cdr.c
AgeCommit message (Collapse)AuthorFilesLines
2006-03-26conversions to S_OR (issue #6803)russell1-12/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15022 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-22Merged revisions 14234 via svnmerge from file1-2/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r14234 | file | 2006-03-22 17:38:32 -0400 (Wed, 22 Mar 2006) | 2 lines Issue #5918 - Disposition showing FAILED even though call is answered successfully (Reported by tracinet) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14235 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-15Furthermore, set the disposition to FAILED if the CDR was never even startedrussell1-2/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13160 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-15don't calculate a duration if the CDR wasn't started, as it will result in arussell1-3/+4
totally bogus value. Thanks, Luigi! :) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13132 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-15remove calculations that always evaluate to zero, thanks Luigi!russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12995 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-14add an option to cdr.conf that enables ending CDRs before executingrussell1-5/+8
the "h" extension as opposed to afterwards (issue #6193) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12896 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-01Merged revisions 11503 via svnmerge from tilghman1-4/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r11503 | tilghman | 2006-03-01 11:41:52 -0600 (Wed, 01 Mar 2006) | 2 lines Bug 6615 - Fix 64bit conversion errors by using a long int ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11504 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23Bug 6417 - Allow retrieval of raw CDR valuestilghman1-19/+39
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10953 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15more memory allocation wrapper conversionkpfleming1-19/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10141 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14Bug 4377 - Initial round of loader changestilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10084 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11Merged revisions 9493,9528 via svnmerge from kpfleming1-2/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r9493 | bweschke | 2006-02-11 00:29:34 -0600 (Sat, 11 Feb 2006) | 3 lines kpfleming's fix from r9472 backported to 1.2 ........ r9528 | kpfleming | 2006-02-11 09:22:55 -0600 (Sat, 11 Feb 2006) | 2 lines clean up my mess from thread-starting change ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9529 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-10Merged revisions 9404 via svnmerge from kpfleming1-3/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r9404 | kpfleming | 2006-02-10 14:38:59 -0600 (Fri, 10 Feb 2006) | 2 lines don't create monitor threads in detached mode, when we need to be able to pthread_join() them later if the module is unloaded (solve crash-on-unload problem for these channel modules) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9405 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01use string fields for some stuff in ast_channelkpfleming1-2/+3
const-ify some more APIs remove 'type' field from ast_channel, in favor of the one in the channel's tech structure allow string field module users to specify the 'chunk size' for pool allocations update chan_alsa to be compatible with recent const-ification patches git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-04doxygen tweakrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7778 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30update doxygen docs to specify authorsrussell1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-19Merged revisions 7521 via svnmerge fromtilghman1-3/+6
/branches/1.2 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7522 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29remove duplicate list of cdr variable names (issue #5865)russell1-31/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7217 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-14finish merging doxygen updates from issue #5605russell1-9/+21
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7096 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06Convert some built-in applications to use new args parsing macros.russell1-5/+7
Change ast_cdr_reset to take a pointer to an ast_flags structure instead of an integer for flags. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6987 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28add 'ast_cond_t' type for pthread condition variables, and appropriate API ↵kpfleming1-5/+5
wrappers git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6877 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-27Fix CDR crash (bug #5525 and many others)markster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6869 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26change ast_strlen_zero to also check for the string to be definedrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6862 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24Doxygen documentation update from oej (issue #5505)russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-4/+14
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-09eliminate compiler warnings when DEBUG_THREADS is enabledkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6313 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25use CDR API calls instead of re-implementing them (bug #4726)kpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6213 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15add a library of timeval manipulation functions, and change a large number ↵kpfleming1-15/+13
of usses to use the new functions (bug #4504) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-08ensure globals are all statickpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6061 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-07super crazy ast_copy_string conversion madness!russell1-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6056 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-07make CLI output use singular/plural when appropriate (bug #4654)kpfleming1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6047 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-20use ast_build_string() to build strings into buffers, and general cleanup of ↵kpfleming1-36/+23
variable serializing functions used by 'show channel' (bug #4558) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5944 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-17minor fixes to conform to the newly-posted coding guideline :-)kpfleming1-8/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5921 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-17Fix reset cdr (bug #4531)markster1-3/+20
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5920 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-15ensure proper variables are returned from CDR function (bug #4521)kpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5916 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-14don't use pthread_mutex_lockkpfleming1-4/+4
don't double-include pthread.h in utils.h, which can cause the pthread_mutex_lock warning to not be generated on some systems git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5906 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06more file version tagskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06remove experimental module version tagskpfleming1-0/+4
add per-file revision tags and 'show version files' CLI command git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03support configurable batch posting of CDRs (off by default) (bug #3883)kpfleming1-4/+437
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5823 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-25Use defined AST_MAX_ACCOUNT_CODE (bug #4350)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5765 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15various fixes:kpfleming1-206/+183
use linked list macros for managing backend list (inspired by bug #4258) use ast_copy_string instead of strncpy when appropriate minor fixes and formatting cleanup add AST_LIST_HEAD_STATIC and AST_LIST_REMOVE_CURRENT macros git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5659 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-05expose function execution routines and warn about trying to set a read-only ↵anthm1-0/+12
cdr var git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5589 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22phase 1 of header include cleanup (bug #4067)kpfleming1-3/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5498 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-8/+8
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-13add missing newlines, fix misspelling of nonexistent (bug #4027)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5467 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-29Allow functions to be written to (bug #2278, with mods)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5296 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-23Merge anthm's CDR updates (bug #3595)markster1-9/+266
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5068 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21update copyright headers for 2005russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-17Misc Grammer/formatting fixes - Thanks Corydon76! (bug #3361)twisted1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4827 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-10More flagification, courtesy drumkilla (bug #3280)markster1-24/+25
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4748 f38db490-d61c-443f-a65b-d21fe96a405b