391 Commits

Author SHA1 Message Date
Anthony Minessale
21d19b6100 add switch_core_session_findall_matching_var func to core to get a list of uuid with a certian var set to a certian val 2012-10-11 09:57:02 -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
1ad45f7009 revert e08f9ada73cb7a39477c4fe255fe28af7c6bfa92 2012-10-08 15:57:51 -05: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
Eliot Gable
0e0c15b4b4 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2012-10-05 16:11:22 +00:00
Eliot Gable
391e7c365b Rename switch_hash_first() and switch_hash_next() to switch_core_hash_first() and switch_core_hash_next() and deprecate the older versions. 2012-10-05 16:11:12 +00:00
Anthony Minessale
61033f420b revert 2012-10-03 14:19:34 -05:00
Anthony Minessale
52eff9451c wrap fork so we can drop priority in child processes 2012-10-01 13:38:45 -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
614ba049b1 add proto 2012-09-24 17:53:23 -05:00
Anthony Minessale
c2893801cb add timestamps for on and off hold times to put in xml cdrs 2012-09-07 18:17:57 -05:00
Anthony Minessale
3c685bff25 fix double sessions on auth challenged calls 2012-08-29 10:38:37 -05:00
Anthony Minessale
66677c940a move recovery engine up into the core 2012-08-22 16:27:07 -05:00
Anthony Minessale
33e642e98c remove unused resurrect code 2012-08-22 16:27:07 -05:00
Steve Underwood
ea58df8456 Fixed Cairo's entry in the timezone files
Changed mod_spandsp so it tries to resolve timezone names like Asia/HongKong
to a POSIX timezone descriptor string, like other parts of FreeSwitch do.
2012-08-22 22:25:54 +08:00
Anthony Minessale
142c051d68 cache session threads and reuse them if possible 2012-08-21 00:14:50 -05:00
Anthony Minessale
e5a15cde31 debug lost read lock 2012-08-15 15:11:57 -05:00
Anthony Minessale
293429f78d add api-expansion to switch.conf.xml and fsctl api_expansion command to control allowing apis to be expanded via variable expansion 2012-07-27 18:53:04 -05:00
Anthony Minessale
d832b5dfef FS-4453 --resolve this will now cause up to a 20 second timeout waiting for the response and the call will be blocking 2012-07-24 13:45:10 -05:00
Seven Du
14cb9af607 add switch_core_file_write_video
open a door to write video data
so it is possible to record a .fsv file
also possible to write to .mp4 with proper file format support
2012-07-20 11:38:20 +08:00
Anthony Minessale
46fee25dad add fsctl sql start/stop for standby controls 2012-07-12 14:30:44 -05:00
Anthony Minessale
b1ae97466d add enable-use-system-time param to switch.conf.xml use at your own risk, someone with windows could verify it works ok 2012-07-03 17:15:14 -05:00
Anthony Minessale
c5ba5acbd5 move stacksize thing into the core deeper to avoid build issues 2012-07-03 11:35:41 -05:00
dschreiber
6069adece5 Revert "add thread safe hash multi delete function and make callback optional"
I don't see this command being used anywhere. Since I don't like to touch core files unless absolutely necessary I'm reverting these two changes. I've emailed the author, Tamas, for an explanation. The other patches for FS-3432 (merged in now) appear to work fine without this commit.

This reverts commit fbcb86226581cdcc66fc7b633b505906c207a4cd.
2012-06-19 08:51:28 -07:00
dschreiber
7e6018985c Merge remote branch 'origin/master' into FS-3432 2012-06-19 08:10:54 -07:00
Anthony Minessale
192030c578 add metadata col to internal registrations table 2012-05-30 13:05:05 -05:00
Tamas Cseke
fbcb862265 add thread safe hash multi delete function and make callback optional 2012-05-24 09:35:23 +02:00
Anthony Minessale
bbdcd33bde performance tweaks for sip message parsing and event system 2012-05-17 20:10:53 -05:00
Anthony Minessale
5c75d4cf5b FS-4220 --resolve i refactored this into a general cross platform function and use it everywhere else we try to set affinity 2012-05-15 08:31:42 -05:00
Anthony Minessale
5b3b77071b make sure bargers use the same codec as bargee to avoid transcoding delay 2012-05-14 10:03:35 -05:00
Anthony Minessale
f9653fbd38 FS-4204 --resolve 2012-05-10 22:34:37 -05:00
Anthony Minessale
a511ff3026 re-implement sla barge using eavesdrop backend 2012-05-07 13:44:16 -05:00
Ken Rice
7a147e4762 Update a ton of copyright statements to make sure the dates are proper 2012-04-25 17:14:55 -05:00
Anthony Minessale
6f6765b8f2 start one msg thread per cpu by default 2012-03-27 16:48:30 -05:00
Anthony Minessale
f6941ca48f FS-3910 It seems to have a problem keeping up with the realtime audio. Try this patch that introduces some prebuffering 2012-02-17 11:23:59 -06:00
Anthony Minessale
c358f67fe4 eat inbound vid while playing fsv files 2012-01-17 12:19:31 -06:00
Anthony Minessale
e5139c3db5 FS-3816 --resolve 2012-01-17 09:43:14 -06:00
Anthony Minessale
0f6a2bf863 the threaded one seems to not work using only fork 2011-12-20 13:49:15 -06:00
Anthony Minessale
d7a37e9754 allow system API command to capture output from the executed command 2011-12-20 12:34:21 -06:00
Anthony Minessale
6e7d44af42 FS-3764 --resolve 2011-12-14 13:23:54 -06:00
Anthony Minessale
1ee867444d FS-2936 remove unused functions 2011-11-30 09:26:16 -06:00
Jeff Lenk
8ca4efea75 FS-3709 --resolve 2011-11-21 09:53:27 -06:00
Anthony Minessale
2094f2d33b add fsctl sync_clock_when_idle so you can sync the clock but have it not do it till there are 0 calls 2011-10-12 14:55:32 -05:00
Anthony Minessale
7333d46d5b add new chatplan concept and mod_sms. Apps for chat messages: copy new base freeswitch.xml and chatplan dir if you are upgrading on existing config base 2011-09-21 14:31:18 -05:00
Anthony Minessale
9125a96c6d convert chat interface to use events instead of a bunch of args 2011-09-13 16:51:30 -05:00
Anthony Minessale
c1dd008b1d change -hp to -rp, add -lp and -np, no priority flags means auto which will do -rp if you have > 1 cpu 2011-09-12 16:13:19 -05:00
Anthony Minessale
42b64ccd67 get rid of digit_action_set target and add target,bind_target params to bind_digit_action 2011-09-02 09:34:40 -05:00
Anthony Minessale
cf9859ea69 add digit_action_set_target app that can set the target (direction of the dtmf flow and subsequent channel who gets the events) to self or peer (bridged channel when possible) 2011-09-01 10:11:24 -05:00