Commit Graph

254 Commits

Author SHA1 Message Date
Anthony Minessale 44b4ab0995 FS-4869 can you try this more centralized patch please 2012-11-26 10:56:57 -06:00
Anthony Minessale 66e85c8d71 wrong turn in albakoykee 2012-11-22 15:19:38 -06:00
Anthony Minessale 377e093a31 mistake on last commit 2012-11-21 22:22:42 -06:00
Anthony Minessale 5dccbe4818 fix sql queue manager issues 2012-11-21 21:15:36 -06:00
Anthony Minessale ce885f1c31 fix occasional empty transaction 2012-11-20 13:45:32 -06:00
Eliot Gable 3ea579ccc3 FS-4850: Make cache db get_handle call not return handles which are already in use. 2012-11-20 14:09:02 +00:00
Anthony Minessale f6baeb2109 bump 2012-11-19 18:21:25 -06:00
Anthony Minessale 43b094f139 fix some sql order issues 2012-11-16 20:09:43 -06:00
Anthony Minessale d25bde067d FS-4816 --resolve 2012-11-09 08:47:30 -06:00
Anthony Minessale b002394f21 7 ate 9 2012-11-02 12:49:39 -05:00
Anthony Minessale c50336b1f8 deal with handles being released incorrectly 2012-10-31 10:31:23 -05:00
Michael Jerris 603f3eff97 add configure flag to turn on legacy coredb behavior 2012-10-31 11:22:10 -04:00
Michael Jerris 4fcf7c3443 always update state to CS_HANGUP for now, even if the channel is gone to handle race where we miss this update 2012-10-31 10:44:38 -04:00
Michael Jerris 1de65cbcd0 handle state update for hangup 2012-10-30 19:02:33 -04:00
Jeff Lenk fe4d736ff9 windows trivial compiler fixes and vs2010 reswig 2012-10-29 22:34:51 -05:00
Anthony Minessale 8626978201 fix race cond 2012-10-29 15:16:55 -05:00
Anthony Minessale d86f2c724a fix logic err 2012-10-29 13:47:21 -05:00
Anthony Minessale 4b5cdd87f1 refactor 2012-10-29 11:46:32 -05:00
Anthony Minessale 5533d71366 put back the hangup one for the time being 2012-10-29 07:49:25 -05:00
Anthony Minessale 96550e893e finish off sql optimization 2012-10-27 12:27:00 -05:00
Jeff Lenk 0fa6826a80 trivial compiler warning fix + vs2010 reswig 2012-10-27 11:20:34 -05:00
Anthony Minessale 0e139e1c0e missed a spot 2012-10-26 21:00:25 -05:00
Anthony Minessale 9d4b72b29a fold the last round of sql manager changes back into the core and use it for the central db and simplify the algorithm 2012-10-26 20:52:09 -05:00
Anthony Minessale 0e2f33e2b0 add mutex for good measure 2012-10-26 16:12:44 -05:00
Anthony Minessale 6b9c2ca8af fix for new db stuff 2012-10-26 14:17:52 -05:00
Anthony Minessale 28aa2ad291 optimize sql generator to skip insert/update stmts on channels that do not exist 2012-10-26 12:10:36 -05:00
Jeff Lenk 8a5212164f windows fixes for last commit + vs2010 reswig 2012-10-25 19:00:28 -05:00
Anthony Minessale 15837ff5c8 more little caesars 2012-10-25 16:22:52 -05:00
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