28621 Commits

Author SHA1 Message Date
Anthony Minessale
d8836fb213 FS-8802 #resolve [RTP stops sending audio when sent timestamp rolls over] 2016-02-01 16:24:31 -06:00
Anthony Minessale II
c1a3a280c2 Merge pull request #672 in FS/freeswitch from ~WT123/freeswitch:bugfix/FS-8757-fix-variable-and-header-expansion-buffer-overflow to v1.4
* commit '28da36e3e004b37584acaa28e99c674bfa39842a':
  Buffer overflow in switch_channel_expand_variables_check and switch_event_expand_headers_check fixed (FS-8757)
2016-01-19 10:38:08 -06:00
Thomas Weber
28da36e3e0 Buffer overflow in switch_channel_expand_variables_check and switch_event_expand_headers_check fixed (FS-8757) 2016-01-19 14:50:38 +01:00
Chris Rienzo
5258338429 FS-8708 [mod_rayo] fix example configuration to map to correct DETECTED_TONE event from spandsp_start_tone_detect 2016-01-05 14:19:05 -05:00
Chris Rienzo
dad8aba68b FS-8676 [mod_unimrcp] fix crash when an invalid voice-gender TTS param is attempted to be set 2015-12-22 16:04:38 -05:00
Chris Rienzo
563e336b49 FS-8662 [mod_http_cache] don't block http_tryget while another thread is fetching the URL 2015-12-15 14:43:29 -05:00
Ken Rice
aba5892bdb FS-8582 #resolve make sure the URL being passed here is not null 2015-12-07 12:18:51 -05:00
Chris Rienzo
35e360f1e4 FS-8619 [mod_rayo] reply with conflict stanza error if bind is attempted with duplicate JID. Improve error handling when 'ready' callback fails. 2015-12-04 17:45:39 -05:00
Anthony Minessale
45534616c6 FS-8547 #resolve [Add error log into stats to log when quality impacting events begin and end] 2015-11-23 18:11:58 -06:00
Mark Lipscombe
eb502e1d0f 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-23 13:36:45 -05:00
Ken Rice
66cd7d6b1a bump rev v1.4.26 2015-11-19 14:48:04 -06:00
Anthony Minessale
4bdca8197a FS-8160 Additional vulnerability in json parsing malformed utf encoded chars discovered by Brian Martin - Tenable Security Response CVE-2015-7392 2015-11-19 13:44:55 -06:00
Mark Lipscombe
6d8edab59b FS-8413: Segfault calling session:getVariable(nil) in lua script
script calling session:getVariable() with a null variable
name will cause FreeSWITCH to segfault.

This change checks whether varname parameter to
switch_channel_get_variable_dup is non-NULL.
2015-11-09 16:02:14 -06:00
Brian West
0e551408d4 Merge pull request #576 in FS/freeswitch from ~NNEUL/freeswitch:bugfix/fs-8308 to v1.4
* commit 'aaddce34c0a036a7e527b35f100ab32391697020':
  FS-8308 need to double encode if urlencoding json that is already encoded
2015-11-04 07:18:17 -06:00
Nathan Neulinger
aaddce34c0 FS-8308 need to double encode if urlencoding json that is already encoded 2015-11-03 09:11:20 -06:00
Mike Jerris
02dde638f5 FS-8378: [mod_esf] fix crash when using esf_page over loopback when transcoding 2015-10-29 13:18:24 -04:00
Michael Jerris
9fc9e8aef1 FS-8397: fix race condition inrementing event seq number 2015-10-29 10:29:14 -05:00
Ken Rice
9fcf3e0c9a FS-8335 #resolve fix small error check that results in error message not being displayed. 2015-10-23 11:21:55 -04:00
Anthony Minessale
2c1d7a2ba5 FS-8338 a few regressions that were relying on this bug to function properly in stereo situations 2015-10-23 11:21:40 -04:00
Chris Rienzo
61b8e6ee66 FS-8370 [mod_rayo] found another place in <prompt> where a message was freed after being queued for delivery. This resulted in a freed object being serialized, crashing FS. 2015-10-22 23:12:39 -04:00
Brian West
02d7baf79e FS-8354: #resolve [revert back ported patch for rate change detection it introducted a regression] 2015-10-16 15:47:56 -05:00
Anthony Minessale
f90dd4b1c0 FS-8338 #resolve [Ringback does not work correctly on stereo channels] 2015-10-12 17:00:44 -05:00
Davide Colombo
cd15a67789 FS-8246: use seconds as default value for delay param 2015-10-09 12:03:09 -05:00
Anthony Minessale
d6910afa3b FS-8282 #resolve [sleep is not interrupted by uuid_transfer] 2015-10-09 12:02:57 -05:00
Anthony Minessale
4d2bc24a1f FS-8166 #resolve [Mute/unmute while shout is playing audio fails because the channel "has a media bug, hard mute not allowed"] 2015-10-09 12:02:40 -05:00
Michael Jerris
1665168d37 FS-8269: fix build 2015-10-01 14:31:59 -04:00
Brian West
070291b44d FS-8244 2015-09-30 16:04:09 -05:00
Anthony Minessale
8681d42167 FS-8215: MacOSX nanosleep is not super accurate, use scaling factor to get it closer to correct 2015-09-29 11:24:02 -04:00
Saumar Hajjar
4977f608fe FS-7673: [mod_v8] Fixed ODBC NULL value incorrectly evaluated 2015-09-29 11:23:36 -04:00
Anthony Minessale
2655c12e45 FS-8190: [mod_event_socket] When using nixevent, freeswitch stops sending us certain custom event that were NOT part of the nixevent command 2015-09-29 11:19:25 -04:00
Ken Rice
0405d1f980 Bump Version Number 2015-09-28 00:25:43 -05:00
Ken Rice
aaef0e2987 bump version v1.4.23 2015-09-25 09:40:02 -05:00
Anthony Minessale
5f3de47a21 FS-7911: reduce pool memory allocation where not necessary
Conflicts:
	src/mod/endpoints/mod_sofia/mod_sofia.c
