Commit Graph

535 Commits

Author SHA1 Message Date
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
Anthony Minessale 351e8edd99 up default
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16625 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-12 20:51:16 +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
Anthony Minessale 035d9c0506 make banner an api command so you can fetch it over event socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16451 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-22 02:42:05 +00:00
Anthony Minessale 34fc42c7b5 =/
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16328 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-15 22:22:08 +00:00
Anthony Minessale 2cd7ef1457 fix startup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16326 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-15 21:48:08 +00:00
Anthony Minessale f4a50a5e91 save history when stoping now
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16312 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-14 21:00:32 +00:00
Anthony Minessale abd116829e switch to conditional broadcast mode on slow kernels
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16308 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-14 16:02:46 +00:00
Michael Jerris d1c60899de add soundsdir configure var and sounds_dir global freeswitch var
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16241 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-11 16:32:35 +00:00
Michael Jerris 5ccac21dc3 wip move towards adding directory layout control to configure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16238 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-11 14:36:29 +00:00
Michael Jerris c064a2a586 add recordings_dir
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16233 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-11 03:20:42 +00:00
Anthony Minessale 009fe09c3c fsctl add shutdown now for debugging
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16220 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-08 22:10:03 +00:00
Anthony Minessale 074afad5b5 count runlevel to prevent dup calls to the core init routines
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16140 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-04 19:03:43 +00:00
Anthony Minessale f97846f492 more timer changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16098 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-30 20:55:04 +00:00
Anthony Minessale 8f05bb7939 add core param for controling timer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16093 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-30 15:47:31 +00:00
Anthony Minessale f80a9bd02a trade some max call count for more accurate timing in full media situations, hint: use 30ms ptime for drastic reduction in resources
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16081 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-29 23:21:20 +00:00
Anthony Minessale 0c63f02f75 mutex uuid creation
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16067 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-28 22:04:50 +00:00
Anthony Minessale 6812bfc771 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16062 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-28 16:40:18 +00:00
Anthony Minessale 0e2fe14aa6 DP-11
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16061 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-28 16:37:54 +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