Commit Graph

21495 Commits

Author SHA1 Message Date
Travis Cross 2c634751cc
Don't use perl for portability
This amends commit f8be71ac6d.

This still should resolve FS-4303.

What's going on here is that we need a portable way to access
strftime.  date(1posix) doesn't provide enough.  And without perl, I
can't think of a better way to get to it than just using C.  So the
logic for generating the extended revision has been moved into a small
self-contained and hopefully portable C program.
2012-06-14 22:47:21 +00:00
Daniel Swarbrick 9bd1c33115 Don't pass null pointers to bson_append_string(). Thanks Tamas Cseke for original patch.
Fixes FS-4309
2012-06-14 20:11:57 +02:00
Anthony Minessale a49dc84a15 swigall 2012-06-14 11:32:14 -05:00
Anthony Minessale 830755ac85 allow event consumer to supply size as optional arg 2012-06-14 11:31:46 -05:00
Christopher Rienzo b472edf444 switch to a signal in mod_posix_timer that doesn't conflict with valgrind 2012-06-14 12:03:50 +00:00
Daniel Swarbrick 2b48cf8778 Resolve unused-but-set-variable introduced by c608ca3 and remove a line of redundant code. 2012-06-14 12:16:08 +02:00
Brian West ae50f474b4 Why limit the query to profile_name passed. All the underlying callbacks deal with the profile not matching the one passed and will do the right thing. 2012-06-13 16:27:29 -05:00
Anthony Minessale c608ca35d8 don't print ASS 2012-06-13 11:29:14 -05:00
Travis Cross f8be71ac6d Use perl for portability
FS-4303 --resolve
2012-06-12 17:40:10 +00:00
Anthony Minessale 9470c079dd FS-4298 see if you can see the sip_reinvite_sdp variable with this patch 2012-06-12 10:15:14 -05:00
dschreiber 3858e625a4 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. 2012-06-11 21:59:47 -07:00
Travis Cross c85c8d7bbd
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.

Signed-off-by: Travis Cross <tc@traviscross.com>
2012-06-11 21:46:05 +00:00
Travis Cross 45fdf0db19 Add a .version file to nightly tarballs 2012-06-11 21:25:05 +00:00
Anthony Minessale a10ec2b991 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 2012-06-11 13:30:00 -05:00
Anthony Minessale 56325e8c71 FS-4079 possible fix 2012-06-11 11:15:41 -05:00
Travis Cross b735735ea1 gitignore a symlink we're creating in ldns 2012-06-11 18:06:00 +00:00
Travis Cross 034d4153c4
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.
2012-06-11 17:19:25 +00:00
Michael Jerris ec27618fc8 don't segfault after starting sofia, upon xml_open_config lookup failure for the profile from launch_sofia_worker_thread 2012-06-11 10:43:55 -04:00
Christopher Rienzo 187fe4e14e update name/e-mail address 2012-06-11 13:05:29 +00:00
Anthony Minessale fc2bb00eb1 FS-4298 --resolve var is called execute_on_sip_reinvite 2012-06-08 12:43:50 -05:00
Anthony Minessale a17027959d use a dummy event here 2012-06-08 12:06:40 -05:00
Christopher Rienzo 9c94ac312e Fix Ubuntu 11.10 compiler error on unchecked write() return value. 2012-06-08 18:12:33 +00:00
Travis Cross 086f617442 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.

Thanks to Anthony Minessale.

FS-4293 --resolve
2012-06-08 16:14:21 +00:00
Travis Cross dc30013360 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.

FS-4293 --resolve
2012-06-08 16:14:20 +00:00
Travis Cross 9c463fdbdc fix typo
This amends commit a6bb4545eb.
2012-06-07 20:12:04 +00:00
Travis Cross 49666cee8d add some sofia debugging for the local SDP
Related to issue FS-4293.
2012-06-07 20:09:06 +00:00
Anthony Minessale a6bb4545eb FS-4293 2012-06-07 13:00:52 -05:00
Jeff Lenk 20f20c8a5c FS-4248 prevent seg for unsupported say method 2012-06-07 10:06:09 -05:00
Viktor Krykun 2c9e1454fe 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

Signed-off-by: Travis Cross <tc@traviscross.com>
2012-06-06 00:20:15 +00:00
Anthony Minessale b4bd30816e FS-4290 --resolve 2012-06-05 12:30:01 -05:00
Michael Jerris 2983003f95 do update to state on channels table at hangup 2012-06-05 13:19:34 -04:00
Jeff Lenk a065cf8631 FS-4219 --resolve correct windows version 2012-06-05 08:44:22 -05:00
Michael Jerris e4caea6ffd fix build error 2012-06-04 16:40:32 -04:00
Raymond Chandler 9b488fbffd pnp 2012-06-04 15:16:30 -04:00
Anthony Minessale d2bc9a2b12 FS-4137 2012-06-04 09:41:46 -05:00
Anthony Minessale 6a7fe5411f FS-4285 --resolve 2012-06-04 09:24:42 -05:00
Travis Cross 992e05667c debian: put the build options in the right place 2012-06-02 17:30:48 +00:00
Travis Cross ed9ff6e375 debian: don't rebuild dsc files 2012-06-02 16:18:53 +00:00
Travis Cross c15613e065 debian: set variable outside fork 2012-06-02 16:09:39 +00:00
Travis Cross 337c9d4365 debian: output the correct name of the .changes file 2012-06-02 15:17:10 +00:00
Travis Cross 73b34cb373 debian: kill children if we exit unexpectedly 2012-06-02 05:19:19 +00:00
Travis Cross cf68dc731a debian: only build binary-indep packages once for each distro 2012-06-02 04:20:52 +00:00
Travis Cross ad2da59a6d 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.
2012-06-02 03:07:12 +00:00
Travis Cross f3c2180c52 add usage help to debian/util.sh 2012-06-02 01:10:11 +00:00
Travis Cross 00e32e4ec2 use SWITCH_VERSION_FULL for the sofia user agent 2012-06-01 22:22:44 +00:00
Travis Cross 49ac909065 skypopen/gsmopen should use SWITCH_VERSION_FULL here 2012-06-01 22:22:44 +00:00
Travis Cross c1b2472781 SWITCH_VERSION_REVISION includes the dash or dot itself 2012-06-01 22:22:44 +00:00
Stefan Knoblich 93129e32d3 FreeSWITCH: FS-4276 - Use a POSIX compatible set of regexes to filter -arch flags in PYTHON_CFLAGS.
POSIX sed doesn't support grouping, so split the regex in two.

Reference-URL: http://jira.freeswitch.org/browse/FS-4276
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-06-02 00:12:34 +02:00
Travis Cross c98cdb4e04 avoid warning if late negotiation is enabled anyway 2012-06-01 21:44:21 +00:00
Anthony Minessale 879830f61c FS-4167 --resolve 2012-06-01 14:33:15 -05:00