2015-09-25 08:46:18 -05:00
Anthony Minessale
a2061df862 FS-7911 #resolve
Conflicts:
	src/mod/endpoints/mod_sofia/mod_sofia.c
2015-09-24 16:02:56 -05:00
Travis Cross
e49f8c65f7 Remove explicit set of WorkingDirectory
In the systemd unit for FS/debian, if the WorkingDirectory is not set
then it defaults to '/'.  This is fine for FS, and is a common and
expected chdir choice for daemons.

We had previously set this to /run/freeswitch.  Due to Debian having
systemd-coredump(8) disabled, this was causing core files to be
written to /run/freeswitch, which is a bad place for them as it's
mounted on tmpfs.

It's better to leave FS as running on '/'.  This will prevent core
files from being written unless the user adjusts `sysctl
kernel.core_pattern`, which is a reasonable thing to expect if the
user wants these files.  Core files can be huge, and having them go
anywhere unexpectedly can be a problem.

When Debian adds the systemd-coredumps support this will all work
nicely and automatically.

ref: http://www.freedesktop.org/software/systemd/man/coredump.conf.html
ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744964

FS-7909
2015-09-22 05:50:57 +00:00
Travis Cross
0aca2c714d Use systemd RuntimeDirectory for /run/freeswitch
This changes how we create the temporary directory /run/freeswitch
when starting FS with systemd.  The /run directory starts empty after
a system reboot, so we need to ensure this directory is present.

As part of systemd.exec(5), systemd provides a mechanism to
automatically manage these directories under /run and to bind their
lifetime to the lifetime of the process.

This commit moves to using the RuntimeDirectory= mechanism and removes
the obsolete ExecStartPre/mkdir code.

FS-7130
2015-09-22 05:50:41 +00:00
Michael Jerris
cd4ebc67c4 FS-8042, FS-8182: add ping time (in ms) to sip_registrations table, displays as part of the show commands that show registration details, add force_ping=true user var to force options ping on individual registered endpoints 2015-09-21 17:46:35 -05:00
Michael Jerris
7dda9d01ea FS-8185: [core] Allow xml preprocessor to expand variables where the resulting value is much longer than the original size 2015-09-21 17:46:27 -05:00
Anthony Minessale
9936846e01 FS-8167 [mod_lua] Fixed a segfault caused by using api:execute or session:execute and not quoting the first argument like api:execute(log, “Second argument”) instead of api:execute(“log”, “Second argument”) 2015-09-21 17:46:13 -05:00
Anthony Minessale
5844c10fdd FS-8169 Fixed uuid_displace on stereo channels can lead to memory corruption causing a crash 2015-09-21 17:45:59 -05:00
Anthony Minessale
739ec596f0 FS-8175 #resolve [Add continue_on_answer_timeout variable to allow channel to proceed from a tripped answer timeout] 2015-09-16 18:14:42 -05:00
Michael Jerris
f4ed3a27ff FS-8149: fix mod_xml_cdr curl dependency in makefile v1.4.22 2015-09-15 12:24:20 -04:00
Tamas Cseke
a4e1d4c00a FS-8147: [mod_erlang_event] Fix process spawing segfault
Don't delete spawn reply because it can cause segfault in strncmp, check the flag instead
2015-09-15 12:23:10 -04:00
Artur Zaprzała
5257ee6521 FS-8140: [mod_sofia] Fix user_name typo in sofia_handle_sip_i_invite 2015-09-15 12:22:59 -04:00
Natanael Copa
8a8c8e943a FS-8131: [mod_voicemail] fix disallowed empty password set
Prevent users to change password to an empty password when
allow-empty-password-auth is set to true.
2015-09-15 12:21:34 -04:00
Natanael Copa
d0010f6d83 FS-1772: [mod_voicemail] fix reset of voicemail greeting to default to allow entering 0 to restore the default greeting. 2015-09-15 12:20:25 -04:00
Michael Jerris
3c57190b79 FS-8160: properly handle malformed json when parsing json with \u at the end of a json string 2015-09-14 17:57:44 -04:00
Chris Rienzo
12b2880b06 FS-8143 #resolve #comment [mod_rayo] Fix crash caused by client disconnecting from mod_rayo while a message is being delivered to that client.
This is caused by the XMPP context's JID -> XMPP stream mapping not being cleaned up on XMPP stream destruction.
2015-09-09 17:05:58 -04:00
Anthony Minessale
fab435479a FS-8127 #resolve [update codec when detecting rate change in mod_conference more often] 2015-09-09 14:12:46 -05:00
Peter Wu
02cc5bcd14 Restore LUA dialplan ACTIONS functionality
Since using SWIG 2.0 to generate the code, two new items have been
pushed on the stack. Use relative stack indices to avoid breakage.

FS-8099 #resolve
2015-09-09 14:00:10 -05:00