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 |
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 |
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 |