729 Commits

Author SHA1 Message Date
Brian West
c0423c5877 FS-9855: [mod_spandsp] Refused T38 reinvite on b-leg breaks T38 negotiation on a-leg when using T38 gateway mode #resolve 2017-01-05 16:34:11 -06:00
Brian West
f54c7f9f34 FS-9855: [mod_spandsp] Refused T38 reinvite on b-leg breaks T38 negotiation on a-leg when using T38 gateway mode #resolve 2017-01-05 15:51:52 -06:00
Mike Jerris
d2b41b6b61 FS-9800: [core] add new accessor functions to core statistics for use in modules 2016-12-01 13:12:04 -05:00
Brian West
4fb0db3e59 FS-9678: Fix FreeSWITCH not shutting down when profiles fails to load and shutdown-on-fail is set to true 2016-10-31 10:38:42 -05:00
William King
6dac2b5ff4 FS-9650 initialize pointer to NULL to resolve warning 2016-10-19 18:32:38 -07:00
Seven Du
7dd872e9b8 FS-9575 #resolve [Add MRCP] 2016-09-27 16:41:04 -05:00
Spencer Thomason
8928852d66 FS-9423 #resolve Handle null value in ACL list name 2016-08-12 13:38:10 -07:00
Michael Jerris
2c03025479 FS-9164: [core] add Session-Per-Sec-Last to heartbeat event 2016-05-16 14:48:46 -04:00
Mike Jerris
a74fc71b67 Merge pull request #687 in FS/freeswitch from freetdm_patch to master
* commit '320d5f2015976fed9ca282dfeeb2bd3e977e6f76':
  Applied the Sangoma patch to FS version 1.2 in order to port to FS v1.6+
2016-04-04 13:51:09 -05:00
Ken Rice
e18c12b609 FS-8953 [core] white space clean up. 2016-03-17 08:55:00 -05:00
Spencer Thomason
4b9bf111d7 Allow Solaris privileges to work on both Solaris and derivatives
Solaris does not have PRIV_PROC_PRIOUP but SmartOS does.  This allows
fallback to this privilege on supported platforms

FS-8195 #resolve
2016-01-27 19:54:47 -08:00
William King
320d5f2015 Applied the Sangoma patch to FS version 1.2 in order to port to FS v1.6+
Sourced from:
http://gitlab.sangoma.com/projects/CORE/repos/freetdm/browse/public_freeswitch/sangoma-FS-1.2.patch
2016-01-26 20:20:34 -08:00
Mark Lipscombe
4e9977507d FS-8537: Passing nil to various lua functions causes segfault
Various functions exposed via lua do not check their parameters for null
causing freeswitch to segfault.

This change adds checking for null parameters and returns an error
instead of segfaulting.
2015-11-15 10:43:09 +11:00
Mike Jerris
9edede6c08 Merge pull request #546 in FS/freeswitch from ~COREY BURKE/freeswitch:feature/FS-8281-expose-srtp-and-srtcp-crypto-keys to master
* commit '0316fdfcf1d2a72d1bad5dc9646371159173f93f':
  FS-8281: Expose SRTP and SRTCP crypto keys as channel vars
2015-10-27 19:13:25 -05:00
Corey Burke
0316fdfcf1 FS-8281: Expose SRTP and SRTCP crypto keys as channel vars
New vars are srtp_{local,remote}_crypto_key and srtcp_{local,remote}_crypto_key.
Allows decrypting packet captured media streams for debugging.
2015-10-27 16:33:49 -07:00
Ken Rice
dffb92e6a5 FS-8350 quash another complaint from windows on the same issue 2015-10-15 14:26:48 -05:00
Ken Rice
7b8ff86083 FS-8350 #resolve return value of SetPriorityClass() so windows build does not complain about warnings as errors on switch_core.c in set_realtime_priority()
this also addresses as similar condition in set_low_priority() where if windows it always returns 0
2015-10-15 13:31:25 -05:00
Stanislav Sinyagin
9461ed1335 FS-8195 Compatibility with Solaris 11 process privileges
Now the daemon manages its privileges correctly, so that -rp, -u,
-g and -lp can be supported, also in a Solaris zone.

Also fixed a problem that switch_log_printf() was used before the
logger was initialized, so the messages were sent to nowhere.
2015-10-03 01:52:37 +00:00
Brian
2815994647 FS-7638 properly match ACL with IPv4 mapped IPv6 addresses 2015-06-11 10:41:33 -05:00
Ken Rice
f866313835 Merge pull request #271 in FS/freeswitch from ~SILIK0N/freeswitch:FS-7607 to master
* commit '02a0a2a06897cdd044ab254f8d7f3089af3df715':
  FS-7607 #resolve #comment Update URLs to reflect https protocol on freeswitch.org websites and update additional URLs to avoid 301 redirects.
