Commit Graph

654 Commits

Author SHA1 Message Date
Daniel Swarbrick 2b48cf8778 Resolve unused-but-set-variable introduced by c608ca3 and remove a line of redundant code. 2012-06-14 12:16:08 +02:00
Anthony Minessale c608ca35d8 don't print ASS 2012-06-13 11:29:14 -05:00
Anthony Minessale 2a257a56a2 default to forking system on non-windows 2012-05-24 13:06:32 -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 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 5190bd0849 FS-4186 --resolve 2012-05-04 08:25:48 -05:00
Anthony Minessale 8664dc6d5a some perfomance tweaks 2012-05-03 16:31:21 -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
Anthony Minessale a4de359df4 FS-4077 --resolve this is unrelated, we had to move the network list loader before the modules load because some people using static configs would have mod_sofia load before the acl were in place and it would prevent mod_sofia from doing proper nat detection. This commit should fix it by loading acl both before and after module load 2012-04-11 09:53:35 -05:00
Anthony Minessale 139dc3e34e fix race condition where network lists are not created yet so nat detection does not work in sofia during startup 2012-04-02 16:03:45 -05:00
Anthony Minessale d655ceecf8 add fsctl debug sql 2012-04-02 12:58:40 -05:00
Anthony Minessale 6f6765b8f2 start one msg thread per cpu by default 2012-03-27 16:48:30 -05:00
Anthony Minessale ed19343618 enhance 722f1060 with windows specific way 2012-03-27 16:32:56 -05:00
Anthony Minessale c358f67fe4 eat inbound vid while playing fsv files 2012-01-17 12:19:31 -06:00
Jeff Lenk 24288832b1 FS-2216 partial with renaming 2012-01-08 14:19:16 -06:00
Anthony Minessale 679da2f0f6 remove extra / 2012-01-02 13:00:40 -06:00
Jeff Lenk 377fb37168 FS-3779 --resolve hopefully this is ok 2011-12-23 14:54:53 -06:00
Anthony Minessale 691f7935e7 remove unused var 2011-12-23 10:15:15 -06:00
Jeff Lenk 8cda2d19dd FS-3740 fix warning 2011-12-23 10:05:14 -06:00
Jeff Lenk 9abd5c5da5 FS-3779 --resolve 2011-12-21 18:35:24 -06:00
Anthony Minessale 239094e49c fix 2011-12-20 13:51:47 -06:00
Anthony Minessale 0f6a2bf863 the threaded one seems to not work using only fork 2011-12-20 13:49:15 -06:00
Jeff Lenk 6824871df0 fix windows warning for last commit 2011-12-20 14:18:30 -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 e164b76caf add api_on_startup 2011-12-15 15:43:44 -06:00
Anthony Minessale 6e7d44af42 FS-3764 --resolve 2011-12-14 13:23:54 -06:00
Marc Olivier Chouinard e566057701 FS-2216 --resolve 2011-12-14 10:27:31 -05:00
Anthony Minessale 1ee867444d FS-2936 remove unused functions 2011-11-30 09:26:16 -06:00
Anthony Minessale e794a6db21 FS-2936 stage 2 please test ASAP 2011-11-29 15:35:36 -06:00
Anthony Minessale e58ed35d17 FS-2936 stage 1 2011-11-29 11:13:11 -06:00
Anthony Minessale 12f2bdf66a FS-3724 2 ways to fix after updating to this version, 1) run set_zombie_exec in the dp; 2) use system_on_fax_success/system_on_fax_failure vars with explicit name of your command 2011-11-28 16:45:59 -06:00
Anthony Minessale ea359d899f wtf 2011-10-21 19:50:08 -05: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 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 d9ce90d7b9 FS-3570 generate side 2011-09-16 11:41:25 -05:00
Anthony Minessale 4c3a0eb357 fix build for n00buntu 2011-09-13 08:37:48 -05:00
Jeff Lenk 722f10606a fix windows build for now 2011-09-12 21:05:15 -05:00
Anthony Minessale d354399c8a wtf 2011-09-12 17:54:07 -05:00
Anthony Minessale 1e712c7e03 only reap sigchld when in fork mode for system 2011-09-12 16:14: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 910f5364a4 add threaded-system-exec param and fsctl (set it to false to use fork) 2011-09-12 14:25:01 -05:00
Anthony Minessale 6dd1264d08 add support for global nameseace in chat interface to bind to unhandled messages 2011-09-02 14:41:25 -05:00
Anthony Minessale e518bb9556 ignore signals instead of using a blank handler 2011-08-26 12:59:01 -05:00
Anthony Minessale dfac4c4752 add auto-clear-sql param to core 2011-08-24 13:36:19 -05:00
Anthony Minessale 9c8437a1da FS-3415 --resolve 2011-08-10 07:58:02 -05:00
Anthony Minessale 0521886de8 use rwlock for global vars to reduce contention 2011-07-12 20:36:42 -05:00
Anthony Minessale b6fc1a5f30 FS-3372 --resolve 2011-06-27 10:09:15 -05:00
Anthony Minessale b978d39d48 FS-3312 --resolve 2011-05-25 14:45:55 -05:00
Anthony Minessale 23b5f58202 use ssl macro to init on dingaling too 2011-05-13 16:17:17 -05:00
Anthony Minessale acf3090adf FS-2936 plan B for curl stuff 2011-05-13 13:17:54 -05:00
Anthony Minessale c196e2c109 revert curl changes 2011-05-13 12:03:30 -05:00
Jeff Lenk a912fa6b3e VS2008 cleanup for Core Curl integration 2011-05-12 10:48:46 -05:00
Anthony Minessale 7064487df2 FS-2936 please test on windows 2011-05-11 10:07:00 -05:00
Anthony Minessale 16e3d1fa25 default timer to run slower and increase as needed, Run the timer at 20ms by default and drop down as needed unless you set 1m-timer=true which was previous default 2011-04-29 11:09:14 -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 73279f01bf FS-3166 --resolve 2011-04-22 16:43:29 -05:00
Anthony Minessale 0b51aca321 enable optimal defaults on linux kernels that can support newer features. 2011-04-18 11:17:33 +00:00
Anthony Minessale e4eade33ac fix default tipping point it was too low 2011-04-15 14:46:24 +00:00
Anthony Minessale 758949cda7 move sig messages up to DEBUG1 2011-04-08 14:23:16 -05:00
Brian West 1604f08e33 rebind sighandlers 2011-04-08 13:46:02 -05:00
Jeff Lenk 5310735c5f FS-3232 --resolve using relative path in windows script 2011-04-07 15:47:30 -05:00
Anthony Minessale 008f988990 FS-3208 --resolve 2011-04-01 12:30:24 -05:00
Anthony Minessale 6388e03d07 allow 100 microsecond tolerance on timer loop 2011-03-28 13:50:52 -05:00
Jeff Lenk 57b6255b17 windows - set process priority class to ABOVE_NORMAL_PRIORITY_CLASS previous default was NORMAL_PRIORITY_CLASS before today 2011-03-22 15:15:09 -05:00
Jeff Lenk af2cebc153 fix windows build(2) 2011-03-22 14:12:33 -05:00
Jeff Lenk 06469a6610 fix windows build 2011-03-22 13:48:19 -05:00
Anthony Minessale 5d7831348b improve some defaults to tune performance if you use -heavy_timer, try not using it 2011-03-22 13:27:37 -05:00
Anthony Minessale 26f5ebd47d dont calibrate clock when timerfd enabled 2011-03-21 21:01:20 -05:00
Anthony Minessale 10174ea6d5 add timerfd support to the core for now you must enable it in switch.conf.xml with the param enable-softtimer-timerfd=true later if it proves to work well we can make it on by default, please test if you have a new kernel that supports this option kernel >= 2.6.25 and libc >= 2.8 2011-03-21 20:49:39 -05:00
Anthony Minessale 61cdf0da5d add limits to simo open sql handles 2011-03-04 13:52:30 -06:00
Anthony Minessale cf827e8f22 FS-3063 --comment-only try this commit, maybe it was uninit mem 2011-02-25 16:34:17 -06: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 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 68d08547f3 try to improve iLBC compat 2011-02-03 16:27:22 -06:00
Anthony Minessale 4ae8282e6c fix possible bad pointer in global vars (please test) 2011-02-02 15:43:26 -06:00
Anthony Minessale 1cf79386c8 FS-2917 2011-01-21 14:51:38 -06:00
Brian West 3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Brian West db91f0e81f FS-2842: ACL for IPv6 address and swigall to boot 2010-11-15 11:37:23 -06:00
Jeff Lenk d2ca8d4046 FS-2050 Core ODBC support for transactions with MSSQL 2010-10-21 16:18:54 -05:00
Anthony Minessale dfa78985b4 Change codec behaviour
channel_variable: sdp_m_per_ptime
Adds a new m= line for each distinct ptime in codec list.

