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
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
Anthony Minessale
4a86f888be
cleanup tab completion more and introduce new callback based expansion functions to do real time tab completion in some areas, needs people to add more funcs etc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15952 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-14 20:10:06 +00:00
Brian West
a696e9279f
params have dashes in them
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15945 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-14 16:39:15 +00:00
Anthony Minessale
d13a46acd5
stop race condition in sofia where we tried to send an ack on a dead call and turn off early hangup by default (if you dont know that that is, good, do not document this)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15891 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-11 00:28:54 +00:00
Mathieu Rene
a6886d186a
MODENDP-224
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15760 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-02 18:51:28 +00:00
Anthony Minessale
a26dd5565a
move function into more logical file
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15750 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-02 02:00:17 +00:00
Anthony Minessale
506aae7cbe
refactor/abstract the core sql stuff more
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15599 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-21 17:57:55 +00:00
Brian West
16ffcd7e26
add debug-level to switch.conf.xml and tweak a few debugs
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15595 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-21 06:18:56 +00:00
Anthony Minessale
04889efc17
another crank on the can opener for the big can o worms
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15584 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-20 23:12:07 +00:00
Anthony Minessale
5d815cfdfe
add support for running core-db over odbc
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15487 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-17 00:12:54 +00:00
Marc Olivier Chouinard
8954dc5755
thanks to diegoviola for his detail-oriented watchful eye ;-)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15309 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-01 19:23:13 +00:00
Anthony Minessale
df7637f687
change switch_strlen_zero to zstr
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Anthony Minessale
ffba393bc2
fix win shutdown in both places
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-16 16:54:54 +00:00
Anthony Minessale
a94c35366d
make windows restart while it's blocking on the console FSCORE-435
...
Should work in every case with 1 exception
if you have started to type a command on the real console and never hit enter then do a *restart* not a shutdown, you will have to complete the command.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-16 15:48:40 +00:00
Anthony Minessale
2c620d4b00
FSCORE-456
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15051 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-02 15:07:18 +00:00
Anthony Minessale
14e4f0497d
farewell crash protection
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14919 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-18 15:55:10 +00:00
Brian West
dcfe0f5743
FSCORE-442
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14893 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-16 21:24:22 +00:00
Michael Jerris
107f913598
add --with-rundir configure param and -run freeswitch runtime param to adjust the location of the pid file (FSBUILD-188)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14768 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-04 18:26:15 +00:00
Andrew Thompson
b28dafb6cf
set the hostname core variable in switch_core_init too
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14726 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-01 20:55:09 +00:00
Anthony Minessale
9bb90c8514
set hostname var sooner
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14719 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-01 18:04:01 +00:00
Anthony Minessale
1a72f31cc8
FSCORE-385
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13925 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 21:41:22 +00:00
Anthony Minessale
96ab68c6f1
add wan.auto acl
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13905 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 13:40:29 +00:00
Mathieu Rene
b317e46aae
Add support for coma-delimited lists in a user's cidr attribute
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-06 01:37:26 +00:00
Anthony Minessale
29b9067d3e
picky compilers
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13657 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-05 21:36:52 +00:00
Anthony Minessale
5abb525491
picky compilers
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13656 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-05 21:23:37 +00:00
Anthony Minessale
1e3e07a42e
picky compilers
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13655 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-05 21:04:37 +00:00
Anthony Minessale
151275db20
picky compilers
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13654 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-05 21:03:01 +00:00
Anthony Minessale
19f7c84d44
picky compilers
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13651 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-05 20:57:34 +00:00
Brian West
e0e09cee6c
adding loopback.auto
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13586 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-03 19:25:42 +00:00
Anthony Minessale
4577ec8788
fix order of ops to enable logging sooner
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13556 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-02 22:03:33 +00:00
Anthony Minessale
b82984fe97
add netmask detection for nat discovery work
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13549 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-02 16:55:10 +00:00
Brian West
8da02d971e
moving init up so we have it in pre process vars
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13532 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-01 18:28:19 +00:00