Commit Graph

190 Commits

Author SHA1 Message Date
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
Anthony Minessale 88a681d47c fix typo in sql stmt 2011-08-04 23:21:38 -05:00
Anthony Minessale b946ee94b2 update call_uuid stuff 2011-08-04 01:04:21 -05:00
Anthony Minessale d364e9f2b8 display fixes and add 2 new cols to channels to store last sent display data 2011-08-03 23:43:41 -05:00
Anthony Minessale a7c6fa99c8 update sql indexes and queue size 2011-08-02 00:27:38 -05:00
Anthony Minessale 1adb743f90 2 wrong toins 2011-08-01 21:25:48 -05:00
Anthony Minessale 2d9d3f479c call update 2011-08-01 20:59:55 -05:00
Anthony Minessale c16c74d9c0 update show calls to show both 1 legged calls and bridged calls, also show bridged_calls for previous behaviour of show calls 2011-08-01 14:43:03 -05:00
Anthony Minessale 6b948cf190 make sql stmt more portable 2011-08-01 10:03:00 -05:00
Anthony Minessale 0fc8050cbc display update 2011-07-31 22:14:06 -05:00
Anthony Minessale 3bfbae343b re-add detailed_calls another way 2011-07-31 19:57:42 -05:00
Anthony Minessale 65b4782d19 revert 2011-07-31 19:06:52 -05:00
Anthony Minessale beecd937bf add new detailed_calls view a version of the channels table that shows only one legged calls or bridged calls 2011-07-29 13:59:31 -05:00
Jeff Lenk 6d03eb34f9 FS-3436 --resolve 2011-07-18 09:51:08 -05:00
Anthony Minessale 8f4ab3eb3c tweak sql q params 2011-07-14 00:13:36 -05:00
Anthony Minessale 11690aff4c remove some unnecessary sql stmts 2011-07-12 20:36:42 -05:00
Anthony Minessale 2939262e23 pause traffic if sql_queue gets to big 2011-07-11 21:27:36 -05:00
Anthony Minessale 0a21da5aab change commit factor on sql thread 2011-06-30 16:24:41 -05:00
Anthony Minessale 00b53a91ea FS-3277 --resolve There are actually really only 2 places where it needs the real hostname, the hostname command and the header on the events. I changed everything to the switchname because there were some more sql stmts etc in the core. 2011-04-29 10:24:50 -05:00
Anthony Minessale 6fa64e30db use queued sql for core registration handling 2011-04-19 10:31:19 -05:00
Anthony Minessale b63bff4c17 a few optimizations 2011-04-15 16:18:26 +00:00
Anthony Minessale aaef33cccf clear pointer on release 2011-04-14 17:50:48 -05:00
Anthony Minessale b8d93de097 memset str on cache_db_sql2str 2011-03-25 17:05:13 -05:00
Anthony Minessale a80fae922f FS-3126 2011-03-10 11:33:07 -06:00
Anthony Minessale 8da371c74a FS-3127 --comment-only can you try this patch first to see if it fixes it without any changes to mod_cc 2011-03-07 15:18:46 -06:00
Anthony Minessale 61cdf0da5d add limits to simo open sql handles 2011-03-04 13:52:30 -06:00
Anthony Minessale b3a2fa1c73 try to reduce contention by not creating handles with the global mutex locked 2011-03-03 20:07:43 -06:00
Anthony Minessale f542449cac FS-3106 --comment-only Try this newer refactored version which completely removes the thread affinity and uses a linked-list to manage the pool, I can run my same 100cps test and only use like 4 db handles 2011-03-03 12:54:20 -06:00
Anthony Minessale 11451c1056 FS-3106 --comment-only Try this out, its got a few elements from your patch but there was a much bigger problem deeper in the code preventing the sqlite handles from being recycled properly 2011-03-02 19:21:37 -06:00
Anthony Minessale 2044a749cf FS-3105 try this patch 2011-03-01 10:52:21 -06:00
Anthony Minessale 1cbb8f221b supress errors caused from -nosql as reported on the mailing list and not on JIRA like it should be http://jira.freeswitch.org 2011-02-25 21:39:37 -06:00
Mathieu Parent ea29a1dfcc centralized registration:
- allow infinite registrations (expire=0)
- when removing a registration, keep the other with same user if multiple reg is allowed
2011-02-23 01:07:53 +01:00
Anthony Minessale b36a7c0ba6 add multiple-registrations flag to the core similar to mod_sofia 2011-02-17 12:12:43 -06:00
Marc Olivier Chouinard 1096e6732c switch_core_sqldb: Index column name wrong on table registrations. (This wont create the index for people who already have the table) 2011-02-15 02:24:43 -05:00
Marc Olivier Chouinard 500e9acd25 switch_core: Add capability to specify core-db-name in switch.conf.xml to have sqlite in a different location. This is important for everyone with relatively 'high' sip registration since the addition of sip registration to the core require sqlite db to be moved to a faster location (Ramdisk for example). Useful for everyone who moved their sqlite db for sofia to ramdisk because of performance issue. 2011-02-15 01:49:41 -05:00
Anthony Minessale 04bb74fcae FS-3050 FS-3051 2011-02-14 11:27:55 -06:00
Anthony Minessale a2c0da53f3 add centralized registration db to core db and use it from mod_sofia 2011-02-11 23:10:12 -06:00