When this variable is not set:
	When mixing codecs with various ptime in a codec list, they will now be allowed to co-exist in the sdp but it will send no ptime attr.
		This means the ptime preferences on the offer will be ignored when mixing codecs with various ptimes.
	When receiving a codec list with no ptime attr, the ptime will be chosen from local preference instead of assuming 20ms
		This means if offer contains PCMU with not ptime and FS has PCMU@40i

Dynamic payloads will now start at 98 and increment per additional dynamic codec per call.
	So now you can add CELT@32000h,CELT@48000h and each one will be auto-assigned a dynamic paylaod type.
2010-10-13 19:28:20 -05:00
Anthony Minessale 4a3c726aff whitespace 2010-10-08 17:05:09 -05:00
Anthony Minessale e3c427ad28 fix default ptime for iLBC and make new configurable global map in switch.conf.xml 2010-10-08 17:04:22 -05:00
Anthony Minessale ef79535c45 add nitrus boost to sql thread 2010-09-14 16:19:13 -05:00
Anthony Minessale 6f2c455f92 add tone2wav 2010-09-14 11:48:43 -05:00
Anthony Minessale a11f4e4fb3 add auto-create-schemas param to switch.conf.xml 2010-08-04 09:57:07 -05:00
Anthony Minessale 8670318855 remove dup line 2010-07-23 14:13:45 -05:00
Anthony Minessale 710376fbe8 try to avoid skipping hangup hook 2010-07-23 14:11:47 -05:00
Mathieu Rene 6bd82d1fb4 Add fsctl shutdown_check to see if we're currently shutting down 2010-06-29 23:03:10 -04:00
Rupa Schomaker 8c8d962e3a fix perms 2010-06-21 09:51:57 -05:00
Rupa Schomaker b36f2a23bf timer based nat_map refresh 2010-06-21 09:51:57 -05:00
Anthony Minessale c017c24b8e FSCORE-612 with mods 2010-05-25 16:54:31 -05:00
Anthony Minessale 19dca2e3e9 add callee id to events and add global param verbose-channel-events and fsctl verbose_events [on|off] to globally configure verbose events 2010-04-27 16:52:40 -05:00
Anthony Minessale 95665f0096 JANITOR-4 2010-04-21 10:11:13 -05:00
Anthony Minessale b481cf0e21 FSCORE-576
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17065 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-22 16:22:19 +00:00
Anthony Minessale b1ddb70cf1 add fsctl min_idle_cpu and min-idle-cpu feature to refuse calls after the system fallse below a certian percentage of idle cpu
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16962 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-10 20:21:34 +00:00
Anthony Minessale d8214d521c increase default
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16890 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-04 00:41:42 +00:00
Anthony Minessale 717308a3cf compromising on timing code, remove -vm and make it default, make new -heavy-timing for previous default, change tipping-point to work of count of active timers rather than sessions, this should statisfy the droves of 'I wish it worked like 1.0.4 people'
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16853 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-01 19:25:27 +00:00
Anthony Minessale e3e7ad8fbe disable cpu timer affinity by default but make it still possible via config and fix stray constant in tipping_point
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16679 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-17 19:50:25 +00:00