]>
git.ipfire.org Git - thirdparty/freeswitch.git/log
Chris Rienzo [Tue, 15 Apr 2014 18:27:49 +0000 (14:27 -0400)]
FS-6407 --resolve mod_rayo: support SIP URI caller ID w/ display name
Raymond Chandler [Tue, 15 Apr 2014 16:47:48 +0000 (12:47 -0400)]
add parsing of user params on invite
Anthony Minessale [Tue, 15 Apr 2014 16:22:36 +0000 (21:22 +0500)]
add SWITCH_MESSAGE_HEARTBEAT_EVENT indication to execute on a session when session heartbeat fires
Nathan Neulinger [Mon, 14 Apr 2014 20:04:06 +0000 (15:04 -0500)]
mod_skinny: fix leak
Nathan Neulinger [Mon, 14 Apr 2014 18:22:24 +0000 (13:22 -0500)]
FS-6460 --resolve fix leaked RTP ports that cause mod_skinny to fail after N calls
Chris Rienzo [Mon, 14 Apr 2014 16:01:31 +0000 (12:01 -0400)]
mod_rayo: clean up module hashes on shutdown
Chris Rienzo [Mon, 14 Apr 2014 13:47:41 +0000 (09:47 -0400)]
FS-6447 --resolve return subscriber-absent platform-code 20 if <dial> is attempted to user that is not registered
Michael Jerris [Mon, 14 Apr 2014 12:50:15 +0000 (08:50 -0400)]
FS-6459: --resolve fix srcdir build running modcheck
Peter Olsson [Fri, 11 Apr 2014 14:49:30 +0000 (16:49 +0200)]
FS-6457 --resolve
Upgrade to OpenSSL 1.0.1g in Windows build (Visual Studio 2010 and 2012)
Travis Cross [Sat, 12 Apr 2014 06:57:59 +0000 (06:57 +0000)]
Avoid leaking memory on mod_cdr_sqlite unload
Travis Cross [Sat, 12 Apr 2014 06:48:36 +0000 (06:48 +0000)]
Avoid leaking memory on mod_voicemail unload
Travis Cross [Sat, 12 Apr 2014 06:43:11 +0000 (06:43 +0000)]
Avoid leaking memory on mod_hash unload
Travis Cross [Sat, 12 Apr 2014 06:31:31 +0000 (06:31 +0000)]
Avoid leaking memory on unload of mod_dptools
Automated leak detectors find leaked memory on shutdown. Cleaning up
after ourselves on shutdown eliminates noise from these reports.
Travis Cross [Sat, 12 Apr 2014 05:06:51 +0000 (05:06 +0000)]
Condense styling a bit
Travis Cross [Sat, 12 Apr 2014 04:44:45 +0000 (04:44 +0000)]
Hide warning about sometimes initialized variable
The rc variable here was always initialized but the compiler couldn't
see that because of the lack of an unconditional else clause.
Travis Cross [Sat, 12 Apr 2014 04:30:19 +0000 (04:30 +0000)]
Fix memory leak in subscription handling
We were leaking one event (~539 bytes) for every subscribe packet
received with both an "event: as-feature-event" and an authorization
header.
Travis Cross [Fri, 11 Apr 2014 23:00:35 +0000 (23:00 +0000)]
Merge in change to use system libmemcached
FS-353
Travis Cross [Fri, 11 Apr 2014 22:58:43 +0000 (22:58 +0000)]
Depend on system libmemcached-dev on Debian
James Le Cuirot [Fri, 11 Apr 2014 21:23:22 +0000 (22:23 +0100)]
Ungetlib libmemcached
Tested with several libmemcached versions between 0.31 and
1.0.18. Unfortunately the API is extremely volatile and awkward to
use. Packaging scripts still need addressing.
FS-353
James Le Cuirot [Mon, 7 Apr 2014 21:46:47 +0000 (22:46 +0100)]
Add libyaml pkg-config LIBS to LIBADD not LDFLAGS
Per the automake manual these should go in LIBADD.
http://www.gnu.org/software/automake/manual/html_node/Program-and-Library-Variables.html
FS-353
Signed-off-by: Travis Cross <tc@traviscross.com>
James Le Cuirot [Mon, 7 Apr 2014 21:46:47 +0000 (22:46 +0100)]
Show message in configure when YAML isn't there
FS-353
Signed-off-by: Travis Cross <tc@traviscross.com>
Peter Olsson [Fri, 11 Apr 2014 14:35:19 +0000 (16:35 +0200)]
Make sure to copy pcre.h to library path, when building Win32/Debug in VS2012.
Anthony Minessale [Thu, 10 Apr 2014 22:33:57 +0000 (03:33 +0500)]
remove SSML from mod_rss
Anthony Minessale [Thu, 10 Apr 2014 22:24:14 +0000 (03:24 +0500)]
FS-6453 --resolve
Anthony Minessale [Thu, 10 Apr 2014 22:08:27 +0000 (03:08 +0500)]
avoid recomputing hash
Anthony Minessale [Thu, 10 Apr 2014 21:36:13 +0000 (02:36 +0500)]
FS-6448 --resolve revert string func patch cos some things free it
Chris Rienzo [Thu, 10 Apr 2014 14:20:47 +0000 (10:20 -0400)]
mod_rayo: fixed input crash introduced in 2014-04-07 commit
Travis Cross [Wed, 9 Apr 2014 07:40:18 +0000 (07:40 +0000)]
Move loop exit conditionals
The net effect here is the code looks more "regular" and reads more
linearly.
Travis Cross [Wed, 9 Apr 2014 07:35:38 +0000 (07:35 +0000)]
Avoid considering more phrase actions after break
Previously we would continue considering phrase actions even after
receiving a break action; we would only break on the next input
clause. It appears the intent here was to break before the next
action.
Travis Cross [Wed, 9 Apr 2014 07:35:15 +0000 (07:35 +0000)]
Improve comment
Travis Cross [Wed, 9 Apr 2014 07:30:14 +0000 (07:30 +0000)]
Consolidate two conditionals
If we get SWITCH_STATUS_BREAK then we didn't get
SWITCH_STATUS_SUCCESS.
Travis Cross [Wed, 9 Apr 2014 07:28:25 +0000 (07:28 +0000)]
Remove variable assignment without effect
We're breaking out of the loop here anyway, so setting done to true is
useless.
Travis Cross [Wed, 9 Apr 2014 07:26:36 +0000 (07:26 +0000)]
Fix memory leak in phrase macro playback
We were leaking memory when break_on_match was set or when we received
back SWITCH_STATUS_BREAK from a callee as we were failing to free
field_expanded_alloc.
Travis Cross [Wed, 9 Apr 2014 07:23:48 +0000 (07:23 +0000)]
Remove tautological conditional
If pattern is null we're setting it to a non-null value, so this
branch will always be taken.
Use `git diff -w` or `git log -p -w` to see what's going on in this
commit.
Travis Cross [Wed, 9 Apr 2014 07:14:59 +0000 (07:14 +0000)]
Fix memory leak on memory error
In the event of a memory error, we were trying to free a null pointer
while leaking the allocation for field_expanded_alloc.
Travis Cross [Wed, 9 Apr 2014 07:11:15 +0000 (07:11 +0000)]
Move variables down into loop where they're used
These variables aren't used outside of this for loop, so they should
be declared within it.
Anthony Minessale [Wed, 9 Apr 2014 18:26:41 +0000 (23:26 +0500)]
add switch_hashtable_insert_destructor so you can insert a pointer into a hash with a custom destructor and use it in spandsp to fix a leak on reloadxml with the tone_descriptor tables and fix a bunch of random tiny leaks etc
Anthony Minessale [Tue, 8 Apr 2014 22:29:31 +0000 (03:29 +0500)]
free global pool on shutdown
Anthony Minessale [Tue, 8 Apr 2014 22:23:13 +0000 (03:23 +0500)]
clear event queue on shutdown
Travis Cross [Wed, 9 Apr 2014 04:48:09 +0000 (04:48 +0000)]
Suppress spurious warning in phrase macro playback
Prior to this commit, if anything at all went wrong in
switch_ivr_phrase_macro_event() we would generate a warning like this:
[WARNING] switch_ivr_play_say.c:348 Macro [macro_name]: 'pattern_name' did not match any patterns
This is clearly misleading. The natural thing to do on seeing that
message is to verify that the language files are there, and that the
pattern really does exist in that macro. But none of that was usually
the problem. The message would be generated if the language wasn't
found, or if the channel had gone away, for example.
With this commit, we verify that we actually tried looking for the
pattern before displaying the warning about the pattern not matching.
Travis Cross [Wed, 9 Apr 2014 04:36:52 +0000 (04:36 +0000)]
Avoid playback on dead channels in voicemail
For years we've been generating spurious messages like:
[WARNING] switch_ivr_play_say.c:348 Macro [voicemail_ack]: 'saved' did not match any patterns
This would happen when the caller hangs up during the playback of
certain prompts in the voicemail system where we weren't checking the
return value of vm_macro_get(). Looking closely at the log, it's
clear we were calling down into switch_ivr_phrase_macro() long after
the channel was gone.
The message above is also misleading -- switch_ivr_phrase_macro()
would have been able to find that pattern just fine, but it never
actually looked because the channel was gone. We'll clean up that
message in a follow on commit.
Travis Cross [Wed, 9 Apr 2014 01:16:12 +0000 (01:16 +0000)]
Avoid crash on event without content-type
If we received an event without a content-type header we were
dereferencing a null pointer leading to a seg fault.
Reported-by: Ico <ico@voip-io.org>
ESL-90 --resolve
Travis Cross [Tue, 8 Apr 2014 23:16:39 +0000 (23:16 +0000)]
Fix typo in comment
Anthony Minessale [Tue, 8 Apr 2014 22:18:21 +0000 (03:18 +0500)]
remove unnecessary pool create
Anthony Minessale [Tue, 8 Apr 2014 22:14:52 +0000 (03:14 +0500)]
force srtp rebuild
Travis Cross [Tue, 8 Apr 2014 21:04:59 +0000 (21:04 +0000)]
Add immediate sanity check on untrusted length
We were actually checking this indirectly in the loop that follows,
but it's more clear to check this immediately and directly.
William King [Tue, 8 Apr 2014 18:18:23 +0000 (11:18 -0700)]
Don't leak these 4 hash tables when mod_fifo is reloaded
William King [Tue, 8 Apr 2014 17:36:20 +0000 (10:36 -0700)]
FS-6442 --resolve
Dmitry Sobinov [Thu, 27 Mar 2014 15:36:32 +0000 (22:36 +0700)]
- fixed read of memory out of 'seq' variable bounds
- fixed AEAD IV calculation for big-endian machines
Brian West [Tue, 8 Apr 2014 16:04:41 +0000 (11:04 -0500)]
Resolve key length issue with AES GCM 128/256
Ken Rice [Tue, 8 Apr 2014 15:50:15 +0000 (10:50 -0500)]
FS-6436 test cimmit for git hooks
Anthony Minessale [Tue, 8 Apr 2014 15:30:19 +0000 (20:30 +0500)]
FS-6436
jfigus [Tue, 8 Apr 2014 13:15:49 +0000 (09:15 -0400)]
This commit resolves issue #46. The GCM mode was using the wrong master SALT length. The master SALT should be 96 bits instead of 112 bits. Note, GCM mode uses the legacy CTR mode for the KDF. The legagacy CTR mode cipher implementations assume a 112 bit SALT. Changes to the cipher abstraction layer API are required to provide the ability to specify the SALT length. For now this commit modifies the SRTP layer to ensure the SALT is zero-appended before initializing the KDF. This commit also provides public definitions for the GCM cipher suite master key sizes to avoid confusion for application developers.
Brian West [Mon, 7 Apr 2014 20:26:13 +0000 (15:26 -0500)]
ESL-89: fix install path and single_command require
Michael Jerris [Mon, 7 Apr 2014 19:27:24 +0000 (15:27 -0400)]
ESL-89: --resolve add rubymod-install and add ability to use a ruby not in your path by setting RUBY env var
Travis Cross [Mon, 7 Apr 2014 16:20:07 +0000 (16:20 +0000)]
Reenable mod_v8 in debian package builds
The relevant v8 build issues are believed to be worked out at this
point.
Chris Rienzo [Mon, 7 Apr 2014 16:37:24 +0000 (12:37 -0400)]
mod_rayo: fix memory corruption in dial, input, output
Anthony Minessale [Mon, 7 Apr 2014 15:51:23 +0000 (20:51 +0500)]
send muted members as recvonly on RFC4575 data
William King [Sat, 5 Apr 2014 19:01:21 +0000 (12:01 -0700)]
Unused return value
Anthony Minessale [Sun, 6 Apr 2014 20:04:51 +0000 (01:04 +0500)]
fix seg in complete del with no arg
Anthony Minessale [Sat, 5 Apr 2014 22:51:36 +0000 (03:51 +0500)]
FS-5832 regression.... After this change the sticky completes were deleting. This should correct it
Anthony Minessale [Sat, 5 Apr 2014 16:09:23 +0000 (21:09 +0500)]
fix seg in alias del
Travis Cross [Sat, 5 Apr 2014 07:57:05 +0000 (07:57 +0000)]
Update gitignore
Travis Cross [Sat, 5 Apr 2014 06:02:36 +0000 (06:02 +0000)]
Merge in upstream changes to my-basic
We can't use their new mb_gets() because they call exit(3) in the
event of a read error, which isn't what we want.
Travis Cross [Sat, 5 Apr 2014 05:50:29 +0000 (05:50 +0000)]
Cleanup whitespace
Travis Cross [Sat, 5 Apr 2014 06:42:55 +0000 (06:42 +0000)]
Merge in my-basic upstream base point
Travis Cross [Sat, 5 Apr 2014 05:31:57 +0000 (05:31 +0000)]
Pull in new upstream my-basic
ref: http://my-basic.googlecode.com/svn/trunk@57
Travis Cross [Sat, 5 Apr 2014 05:11:54 +0000 (05:11 +0000)]
Add original base point for my-basic
...after dos2unix conversion.
Having an unaltered base point in tree makes future merges with
upstream much easier.
ref: http://my-basic.googlecode.com/svn/trunk@54
Travis Cross [Sat, 5 Apr 2014 06:32:49 +0000 (06:32 +0000)]
Initial commit for my-basic upstream tracking
Travis Cross [Sat, 5 Apr 2014 04:45:30 +0000 (04:45 +0000)]
Replace gets(3) with fgets(3) in my-basic
gets(3) is going away; it's been removed by C11, and gcc now warns on
it, breaking the build.
Travis Cross [Sat, 5 Apr 2014 04:33:01 +0000 (04:33 +0000)]
Add mod_basic to debian/
Anthony Minessale [Fri, 4 Apr 2014 18:42:49 +0000 (13:42 -0500)]
force sofia rebuild
Anthony Minessale [Fri, 4 Apr 2014 18:42:05 +0000 (13:42 -0500)]
FS-6287
Michael Jerris [Fri, 4 Apr 2014 16:00:06 +0000 (12:00 -0400)]
FS-6430: fix running of print_git_revision from builddir not in src tree
Michael Jerris [Fri, 4 Apr 2014 15:09:47 +0000 (11:09 -0400)]
FS-6430: try to fix print_git_revision when running from builddir not inside src root
Brian West [Fri, 4 Apr 2014 12:27:48 +0000 (07:27 -0500)]
swig managed
Michael Jerris [Fri, 4 Apr 2014 01:43:12 +0000 (21:43 -0400)]
FS-6429: --resolve check return values of fread and gets
Michael Jerris [Thu, 3 Apr 2014 23:35:43 +0000 (19:35 -0400)]
fix mod_basic clang build warning, we don't need to declare var we don't use on this side of the ifdef
Michael Jerris [Thu, 3 Apr 2014 19:33:54 +0000 (15:33 -0400)]
FS-6425: try to fix clear configure with openssl in brew dir
Anthony Minessale [Thu, 3 Apr 2014 18:25:43 +0000 (23:25 +0500)]
FS-6426 --resolve
Michael Jerris [Thu, 3 Apr 2014 17:58:07 +0000 (13:58 -0400)]
FS-6424: --resolve properly export symbols from stfu
Anthony Minessale [Thu, 3 Apr 2014 15:17:16 +0000 (20:17 +0500)]
FS-6403 --resolve
This commit also reverts 2 previous attempts to fix this very rare race issue spanning back to 2009
62ce8538974f727778f1024d0ef9549e438704fe Patch from MOC
3a85348cdfd0fd7df63a2a150790722c2d294b36 FS-2302 mutex added around switch_xml_toxml()
The real problem was switch_xml_toxml_buf() was actually temporarily modifying the xml structure being searialized to make it appaer to be a root structure then serializing it and restoring the pointers. This caused a non-threadsafe operation when some other thread was scanning the same xml structure.
This patch removes the modification and instead passes a new arg to switch_xml_toxml_r indicating to treat the structure as if it were a root structure.
This bug has been present since the induction of xml into FS.
Brian West [Thu, 3 Apr 2014 12:20:41 +0000 (07:20 -0500)]
FS-6422: --resolve obvious copy and paste error
Anthony Minessale [Wed, 2 Apr 2014 21:43:36 +0000 (16:43 -0500)]
FS-6421 --resolve
Michael Jerris [Wed, 2 Apr 2014 12:00:11 +0000 (08:00 -0400)]
try to push sysroot in correctly c++
William King [Wed, 2 Apr 2014 03:14:55 +0000 (20:14 -0700)]
spelling
Jeff Lenk [Tue, 1 Apr 2014 23:13:07 +0000 (18:13 -0500)]
vs2010 reswig
Anthony Minessale [Tue, 1 Apr 2014 22:21:29 +0000 (03:21 +0500)]
FS-6402 part 2
Travis Cross [Tue, 1 Apr 2014 21:38:14 +0000 (21:38 +0000)]
Add some notes on how to give back to the project
Travis Cross [Mon, 31 Mar 2014 21:07:36 +0000 (21:07 +0000)]
Add uuid_ring_ready API command
We already had uuid_answer and uuid_pre_answer, so we might as well
add uuid_ring_ready.
Travis Cross [Tue, 1 Apr 2014 20:54:44 +0000 (20:54 +0000)]
Cleanup style for consistency
Travis Cross [Tue, 1 Apr 2014 20:40:14 +0000 (20:40 +0000)]
Convert my_basic files to Unix newline format
Anthony Minessale [Tue, 1 Apr 2014 20:20:19 +0000 (01:20 +0500)]
FS-6402 --resolve
Anthony Minessale [Mon, 31 Mar 2014 23:38:05 +0000 (18:38 -0500)]
update example
Michael Jerris [Tue, 1 Apr 2014 17:28:22 +0000 (13:28 -0400)]
FS-6408: fix passing of CPPFLAGS to spandsp build
Ken Rice [Tue, 1 Apr 2014 13:57:15 +0000 (08:57 -0500)]
prevent a segfault in mod_basic if someone calls basic from CLI w/ no args
Anthony Minessale [Mon, 31 Mar 2014 23:37:35 +0000 (18:37 -0500)]
allow execute with no args
Anthony Minessale [Mon, 31 Mar 2014 23:22:13 +0000 (18:22 -0500)]
example
Anthony Minessale [Mon, 31 Mar 2014 23:08:59 +0000 (18:08 -0500)]
add mod_basic
Anthony Minessale [Mon, 31 Mar 2014 22:32:07 +0000 (17:32 -0500)]
FS-6310 hold up, revert