Commit Graph

494 Commits

Author SHA1 Message Date
Anthony Minessale 928a989de1 first pass of stereo support 2014-06-12 22:06:33 +05:00
Anthony Minessale 495db48f5a make device state code more accurate 2014-05-31 00:30:59 +05:00
Travis Cross 333aff8a05 Document that switch_core_alloc returns zeroed memory 2014-05-27 11:24:09 +00:00
Anthony Minessale 4178688b4a add switch_hashtable_insert_destructor so you can insert a pointer into a hash with a custom destructor and use it in spandsp to fix a leak on reloadxml with the tone_descriptor tables and fix a bunch of random tiny leaks etc 2014-04-09 23:26:47 +05:00
Anthony Minessale 7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Anthony Minessale 5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
Eliot Gable 5b1ab59f00 Add error handling to sql queue manager callback functionality and fix spelling. 2014-03-14 15:54:05 +00:00
Anthony Minessale efef505e26 add switch_sql_queue_manager_pause and switch_sql_queue_manager_resume 2014-03-12 11:42:37 -05:00
Anthony Minessale 804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Anthony Minessale 6fef880f12 FS-5675 --resolve 2014-01-24 00:23:58 +05:00
Anthony Minessale 8dfbd91a3d fold version macros into runtime functions to avoid cascade rebuilds when modifying the core 2014-01-17 01:54:47 +05:00
Seven Du 7256caf278 add a debug_pool param to fsctl 2013-11-16 14:17:59 +08:00
Anthony Minessale d6bb35ad3c add soft timer support for fd per timer use enable-softtimer-timerfd=broadcast in switch.conf.xml for orig behaviour 2013-11-16 01:37:16 +05:00
Anthony Minessale e2e8a57d9d add ring_wait callstate for devstate interface 2013-10-30 14:08:34 -05:00
Anthony Minessale 916a75e9cf device state tweaks 2013-10-23 20:45:34 -05:00
Anthony Minessale 4a172402d2 some refactoring and plumbing for 1.4 2013-10-16 02:24:32 +05:00
Jeff Lenk cc806e21f1 FS-5807 -- fix windows warnings 2013-09-21 16:13:48 -05:00
Anthony Minessale a5f2176ea4 deliver events with the core thread pool set events-use-dispatch=true in switch.conf.xml to use the old way 2013-09-05 03:42:40 +05:00
Anthony Minessale 7d6d688e53 FS-5731 --resolve 2013-08-26 20:25:14 +05:00
Anthony Minessale d35db852a8 follow up to last commit 2013-08-16 12:17:00 -04:00
Anthony Minessale 70d78f1665 FS-5583 --resolve 2013-07-19 14:02:58 -05:00
Ken Rice f30e40a80b --resolve FS-3922 2013-07-04 21:18:20 -05:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Anthony Minessale 2fac3a8e83 refactor some of the video passthru code 2013-06-17 19:52:37 -05:00
Anthony Minessale df1bba55ee FS-5498 2013-06-10 19:13:21 -05:00
Anthony Minessale 860ed3f9a6 add last callback run stamp to device records 2013-06-06 13:09:13 -05:00
Anthony Minessale 4240526ce3 add some device-state mechinism to FS to allow tracking of device-specific states where they may have more than one call from the same device 2013-06-05 11:20:11 -05:00
Anthony Minessale 101b116daf FS-5011 try to fill gaps 2013-05-14 11:22:53 -05:00
Anthony Minessale 7fd28f58f9 FS-5208 --resolve 2013-04-08 12:09:49 -05:00
Anthony Minessale 4cac512b97 change ssl symbol visibility to specific places in core only 2013-03-31 21:27:23 -05:00
Anthony Minessale dabb85c3f6 wip 2013-03-31 21:27:22 -05:00
Anthony Minessale 14e3570848 add switch_core_session_findall to get a list of all open uuid 2013-03-27 15:51:23 -05:00
Anthony Minessale 861c3e3ccc add switch_core_get_variables and allow execute_on funcs to see global vars too 2013-03-27 14:54:01 -05:00
Anthony Minessale e8ecf7c887 FS-4846 --resolve 2013-03-07 16:21:37 -06:00
Anthony Minessale a76b352a1e FS-5011 --resolve if you use record_session with a filename with no extension it will record 2 files with that base-name and with extensions -in.XXX and -out.XXX where XXX is the codec name 2013-02-25 16:32:09 -06:00
Anthony Minessale 65f17f4d3e add headers 2013-01-31 14:41:12 -06:00
Anthony Minessale 203f727e1f add async select feature to sql queue manager api 2013-01-31 08:59:57 -06:00
Anthony Minessale dd8784a9e0 add terminators to dmachine and a way to use them in dp_tools and httapi 2013-01-21 15:36:35 -06:00
Anthony Minessale 081e261956 FS-4883 --resolve I can add this but if it leads to issues in the loaded code we may not have resoures to investigate 2012-11-29 08:58:44 -06:00
Anthony Minessale 428cd029de FS-4868 --resolve This patch also adds freeswitch.ready() which will return false once shutdown has started 2012-11-26 15:18:58 -06:00
Anthony Minessale 6f2976298f FS-4836 ok try this 2012-11-15 13:16:50 -06:00
Anthony Minessale 057861867e FS-4836 not quite 2012-11-15 13:14:08 -06:00
Anthony Minessale 73f022873b FS-4836 try this 2012-11-15 12:54:40 -06:00
Anthony Minessale 94763ea52b FS-4681 --resolve 2012-11-01 13:07:47 -05:00
Anthony Minessale 96550e893e finish off sql optimization 2012-10-27 12:27:00 -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 6b9c2ca8af fix for new db stuff 2012-10-26 14:17:52 -05:00
Anthony Minessale 1d4e16419e fix macro 2012-10-25 15:13:31 -05:00
Anthony Minessale 16d41e463c get rid of little caesars 2012-10-25 15:09:09 -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 986fede6b0 make a way to get the jitter buffer down to the codecs 2012-10-18 15:29:00 -04:00
Anthony Minessale b4c621530f add some convenience for db stuff 2012-10-11 13:47:06 -05:00
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 e08f9ada73 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 fbcb862265.
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