Commit Graph

169 Commits

Author SHA1 Message Date
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
Anthony Minessale 4ae8282e6c fix possible bad pointer in global vars (please test) 2011-02-02 15:43:26 -06:00
Anthony Minessale 83dea0ee45 FS-3024 2011-02-02 10:53:40 -06:00
Anthony Minessale 2ad81ac82f fix || where it should be or in sql stmt that may cause stray records in the calls table 2011-01-29 13:44:06 -06:00
Brian West d79cf48475 FS-2962 2011-01-05 11:45:48 -06:00
Brian West 3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Jeff Lenk 3406d05ba7 Fix fallback to CORE_DB when MSSQL fails init 2010-12-09 23:05:49 -06:00
Anthony Minessale 3501087b4d add-on to earlier change to this file 2010-12-03 20:22:14 -06:00
Anthony Minessale 5d7c09ed77 fix edge caes for endless loop in sql thread 2010-12-03 12:38:49 -06:00
Mathieu Rene ad7c7f1323 adjust switch_yield times in switch_core_sql_db_thread() and pool_thread() 2010-11-18 11:25:03 -05:00
Jeff Lenk 4bbd9a4c0f FS-2825 add additional info when fail 2010-11-08 08:05:23 -06:00
Anthony Minessale 7ac78ac21a FS-2811 2010-11-01 10:25:47 -05:00
Jeff Lenk d2ca8d4046 FS-2050 Core ODBC support for transactions with MSSQL 2010-10-21 16:18:54 -05:00
Mathieu Rene 3c4d7f1d48 fs_encode: encode by [ptime] ms so we don't end up with partial frames, destroy codec when done 2010-10-12 15:48:33 -04:00
Anthony Minessale 80883ebeb8 don't force wake thread 2010-10-05 11:11:21 -05:00
Anthony Minessale 633f193dae add bitrate patch from moc with some extra stuff for late neg mode 2010-09-29 16:52:43 -05:00
Anthony Minessale b02c69bba9 MODAPP-459 2010-09-22 18:14:24 -05:00
Anthony Minessale b6a533ee9a fix endless loop on startup when specifying -nosql 2010-09-22 08:28:14 -05:00
Anthony Minessale ce01c76c56 frick 2010-09-17 16:33:56 -05:00
Anthony Minessale 4e41e4c584 slight fix on last commit 2010-09-17 14:49:43 -05:00
Anthony Minessale 07ec7867db set conditionals to only fire when the mutex can be obtained 2010-09-17 14:05:48 -05:00
Anthony Minessale 3eb35a57bf forgot a spot to call conditional broadcast on shutdown 2010-09-15 17:04:54 -05:00