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 |
Jeff Lenk
|
6a0f7f4ae8
|
build tweak + vs2010 swig
|
2010-09-15 16:21:10 -05:00 |
Michael Jerris
|
283b7a85b8
|
FSBUILD-304: Fix compile error due to incorrect format specifier
|
2010-09-15 02:57:31 -04:00 |
Anthony Minessale
|
6e23f3bef6
|
fix spelling err
|
2010-09-14 16:22:21 -05:00 |
Anthony Minessale
|
ef79535c45
|
add nitrus boost to sql thread
|
2010-09-14 16:19:13 -05:00 |
Marc Olivier Chouinard
|
8ea90fb17a
|
switch_core_sqldb: Simple spelling correction of log output
|
2010-09-14 15:30:36 -04:00 |
Jeff Lenk
|
2befa393a6
|
FSBUILD-302 Fix Windows build error - uninitialized variable
|
2010-09-08 22:47:28 -05:00 |
Anthony Minessale
|
68d1c32ad1
|
FSCORE-668
|
2010-09-07 10:51:02 -05:00 |
Anthony Minessale
|
84c2d80964
|
tweak on last commit
|
2010-08-20 14:18:08 -05:00 |
Anthony Minessale
|
77e2dccf72
|
add last_bridge_to var to keep uuid of last bridged channel and fix race in show calls on hangup of bypass_media channels
|
2010-08-20 13:53:08 -05:00 |
Anthony Minessale
|
a64061a24c
|
doh
|
2010-08-18 09:53:22 -05:00 |
Anthony Minessale
|
c47d1ef81c
|
always run test sql even when auto schema is off
|
2010-08-18 09:37:01 -05:00 |
Anthony Minessale
|
5f763d0d1b
|
fix caller id fields in show channels show calls etc
|
2010-08-17 17:26:36 -05:00 |
Anthony Minessale
|
a11f4e4fb3
|
add auto-create-schemas param to switch.conf.xml
|
2010-08-04 09:57:07 -05:00 |
Anthony Minessale
|
9a667aeb1f
|
fix leak
|
2010-07-23 16:15:10 -05:00 |
Anthony Minessale
|
44450cb013
|
fix some small mem leaks
|
2010-07-23 00:37:08 -05:00 |
Anthony Minessale
|
32f6aa3b9e
|
update
|
2010-07-13 00:47:41 -05:00 |
Anthony Minessale
|
1734df82ca
|
presence_data_cols
|
2010-07-11 21:00:13 -05:00 |
Anthony Minessale
|
aa318568c4
|
revert
|
2010-07-06 15:06:25 -05:00 |
Anthony Minessale
|
89769c2180
|
sort all inserts ahead of update/delete in queue processing
|
2010-07-06 14:42:03 -05:00 |
Anthony Minessale
|
d239b31dfc
|
sort the complete sql stmts to get proper ordering on tab complete
|
2010-07-06 12:03:09 -05:00 |
Anthony Minessale
|
34fe9e34c9
|
tweaks
|
2010-06-30 22:13:20 -05:00 |
Anthony Minessale
|
5b11c81731
|
fix sql stmt
|
2010-06-30 21:32:17 -05:00 |
Anthony Minessale
|
09bd04734c
|
prune check
|
2010-06-30 16:25:19 -05:00 |
Anthony Minessale
|
f2ea3ee315
|
indent run
|
2010-06-30 10:35:15 -05:00 |
Anthony Minessale
|
e11560ddf3
|
share handles when not using sqlite
|
2010-06-30 09:05:14 -05:00 |
Anthony Minessale
|
98a436bb27
|
add switch_cache_db_dismiss_db_handle
|
2010-06-29 15:50:03 -05:00 |
Anthony Minessale
|
7626a6c6b4
|
nm this is bad
|
2010-06-28 10:25:21 -05:00 |
Anthony Minessale
|
3b1d9f5bef
|
clear flag on destroy
|
2010-06-28 08:15:55 -05:00 |
Anthony Minessale
|
ff1a52ab18
|
add call_uuid
|
2010-06-25 13:25:13 -05:00 |
Anthony Minessale
|
3240a6f395
|
update callstate in sql event handler
|
2010-06-24 10:32:45 -05:00 |
Anthony Minessale
|
bc2b4795c1
|
add callee fields to channels table
|
2010-06-15 11:44:48 -05:00 |
Anthony Minessale
|
bc6334a610
|
FSCORE-617
|
2010-06-07 16:47:35 -05:00 |
Anthony Minessale
|
0f133eae2d
|
add new callstate field to channels table
|
2010-06-04 19:03:36 -05:00 |
Anthony Minessale
|
c82afd4336
|
wtf
|
2010-05-26 20:13:46 -05:00 |
Anthony Minessale
|
c017c24b8e
|
FSCORE-612 with mods
|
2010-05-25 16:54:31 -05:00 |
Anthony Minessale
|
a2874b8e33
|
FSCORE-604
|
2010-05-04 09:50:55 -05:00 |
Anthony Minessale
|
041a8f0d00
|
remove debug printf left behind in previous commit
|
2010-04-28 15:21:37 -05:00 |
Anthony Minessale
|
762bf62c0b
|
FSCORE-597
|
2010-04-26 16:38:05 -05:00 |
Anthony Minessale
|
631f540744
|
try harder to get db handle in sql thread and fail out if it can't get one
|
2010-04-22 13:28:44 -05:00 |
Stefan Knoblich
|
16d672a273
|
[1/3] gcc-4.5: Fix enum type mismatches in switch_core_sqldb.c.
|
2010-04-17 11:13:25 +00:00 |
Brian West
|
3b92634403
|
cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16728 d0543943-73ff-0310-b7d9-9358b9ac24b2
|
2010-02-22 23:41:56 +00:00 |
Anthony Minessale
|
886e1ddb4d
|
run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
|
2010-02-06 03:38:24 +00:00 |
Mathieu Rene
|
ad7cc96015
|
revert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16321 d0543943-73ff-0310-b7d9-9358b9ac24b2
|
2010-01-15 17:35:26 +00:00 |
Mathieu Rene
|
f861c00c85
|
switch_ivr_originate: fix windows compiler warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16320 d0543943-73ff-0310-b7d9-9358b9ac24b2
|
2010-01-15 17:34:01 +00:00 |
Anthony Minessale
|
e5cadc5196
|
MODAPP-387
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16278 d0543943-73ff-0310-b7d9-9358b9ac24b2
|
2010-01-13 18:02:42 +00:00 |
Brian West
|
b24c018c45
|
SCA tweaks
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16271 d0543943-73ff-0310-b7d9-9358b9ac24b2
|
2010-01-13 01:40:11 +00:00 |
Anthony Minessale
|
8aeed83995
|
MODAPP-380
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15984 d0543943-73ff-0310-b7d9-9358b9ac24b2
|
2009-12-17 15:47:39 +00:00 |
Anthony Minessale
|
ba8e009228
|
add fsctl flush_db_handles to expire any unused db handles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15982 d0543943-73ff-0310-b7d9-9358b9ac24b2
|
2009-12-17 00:03:17 +00:00 |
Anthony Minessale
|
309c4c54bd
|
return true/false from sql tester incase you want to do more stuff when the table had to be created
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15981 d0543943-73ff-0310-b7d9-9358b9ac24b2
|
2009-12-16 22:20:22 +00:00 |
Michael Jerris
|
44441cbd44
|
mysql allows only tiny indexes, 5 years later its still not fixed. For an amusing read check out http://bugs.mysql.com/bug.php?id=4541 (FSCORE-512)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15978 d0543943-73ff-0310-b7d9-9358b9ac24b2
|
2009-12-15 23:49:30 +00:00 |
Anthony Minessale
|
1ebe0f84f8
|
update log level
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15963 d0543943-73ff-0310-b7d9-9358b9ac24b2
|
2009-12-15 01:31:17 +00:00 |
Michael Jerris
|
49be528be5
|
fix record size causing mysql table create failure (FSCORE-512)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15938 d0543943-73ff-0310-b7d9-9358b9ac24b2
|
2009-12-12 21:12:18 +00:00 |
Anthony Minessale
|
6a89b33df6
|
hide printing of warning for duplicate type errs, the caller still gets it and may print it too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15858 d0543943-73ff-0310-b7d9-9358b9ac24b2
|
2009-12-09 16:06:30 +00:00 |
Michael Jerris
|
39ee7ef2af
|
change name of 'key' field due to reserved name in sql
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15842 d0543943-73ff-0310-b7d9-9358b9ac24b2
|
2009-12-08 16:37:48 +00:00 |
Michael Jerris
|
ec84309e8f
|
we can have duplicate entries here
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15826 d0543943-73ff-0310-b7d9-9358b9ac24b2
|
2009-12-07 15:54:17 +00:00 |