]>
git.ipfire.org Git - thirdparty/freeswitch.git/log
Anthony Minessale [Fri, 5 Feb 2016 17:56:44 +0000 (11:56 -0600)]
FS-6544
Anthony Minessale [Mon, 1 Feb 2016 22:23:36 +0000 (16:23 -0600)]
FS-8802 #resolve [RTP stops sending audio when sent timestamp rolls over]
Anthony Minessale II [Tue, 19 Jan 2016 16:38:08 +0000 (10:38 -0600)]
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)
Thomas Weber [Tue, 19 Jan 2016 13:50:38 +0000 (14:50 +0100)]
Buffer overflow in switch_channel_expand_variables_check and switch_event_expand_headers_check fixed (FS-8757)
Chris Rienzo [Tue, 5 Jan 2016 19:18:32 +0000 (14:18 -0500)]
FS-8708 [mod_rayo] fix example configuration to map to correct DETECTED_TONE event from spandsp_start_tone_detect
Chris Rienzo [Tue, 22 Dec 2015 21:04:04 +0000 (16:04 -0500)]
FS-8676 [mod_unimrcp] fix crash when an invalid voice-gender TTS param is attempted to be set
Chris Rienzo [Tue, 15 Dec 2015 19:42:48 +0000 (14:42 -0500)]
FS-8662 [mod_http_cache] don't block http_tryget while another thread is fetching the URL
Ken Rice [Fri, 27 Nov 2015 16:39:38 +0000 (10:39 -0600)]
FS-8582 #resolve make sure the URL being passed here is not null
Chris Rienzo [Fri, 4 Dec 2015 22:44:53 +0000 (17:44 -0500)]
FS-8619 [mod_rayo] reply with conflict stanza error if bind is attempted with duplicate JID. Improve error handling when 'ready' callback fails.
Anthony Minessale [Tue, 17 Nov 2015 01:31:32 +0000 (19:31 -0600)]
FS-8547 #resolve [Add error log into stats to log when quality impacting events begin and end]
Mark Lipscombe [Sat, 14 Nov 2015 23:40:20 +0000 (10:40 +1100)]
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.
Ken Rice [Thu, 19 Nov 2015 20:48:04 +0000 (14:48 -0600)]
bump rev
Anthony Minessale [Thu, 19 Nov 2015 19:45:04 +0000 (13:45 -0600)]
FS-8160 Additional vulnerability in json parsing malformed utf encoded chars discovered by Brian Martin - Tenable Security Response CVE-2015-7392
Mark Lipscombe [Wed, 4 Nov 2015 06:33:11 +0000 (17:33 +1100)]
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.
Brian West [Wed, 4 Nov 2015 13:18:17 +0000 (07:18 -0600)]
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
Nathan Neulinger [Tue, 3 Nov 2015 15:11:20 +0000 (09:11 -0600)]
FS-8308 need to double encode if urlencoding json that is already encoded
Mike Jerris [Thu, 22 Oct 2015 17:59:33 +0000 (12:59 -0500)]
FS-8378: [mod_esf] fix crash when using esf_page over loopback when transcoding
Michael Jerris [Thu, 29 Oct 2015 15:28:21 +0000 (10:28 -0500)]
FS-8397: fix race condition inrementing event seq number
Ken Rice [Mon, 12 Oct 2015 16:56:20 +0000 (11:56 -0500)]
FS-8335 #resolve fix small error check that results in error message not being displayed.
Anthony Minessale [Tue, 20 Oct 2015 16:00:12 +0000 (11:00 -0500)]
FS-8338 a few regressions that were relying on this bug to function properly in stereo situations
Chris Rienzo [Fri, 23 Oct 2015 03:03:15 +0000 (23:03 -0400)]
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.
Brian West [Fri, 16 Oct 2015 20:47:56 +0000 (15:47 -0500)]
FS-8354: #resolve [revert back ported patch for rate change detection it introducted a regression]
Anthony Minessale [Mon, 12 Oct 2015 22:00:13 +0000 (17:00 -0500)]
FS-8338 #resolve [Ringback does not work correctly on stereo channels]
Davide Colombo [Wed, 30 Sep 2015 08:36:38 +0000 (10:36 +0200)]
FS-8246: use seconds as default value for delay param
Anthony Minessale [Fri, 2 Oct 2015 14:19:06 +0000 (09:19 -0500)]
FS-8282 #resolve [sleep is not interrupted by uuid_transfer]
Anthony Minessale [Mon, 28 Sep 2015 17:38:58 +0000 (12:38 -0500)]
FS-8166 #resolve [Mute/unmute while shout is playing audio fails because the channel "has a media bug, hard mute not allowed"]
Michael Jerris [Thu, 1 Oct 2015 18:31:59 +0000 (14:31 -0400)]
FS-8269: fix build
Brian West [Wed, 30 Sep 2015 21:04:09 +0000 (16:04 -0500)]
FS-8244
Anthony Minessale [Wed, 23 Sep 2015 23:00:38 +0000 (18:00 -0500)]
FS-8215: MacOSX nanosleep is not super accurate, use scaling factor to get it closer to correct
Saumar Hajjar [Tue, 22 Sep 2015 02:36:42 +0000 (23:36 -0300)]
FS-7673: [mod_v8] Fixed ODBC NULL value incorrectly evaluated
Anthony Minessale [Mon, 21 Sep 2015 23:00:14 +0000 (18:00 -0500)]
FS-8190: [mod_event_socket] When using nixevent, freeswitch stops sending us certain custom event that were NOT part of the nixevent command
Ken Rice [Mon, 28 Sep 2015 05:25:43 +0000 (00:25 -0500)]
Bump Version Number
Ken Rice [Fri, 25 Sep 2015 14:40:02 +0000 (09:40 -0500)]
bump version
Anthony Minessale [Wed, 23 Sep 2015 16:58:57 +0000 (11:58 -0500)]
FS-7911: reduce pool memory allocation where not necessary
Conflicts:
src/mod/endpoints/mod_sofia/mod_sofia.c
Anthony Minessale [Wed, 23 Sep 2015 16:58:57 +0000 (11:58 -0500)]
FS-7911 #resolve
Conflicts:
src/mod/endpoints/mod_sofia/mod_sofia.c
Travis Cross [Tue, 22 Sep 2015 05:21:27 +0000 (05:21 +0000)]
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
Travis Cross [Tue, 22 Sep 2015 04:23:20 +0000 (04:23 +0000)]
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
Michael Jerris [Fri, 18 Sep 2015 21:55:10 +0000 (16:55 -0500)]
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
Michael Jerris [Fri, 18 Sep 2015 03:04:19 +0000 (22:04 -0500)]
FS-8185: [core] Allow xml preprocessor to expand variables where the resulting value is much longer than the original size
Anthony Minessale [Wed, 16 Sep 2015 03:35:29 +0000 (22:35 -0500)]
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”)
Anthony Minessale [Wed, 16 Sep 2015 03:19:12 +0000 (22:19 -0500)]
FS-8169 Fixed uuid_displace on stereo channels can lead to memory corruption causing a crash
Anthony Minessale [Wed, 16 Sep 2015 23:07:44 +0000 (18:07 -0500)]
FS-8175 #resolve [Add continue_on_answer_timeout variable to allow channel to proceed from a tripped answer timeout]
Michael Jerris [Thu, 10 Sep 2015 13:47:49 +0000 (08:47 -0500)]
FS-8149: fix mod_xml_cdr curl dependency in makefile
Tamas Cseke [Thu, 10 Sep 2015 09:23:58 +0000 (11:23 +0200)]
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
Artur Zaprzała [Fri, 29 May 2015 10:58:56 +0000 (12:58 +0200)]
FS-8140: [mod_sofia] Fix user_name typo in sofia_handle_sip_i_invite
Natanael Copa [Mon, 7 Sep 2015 14:23:56 +0000 (16:23 +0200)]
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.
Natanael Copa [Fri, 4 Sep 2015 13:48:00 +0000 (15:48 +0200)]
FS-1772: [mod_voicemail] fix reset of voicemail greeting to default to allow entering 0 to restore the default greeting.
Michael Jerris [Mon, 14 Sep 2015 21:56:37 +0000 (17:56 -0400)]
FS-8160: properly handle malformed json when parsing json with \u at the end of a json string
Chris Rienzo [Wed, 9 Sep 2015 21:03:23 +0000 (17:03 -0400)]
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.
Anthony Minessale [Thu, 3 Sep 2015 20:27:53 +0000 (15:27 -0500)]
FS-8127 #resolve [update codec when detecting rate change in mod_conference more often]
Peter Wu [Sun, 30 Aug 2015 20:30:32 +0000 (22:30 +0200)]
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
Anthony Minessale [Wed, 9 Sep 2015 17:26:03 +0000 (12:26 -0500)]
FS-7486 #resolve update sofia
Anthony Minessale II [Wed, 9 Sep 2015 17:23:20 +0000 (12:23 -0500)]
Merge pull request #243 in FS/freeswitch from ~ARTURZ/freeswitch:FS-7486-broken-sofia-request-queue to master
* commit '
074b07f5458d8584c153a5810bfa2e4011def20c ':
FS-7486: Fix handling of queued requests in Sofia-SIP
Anthony Minessale [Wed, 9 Sep 2015 16:41:04 +0000 (11:41 -0500)]
FS-8142 minor formatting mod
Anthony Minessale II [Wed, 9 Sep 2015 16:38:14 +0000 (11:38 -0500)]
Merge pull request #475 in FS/freeswitch from ~ARTURZ/freeswitch:FS-8142-switch_core_session-thread-cache-races to master
* commit '
cd4c3188e4f715ff129dc4eea1a4ba50140c2a42 ':
FS-8142 Fix a thread cache thread-safety and caching
Anthony Minessale II [Wed, 9 Sep 2015 15:48:01 +0000 (10:48 -0500)]
Merge pull request #474 in FS/freeswitch from ~ARTURZ/freeswitch:FS-8141-add-apr_queue_term to master
* commit '
9e29ea01b59280845f481f5b7b3743251c77dd50 ':
FS-8141 Add support for apr_queue_term() to switch_apr.c
Mike Jerris [Thu, 27 Aug 2015 16:42:29 +0000 (11:42 -0500)]
FS-7135: [mod_sofia] fix response to re-invite with duplicate sdp (such as we get from seesion refresh) when soa is disabled to include an sdp. Fixes t.38 fax failure on session refresh
Anthony Minessale [Mon, 24 Aug 2015 22:43:59 +0000 (17:43 -0500)]
FS-7903 #resolve [proxy_media gives Codec PROXY Exists but not at the desired implementation. 0hz 0ms 1ch]
Michael Jerris [Wed, 26 Aug 2015 22:06:28 +0000 (17:06 -0500)]
FS-8056: [mod_voicemail] fix segfault on vm_inject, regression from FS-7968
Joshua Gigg [Mon, 24 Aug 2015 16:24:37 +0000 (17:24 +0100)]
FS-7968: [mod_voicemail] fix verbose events
- Fix record-name event missing VM-Name-Path
- Fix verbose events for mod_voicemail 'folder-summary'
- Send change-password event in mod_voicemail
- Fix verbose events for mod_voicemail 'leave-message'
Michael Jerris [Wed, 26 Aug 2015 20:54:27 +0000 (15:54 -0500)]
FS-8055: [build] add confdir variable to freeswitch.pc
Mike Jerris [Tue, 1 Sep 2015 18:06:25 +0000 (13:06 -0500)]
Merge pull request #447 in FS/freeswitch from bugfix/FS-7911-v1.4 to v1.4
* commit '
d5d451734047a7dd6f847f6bd875f4a73c0d011d ':
FS-7912: [mod_conference] fix for v1.4 branch to not allocate for conference cdr if conference cdr is disabled
Chris Rienzo [Tue, 1 Sep 2015 17:43:30 +0000 (13:43 -0400)]
FS-8110 #resolve #comment [mod_rayo] prompt IQ error reply was being deleted after being sent for delivery. This is incorrect since message delivery thread will clean up the message.
Chris Rienzo [Tue, 1 Sep 2015 16:50:02 +0000 (12:50 -0400)]
FS-8082 #resolve #comment [mod_rayo] do not remove items from hash while iterating
Chris Rienzo [Tue, 1 Sep 2015 15:00:54 +0000 (11:00 -0400)]
FS-8103 #resolve #comment [mod_rayo] handle <prompt> where <output> finishes unexpectedly before start event is received
Chris Rienzo [Wed, 1 Jul 2015 15:30:39 +0000 (11:30 -0400)]
FS-7752 [mod_rayo] increase maximum number of <tag> elements from 30 to 1024. This allows adhearsion to create large grammars to navigate IVR menus.
Anthony Minessale [Fri, 28 Aug 2015 19:48:52 +0000 (14:48 -0500)]
FS-8091 backport to 1.4
Michael Jerris [Thu, 27 Aug 2015 19:15:47 +0000 (15:15 -0400)]
FS-7912: [mod_conference] fix for v1.4 branch to not allocate for conference cdr if conference cdr is disabled
Ken Rice [Tue, 25 Aug 2015 20:13:52 +0000 (15:13 -0500)]
bump version numbers
Chris Rienzo [Wed, 26 Aug 2015 14:52:33 +0000 (10:52 -0400)]
FS-8054 #resolve #comment [mod_rayo] fix warning when building on Debian.
Michael Jerris [Wed, 26 Aug 2015 13:28:54 +0000 (09:28 -0400)]
FS-8047: [build] fix build errors in mod_oreka, and mod_sangoma_codec due to using __FUNCTION__ on newer compilers
Michael Jerris [Wed, 26 Aug 2015 01:47:51 +0000 (21:47 -0400)]
FS-8047: [build] fix build error in mod_basic due to using __FUNCTION__ on newer compilers
Michael Jerris [Tue, 25 Aug 2015 21:36:23 +0000 (17:36 -0400)]
FS-8047: [build] fix build error in mod_basic due to using __FUNCTION__ on newer compilers
Anton Farygin [Thu, 16 Jul 2015 10:27:45 +0000 (13:27 +0300)]
FS-7043: [build] fixed apr1 unresolved symbols in libfreeswitch.so.1.0.0
Anthony Minessale [Tue, 18 Aug 2015 21:10:09 +0000 (16:10 -0500)]
FS-7985: [mod_voicemail] fails to compile on 32-bit PPC platform
Michael Jerris [Mon, 6 Jul 2015 21:28:05 +0000 (17:28 -0400)]
rename debug trace
Moises Silva [Mon, 29 Jun 2015 02:50:03 +0000 (22:50 -0400)]
OPENZAP-237: [freetdm] Use __FTDM_FUNC__ instead of __FUNCTION__ to comply with c99 in gcc 5.1
Moises Silva [Wed, 24 Jun 2015 04:50:37 +0000 (00:50 -0400)]
OPENZAP-238: [freetdm] Fix gsm call id management hangup race, and some compilation errors
Anthony Minessale [Wed, 19 Aug 2015 17:47:31 +0000 (12:47 -0500)]
FS-7962: [core] Invite/replaces fails about half the time when between 2 freeswitch servers
Anthony Minessale [Wed, 19 Aug 2015 16:42:11 +0000 (11:42 -0500)]
FS-7969: Freeswitch segfaults due to pthread_setschedparam() on a thread that has exited] #comment please test this fix which was verified working
Joshua Gigg [Tue, 18 Aug 2015 08:14:14 +0000 (09:14 +0100)]
FS-7975: [mod_voicemail] Fix record-greeting event missing VM-Greeting-Path
Michael Jerris [Fri, 14 Aug 2015 17:51:12 +0000 (12:51 -0500)]
FS-7955: [mod_sofia] fix crash caused by invalid contact when using event to send a notify message
Brian West [Thu, 30 Jul 2015 16:45:46 +0000 (11:45 -0500)]
FS-7917: [mod_sofia] Fixed default config, we really shouldn’t be setting ext-*-ip settings for ipv6 profiles
Michael Jerris [Fri, 24 Jul 2015 20:21:49 +0000 (15:21 -0500)]
FS-7839: [webrtc] Fix interop with firefox > 38 to work with new EC dtls requirements
Anthony Minessale [Fri, 24 Jul 2015 16:43:31 +0000 (11:43 -0500)]
FS-7891: [mod_spandsp] Allow spandsp dtmf detector to work on rates other than 8k
Anthony Minessale [Fri, 24 Jul 2015 06:11:04 +0000 (01:11 -0500)]
FS-7891: [mod_spandsp] Allow spandsp dtmf detector to work on rates other than 8k
Michael Jerris [Wed, 22 Jul 2015 16:00:54 +0000 (11:00 -0500)]
FS-7872: [mod_verto] handle attempting to transfer 1 legged call gracefully
Michael Jerris [Tue, 21 Jul 2015 17:23:21 +0000 (12:23 -0500)]
FS-7866: [core] fix crash when running incorrect var api expansion syntax "eval ${${external_sip_ip}:4}"
Hristo Trendev [Fri, 19 Jun 2015 08:54:18 +0000 (10:54 +0200)]
FS-7685: [mod_say_nl] Fix Dutch numbers pronunciation
The Dutch number pronunciation is more like the German one. 21 is
pronounced as "one-and-twenty".
FS-7685 #resolve
Anton Lozovsky [Thu, 16 Jul 2015 16:18:24 +0000 (19:18 +0300)]
FS-7731: [mod_xml_cdr] url_index global pointer concurrent access fix, curl default connection timeout fix
- thread variable copy of url_index global pointer to prevent the concurrent access having wrong state change if the posting to the current http server was unsuccessfull;
- overriding the default curl connection timeout
Based on need to figure out the smallest block of code need to mutex, and that libcurl (and its wrapper) is definitely thread safe.
andywang1988 [Tue, 7 Jul 2015 07:10:13 +0000 (15:10 +0800)]
FS-7754: [freetdm] Fixed a bug relating to single digit dial-regex with analog devices
Mark Lipscombe [Mon, 6 Jul 2015 15:06:17 +0000 (12:06 -0300)]
FS-7778: [mod_sofia] Fixed a bug causing a SQL statement to fail because of a double quote instead of a single quote
sofia_glue.c tries to issue an SQL "ALTER TABLE" statement to add the
ping_status column to sip_registrations, but fails because the default
is incorrectly quoted (double quotes vs single quotes).
Brian West [Thu, 2 Jul 2015 18:18:56 +0000 (13:18 -0500)]
FS-7767: [mod_sofia] Fixed a segfault caused by invalid arguments to sip_dig
Brian West [Thu, 2 Jul 2015 15:08:54 +0000 (10:08 -0500)]
FS-7761 [core] fix shutdown races running api commands during shutdown
Anthony Minessale [Tue, 30 Jun 2015 17:30:36 +0000 (12:30 -0500)]
FS-7721: [core] Fixed a segfault caused when using session:recordFile() and session:unsetInputCallback in a lua script
Davide Colombo [Fri, 26 Jun 2015 14:20:22 +0000 (16:20 +0200)]
FS-7732: [mod_commands] follow recording on other session
follow recording on other session
Brian West [Tue, 25 Aug 2015 16:44:05 +0000 (11:44 -0500)]
FS-8037: zrtp-passthru shouldn't activate unless the zrtp-hash is in the SDP.
Anthony Minessale [Sun, 23 Aug 2015 17:42:27 +0000 (12:42 -0500)]
FS-8028: [mod_shout] fix random sockets being closed regression from FS-7621
Chris Rienzo [Wed, 12 Aug 2015 22:00:19 +0000 (18:00 -0400)]
FS-7951 #resolve #comment completely clean up mod_rayo if it fails to load
Anthony Minessale [Thu, 30 Jul 2015 17:28:58 +0000 (12:28 -0500)]
FS-7447 #resolve