dschreiber [Tue, 12 Jun 2012 04:59:47 +0000 (21:59 -0700)]
The fix for FS-3577 causes instabilities if multiple listeners are connected it seems. Undoing this change for now until I can figure out the root cause.
Travis Cross [Fri, 8 Jun 2012 22:06:55 +0000 (22:06 +0000)]
Add mechanism to set OpenSSL session timeout
In a sofia profile, you can now set the parameter tls-timeout to a
positive integer value which represents the maximum time in seconds
that OpenSSL will keep a TLS session (and its ephemeral keys) alive.
This value is passed to OpenSSL's SSL_CTX_set_timeout(3).
OpenSSL's default value is 300 seconds, but the relevant standard
(RFC 2246) suggests that much longer session lifetimes are
acceptable (it recommends values less than 24 hours).
Longer values can be useful for extending battery life on mobile
devices.
FS-4299 --resolve regression from 23f8967c the code was not making sure both endpoints were type 'sofia' and dereferencing dingaling channel into sofia and causing memory corruption
Travis Cross [Mon, 11 Jun 2012 16:16:50 +0000 (16:16 +0000)]
Improve SWITCH_VERSION_REVISION generation
The revision was no longer picking up the last git commit. Instead,
it was showing the last release. This commit appends the last git
commit hash to the last release if a git repository is available.
Further, it checks whether there are uncommitted changes in the git
repository and adds an unclean tag to the version if this is the case.
Note that currently this will append the git commit hash even on a
tagged release if built directly from a git repository. Perhaps this
isn't such a bad thing, but if it turns out not to be desired, I have
an idea on how to squelch this without making unwarranted assumptions
about the remote layout of someone's local repository.
Travis Cross [Fri, 8 Jun 2012 16:13:50 +0000 (16:13 +0000)]
increase buffer size for local SDP
There are a lot of codecs these days, and some clients offer all of
them. If we run out of space in this buffer our local SDP will get
silently truncated, which will cause a difficult to diagnose error in
Sofia-SIP.
Travis Cross [Fri, 8 Jun 2012 16:09:26 +0000 (16:09 +0000)]
fix buffer length calculation in call to generate_m
This error was causing us to call generate_m with a buffer length that
was less than the strlen of the buffer we were passing. The result
was truncated local SDP which would cause sofia to fail if the
truncation was in a particularly bad place.
Thanks to Anthony Minessale for the fix and working with me to
diagnose the issue.
Viktor Krykun [Tue, 5 Jun 2012 20:24:37 +0000 (23:24 +0300)]
various bug fixes in libzrtp
* fixed bug with remote hello-hash buffer being too small
* removed unused hello-hash storage in zrtp stream context
* fixed bug with libzrtp rendered "empty" SAS hash from incoming
SasRelay packet
* incremented libzrtp version number to 1.15
Travis Cross [Sat, 2 Jun 2012 03:07:12 +0000 (03:07 +0000)]
debian: don't build mod_managed
It's broken too many of my recent builds. We can add it back in when
things stabilize or perhaps after we get it to swig with a recent
version of swig that we can make part of the clean bootstrap/build
process.
Travis Cross [Wed, 30 May 2012 15:10:00 +0000 (15:10 +0000)]
don't build mod_ilbc or mod_siren by default
Our default build probably shouldn't include non-free software. With
mod_ilbc, the licensing situation is merely ambiguous. With
mod_siren, the user can't use this code without getting explicit
permission from Polycom (though it is apparently easily given).
Travis Cross [Tue, 29 May 2012 18:41:17 +0000 (18:41 +0000)]
don't use Siren or iLBC by default in example configs
These codecs are non-free which creates issues for distributions, so
let's not require these by default to run our example configs. We can
add back in iLBC once we resolve the licensing situation with our
in-tree implementation.
Stefan Knoblich [Sun, 27 May 2012 12:36:15 +0000 (14:36 +0200)]
FreeSWITCH: Make libzrtp library paths absolute (or relative to top srcdir), fixes FS-4260.
Reference-URL: http://jira.freeswitch.org/browse/FS-4260 Tested-by: Stefan Knoblich <stkn@openisdn.net> Signed-off-by: Stefan Knoblich <stkn@openisdn.net>