Commit Graph

226 Commits

Author SHA1 Message Date
Anthony Minessale 68e0b7e859 optimize sofia sql by using new core transaction processor we will no longer support databases that do not support transactions 2012-10-25 11:31:47 -05:00
Anthony Minessale f1e16ccbfa only track calls once they have been answered 2012-10-24 12:33:13 -05:00
Anthony Minessale 26fe3d3847 normalize db stuff to be pgsql:// odbc:// and sqlite:// in dsn strings 2012-10-12 10:54:44 -05:00
Anthony Minessale b4c621530f add some convenience for db stuff 2012-10-11 13:47:06 -05:00
Christopher Rienzo a7cb382e12 fix switch_core_sqldb.c compiler error on 32-bit debian 2012-10-10 14:30:27 +00:00
Jeff Lenk 14913fbe30 trivial compiler fix for last db refactor 2012-10-10 08:32:16 -05:00
Anthony Minessale e1fe289672 refactor db stuff to use single string dsn to avoid code duplication and introduce switch_sql_queue_manager api to create transactional sql queues to aggregate a bunch of sql stmts into transactions 2012-10-09 20:20:32 -05:00
Anthony Minessale 6998695f01 fold recovery db to only use core db and use transactional stmts for recovery stmts 2012-10-08 17:59:47 -05:00
Anthony Minessale bcfc2dbeb1 we do want this one bit from the last patch 2012-10-08 16:28:03 -05:00
Anthony Minessale 1ad45f7009 revert e08f9ada73 2012-10-08 15:57:51 -05:00
Eliot Gable 7e28946ba4 Make error message slightly more verbose. 2012-10-08 20:56:05 +00:00
Eliot Gable e08f9ada73 Abstract the sql_manager and cache_db stuff so that modules can utilize the core functionality to run their own instance of a cached SQL connection. Includes patch to fix some segs in case ODBC does not have password set or if using PGSQL support. 2012-10-08 20:34:09 +00:00
Eliot Gable 5cb354dddc Initial core-pgsql support based on native libpq; FS starts and stops without errors using core-pgsql. 2012-10-08 20:33:57 +00:00
Anthony Minessale 61033f420b revert 2012-10-03 14:19:34 -05:00
Anthony Minessale 464155c5cd more priority tweaks 2012-10-01 10:20:48 -05:00
Anthony Minessale 8733a2c895 some priority queuing tweaks for performance 2012-10-01 11:47:26 -05:00
Stefan Knoblich 3df5c5f2f4 FreeSWITCH: Add missing semicolon
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-26 17:45:05 +02:00
Anthony Minessale 0fc0b99950 FS-4654 --resolve 2012-09-26 08:01:25 -05:00
Anthony Minessale dbf5153fb7 speed improvements: change scheduler to SCHED_FIFO, Disable realtime throttling, use in-memory db for sqlite core channels table (set core-db-name to 'core' in switch.conf.xml for previous behaviour of using the core sqlite file, now only aliases will be in the persistant db) 2012-09-25 16:12:58 -05:00
Anthony Minessale b9dd32ac8f evil typo to cause regression in new core recover engine 2012-08-29 01:00:58 -05:00
Anthony Minessale 66677c940a move recovery engine up into the core 2012-08-22 16:27:07 -05:00
Anthony Minessale 1b355edf18 FS-4483 --resolve 2012-07-31 08:03:07 -05:00
Anthony Minessale b3e6730de8 indent 2012-07-31 07:59:58 -05:00
Anthony Minessale 46fee25dad add fsctl sql start/stop for standby controls 2012-07-12 14:30:44 -05:00
Anthony Minessale 6ea4c42c95 have sql thread manually subscribe to each event it cares about instead of every event and filtering it 2012-07-05 16:42:49 -05:00
Michael Jerris 2983003f95 do update to state on channels table at hangup 2012-06-05 13:19:34 -04:00
Anthony Minessale 6d02716ac5 last commit part 2 2012-06-01 13:28:30 -05:00
Anthony Minessale 75aab0ee6c put presence data in state events 2012-06-01 13:21:12 -05:00
Anthony Minessale 192030c578 add metadata col to internal registrations table 2012-05-30 13:05:05 -05:00
Anthony Minessale b117a65c50 put a little contention in the reg in new thread feature to prevent endless pileup 2012-05-17 19:57:02 -05:00
Anthony Minessale e54ab070f4 put presence-data in events 2012-05-10 12:15:30 -05:00
Anthony Minessale f1b504402b add core-db-inner-pre-trans-execute and core-db-inner-post-trans-execute to switch.conf.xml to wrap sql stmts inside the meat of the core transactions 2012-04-26 11:28:47 -05:00
Anthony Minessale 21b1ffbf25 add core-db-pre-trans-execute and core-db-post-trans-execute to switch.conf.xml to wrap sql stmts around the core transactions 2012-04-26 11:12:16 -05:00
Ken Rice c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Ken Rice 113c00aa5b FS-4117 --resolve 2012-04-18 09:33:10 -05:00
Anthony Minessale 995ae2621c FS-3769 --resolve 2012-04-10 16:17:16 -05:00
Anthony Minessale 3668d788da create indexes in independant stmts 2012-04-05 12:39:53 -05:00
Anthony Minessale d655ceecf8 add fsctl debug sql 2012-04-02 12:58:40 -05:00
Anthony Minessale f38c287a4b FS-3961 --resolve 2012-03-09 11:28:29 -06:00
Anthony Minessale 309c963dc7 parse only uuid specific presence data cols on bridge 2012-01-02 12:22:23 -06:00
Anthony Minessale 0596f2a621 add missing var set for transfer_source 2011-12-12 10:45:17 -06:00
Anthony Minessale ead7a68276 add <param name="core-odbc-required" value="true"/> to require connection to core db over odbc for startup 2011-10-17 09:34:50 -05:00
Anthony Minessale 256a6264d4 prevent sql injection by using sqlite formatter on various code that generates sql stmts with switch_snprintf 2011-09-29 08:28:12 -05:00
Jeff Lenk 40990c044c FS-3527 --resolve Syntax Error when using MSSQL in core 2011-09-05 14:40:49 -05:00
Brian West e817795e84 hrm 2011-09-01 03:31:47 -05:00
Jeff Lenk 882ebd6777 FS-3527 this fixes part of the problem with MSSQL 2011-08-31 16:04:20 -05:00
Anthony Minessale dfac4c4752 add auto-clear-sql param to core 2011-08-24 13:36:19 -05:00
Anthony Minessale b7e651a5e8 FS-3509 --resolve 2011-08-17 09:34:56 -05:00
Anthony Minessale 9423216b64 update auto-drop test for channels table 2011-08-15 14:48:05 -05:00
Anthony Minessale decfdbb083 fix sql typo 2011-08-11 14:15:26 -05:00