2015-06-04 09:27:59 -05:00
Anthony Minessale
6c135e15c1 FS-7602 FS-7499 FS-7587 #comment another refactoring pass on candidate parsing and ipv4/6 parsing 2015-06-03 15:54:21 -05:00
Ken Rice
02a0a2a068 FS-7607 #resolve #comment Update URLs to reflect https protocol on freeswitch.org websites and update additional URLs to avoid 301 redirects. 2015-06-03 15:23:40 -05:00
Anthony Minessale
3b2d00f3e6 FS-7587 Add ipv6 support to Verto / Websockets 2015-06-01 13:39:47 -05:00
Michael Jerris
fe50da3d8c FS-7507: fix expansion of dirs compiled into freeswitch 2015-05-28 12:47:33 -05:00
Michael Jerris
857a61318e FS-7507: Add global vars fonts_dir, images_dir, data_dir, localstate_dir
change configure detection to do FHS layout if you specify a prefix, unless --disable-fhs is passed to configure
moved includes to be under /usr/include/freeswitch dir in fhs layout
install font files into fonts_dir
2015-05-28 12:47:21 -05:00
Anthony Minessale
4bcc6e6d64 FS-7503 FS-7514: First crack at recording mp4 <action application="capture_video" data="vlc://#transcode{vcodec=h264,acodec=mp3}:std{access=file,mux=mp4,dst=/var/www/sounds/file.mp4}"/> 2015-05-28 12:47:05 -05:00
Chris Rienzo
b28f7acac1 FS-7496 Updated mime.types, added switch_core_mime_type2ext function and used it in mod_httapi. Now, file extensions defined in mime.types will be applied if mod_httapi downloads a file without one. 2015-04-30 14:24:41 -04:00
Brian West
183570bd94 FS-7396: #resolve update dtls socket when socket changes on auto-adjust that changes address families and also include link local v6 addresses in approrpiate auto acls 2015-03-26 17:38:12 -05:00
William King
f4a6e6e363 Remove the FreeSWITCH core handler for SIG_CHLD.
This does not appear to be needed any longer, and while this is in
place a dependent library that tries to start a child process will
hang waiting on the SIG_CHLD signal that the FreeSWITCH core 'ate'.

FS-7250 #resolve
2015-02-17 09:22:34 -08:00
Humberto Diógenes
ece5cd52db FS-7088 #resolve Set flag to enable core dump from non-root users.
When FreeSWITCH is running as a non-privileged user, we need to enable
PR_SET_DUMPABLE for it to be able to generate core dumps.

Instead of a generic __linux__ check, there's a new configure.ac flag
to check directly for prctl.h, which could also be used in other
places in the code.
2015-01-05 21:06:29 -03:00
Seven Du
7798b2fd40 FS-6984 set some default video rate 2014-12-24 07:53:11 +08:00
Brian West
fada4b893a FS-6977 #resolve 2014-11-11 18:18:32 -06:00
Nathan Neulinger
f175c71188 FS-6805 add support for logging full timestamps with dialplan, defaults to old behavior unless requested 2014-11-11 13:25:47 -06:00
Brian West
bc767bb35a Adding rfc6598.auto and adding rfc6598 space to nat.auto acl, This is the NAT444 carrier grade nat space 2014-11-06 08:55:03 -06:00
Travis Cross
27e3b5b705 Name variable storage_dir
...rather than `storage`.

ref: commit ce96d95c5e5b29b3bcb69d6e5416f0bc6bfb88f7
2014-09-04 20:57:28 +00:00
Russell Treleaven
ce96d95c5e add support for cache directory
make configs use specific directory variables instead of just base_dir
so that one configuration can be used for fhs and legacy installations
2014-08-31 20:22:08 -04:00
Brian West
b6dc4a6c11 FS-6747 #resolve 2014-08-22 16:39:52 -05:00
Travis Cross
03202e3017 Add fsctl command to summon reincarnation
If you start freeswitch with -reincarnate or -reincarnate-reexec, FS
will restart automatically in the event of an unexpected exit.

Currently, you can cause FS to immediately call exit(0) with `fsctl
shutdown now`, or you can have it call abort() with `fsctl crash`.
Which are both nice, but if you have reincarnation engaged, you really
might want FS to call exit([non-zero]) so the great supervisor
immediately breathes life back into your system.

This is now available via `fsctl shutdown reincarnate now`.
2014-06-10 22:39:27 +00:00
Michael Jerris
65d9cf62c9 CID:1214237 String not null terminated 2014-05-16 14:41:42 +00:00
Anthony Minessale
4a543b29a2 FS-6506 --resolve Technically when you are not using groups you do not add a <users> tag inside <domain> you just put several <user> tags in <domain> This patch will consume an extraneous <users> tag and move on making it work either way. 2014-05-07 00:06:02 +05:00
Travis Cross
fd4364cd43 Drop dead assignment 2014-04-30 22:43:33 +00:00
Travis Cross
946db55b34 Drop dead assignments 2014-04-30 22:42:08 +00:00
Anthony Minessale
7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Travis Cross
cde20f6fe6 Require sqlite as a system dependency
This purges sqlite from our tree and requires it to be present on the
system for building and running FreeSWITCH.

FS-353
2014-03-24 12:54:49 +00:00
Anthony Minessale
804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
William King
3575a07c40 FS-6271 --resolve Adding support for smoothing the min-cpu-idle by X number of seconds. Adds the cpu-idle-smoothing-depth into the conf/autoload_configs/switch.conf.xml configs with a default value of 30 seconds. 2014-02-26 12:36:50 -08: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
96fc5b1fc0 change startup logline to info so it goes in the logs and we can see which version is running 2014-01-20 23:13:59 +05:00
Ken Rice
bc0dc9a719 hush cranky compiles due to no format string 2014-01-17 09:07:16 -06:00