Commit Graph

296 Commits (f47b03877b87d725b8ab442936df792c2c352aee)

Author SHA1 Message Date
Tilghman Lesher 5120334acc Backport 1.6.0 fix to trunk (failsafe if db is not loaded)
16 years ago
Tilghman Lesher 31ae1bfa0d If config file is blank, don't load module.
16 years ago
Kevin P. Fleming 9a7efae8fd remove the PBX_ODBC logic from the configure script, and add GENERIC_ODCB logic that includes copying the relevant LIB and INCLUDE data from either UnixODBC or iODBC, based on which was found; if both were found, prefer UnixODBC
17 years ago
Tilghman Lesher b584784f85 When querying for the structure of the CDR table, remove the schema, if it
17 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Kevin P. Fleming 887e28d7aa incorporates r159808 from branches/1.4:
17 years ago
Terry Wilson 3a4177f52e Reloading the config and having no changes still initialized some settings to 0. Initialize settings after doing all of the cfg checks.
17 years ago
Terry Wilson 4f8242904a Begin on a crusade to end trailing whitespace!
17 years ago
Terry Wilson d66a8cd264 Fix checking for CONFIG_STATUS_FILEINVALID so that modules don't crash upon trying to parse an invalid config
17 years ago
Tilghman Lesher 03b1a5a384 Allow setting static values in CDRs
17 years ago
Kevin P. Fleming 448562af93 improve configure script to remember the previous value of each dependency in build_tools/menuselect-deps, so that (once it has been written) menuselect can use this information to warn the user when a previously met dependency is no longer met
17 years ago
Sean Bright ceee55ea63 Keep up with shadow warnings. One day I'll actually enable this in the Makefile.
17 years ago
Michiel van Baak 4560279c69 All ODBC parts can now use either unixodbc or iodbc.
17 years ago
Sean Bright e189fb406f Build under dev-mode
17 years ago
Tilghman Lesher 3a67cc8016 Add usegmtime, as per the recent -users list discussion, and also add my
17 years ago
Sean Bright a8a0ecb509 Move some duplicated code into a separate function.
17 years ago
Tilghman Lesher b95a4f4680 Oops
17 years ago
Tilghman Lesher 8be98abf79 Memory leak
17 years ago
Tilghman Lesher a88af95df4 Eliminate open coding of ast_str
17 years ago
Sean Bright 2fbd22bbc2 Fix memory leak in cdr_sqlite3_custom.
17 years ago
Sean Bright 297ebf779f If we detect that we are no longer connected, try to reconnect a few times
17 years ago
Sean Bright c2faa7bfda Use the ast_vasprintf macro instead of vasprintf directly.
17 years ago
Sean Bright 9c7099faae Log the userfield CDR variable like the other CDR backends, assuming the
17 years ago
Tilghman Lesher 8397209316 Fix runtime symbol error
17 years ago
Sean Bright 778b3d88a7 More from the resolve-shadow-warnings branch. This time the cdr/ directory.
17 years ago
Brett Bryant 86e5bb8b7d Fix magic Revision keywords in hashtab.c and change cdr_radius.c to use
17 years ago
Sean Bright 097ac98034 Fix a bug I noticed while doing the previous merge
17 years ago
Sean Bright dd0c0f3d38 Cast a few more strings to char *, so that we can compile cleanly against
17 years ago
Sean Bright a61f8794e3 This was bogus, need to find a better way.
17 years ago
Sean Bright e41a7c3d51 While we're at it, escape all the columns in our TDS queries as well. Double
17 years ago
Sean Bright 044a7b945f Quote column names when inserting CDRs into postgres to avoid conflicts
17 years ago
Sean Bright 19830f3359 Merge in changes from my cdr-tds-conversion branch. This changes the internal
17 years ago
Steve Murphy c23e5fea96 This solves a crash in the cdr_tds module on 'stop gracefully', for situations where 'settings' is not set to a pointer
17 years ago
Sean Bright f0b9647b09 Last commit for a bit, minor cleanups and move the lock initialization.
17 years ago
Sean Bright 4ee3510f10 Convert to use stringfields. Still some more work to do on config load/reload.
17 years ago
Sean Bright 852c514e25 Remove some unused variables
17 years ago
Sean Bright 8b1ed7aa5b Coding guidelines stuff only.
17 years ago
Jeff Peeler ef3b214728 Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
17 years ago
Tilghman Lesher 1207e9207e Don't unload config on reload, when config has not changed.
17 years ago
Tilghman Lesher 0c08b7727d Ensure that "calldate" is acceptable for a column name.
17 years ago
Sean Bright 87973ccea2 Minor logging cleanups
17 years ago
Tilghman Lesher 369ccdef5e Oops, buffer wasn't long enough for query
17 years ago
Tilghman Lesher 7c26320110 If any field is not null, but has no default, then it must be set or the insert will fail.
17 years ago
Tilghman Lesher ded5ec5b5d Merged revisions 113874 via svnmerge from
17 years ago
Jason Parker 1958abd90e Merged revisions 110779 via svnmerge from
17 years ago
Terry Wilson b02bc230af Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not
17 years ago
Tilghman Lesher cafd900dc8 Convert prepare_and_execute to direct_execute for speed
17 years ago
Tilghman Lesher 408228bfb8 Whitespace changes only
17 years ago
Tilghman Lesher fbb78d988d Convert to use ast_str
17 years ago
Tilghman Lesher f274f7bcaa Permit additional CDR columns to be saved in Postgres. Note that these
17 years ago