Commit Graph

25840 Commits

Author SHA1 Message Date
Nathan Neulinger d9ab063603 reformat with perltidy and add sample perltidyrc file 2014-02-14 15:28:14 -06:00
Nathan Neulinger d20eb25772 reformat with perltidy standard 2014-02-14 15:27:17 -06:00
Nathan Neulinger 6073d3b139 update to get all subdirs 2014-02-14 15:26:31 -06:00
Brian West d56a0fb198 timezones.conf.xml generator 2014-02-14 15:15:34 -06:00
Anthony Minessale b3c02a547e FS-6230 --resolve There was no NAT detection enabled on the calls, this patch will activate it explicitly when used with force-rport to avoid a similar problem with other users 2014-02-14 23:50:17 +05:00
Anthony Minessale 2fab561cb9 regression from 8f82979d8a using wrong values to calculate buffer size 2014-02-14 22:40:21 +05:00
Anthony Minessale 79c8951260 FS-6228 --resolve 2014-02-14 21:04:51 +05:00
Marc Olivier Chouinard fe2a4d6d47 FS-5913 --resolve 2014-02-13 19:03:11 -05:00
Anthony Minessale c46bc9d565 FS-6223 --resolve 2014-02-13 22:11:34 +05:00
Anthony Minessale a0d6ebd80d FS-6222 --resolve 2014-02-13 20:46:05 +05:00
Chris Rienzo 8ca287e97b FS-6218 --resolve 2014-02-13 09:18:41 -05:00
Anthony Minessale 15b8dfa8af FS-6217 --resolve 2014-02-13 06:22:13 +05:00
Anthony Minessale 7ed4ed65db 0a63cdc4b2 this might help 2014-02-13 05:50:39 +05:00
Anthony Minessale 0a63cdc4b2 FS-6222 try this patch 2014-02-13 04:08:24 +05:00
Anthony Minessale 35f2bcccf7 FS-6221 --resolve 2014-02-13 03:26:09 +05:00
Anthony Minessale 8f82979d8a limit size of input buffer in conference 2014-02-13 03:18:00 +05:00
Nathan Neulinger 5f5a9710bf FS-6220 fix sql quoting of queries from mod_skinny 2014-02-12 15:23:20 -06:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Anthony Minessale 7efeabbd88 fix switch_split_user_domain to parse sip:foo.com properly 2014-02-12 23:11:11 +05:00
Jeff Lenk 3846bef5f1 FS-6213 --resolve 2014-02-12 08:49:40 -06:00
Travis Cross 4efb258678 Fix copy/paste error
This amends commit b9a8583178.
2014-02-12 11:43:26 +00:00
Anthony Minessale a0181631d1 don't fail when rtp_write returns 0 2014-02-12 08:29:09 +05:00
Chris Rienzo 396e1a7201 mod_rayo: shut up CentOS 5 warning 2014-02-11 17:58:04 -05:00
Anthony Minessale 10d2dd3e73 use portable switch_inet_ntop 2014-02-12 03:31:21 +05:00
Travis Cross 3449e265a0 Force sofia rebuild
The rebuild is needed for commit d3b9aaba60.
2014-02-11 17:45:45 +00:00
Travis Cross a6c90763ec Add voicemail parameter storage-dir-shared
If this is set to true (default false) we assume the storage-dir is
shared, organized by realm/domain, with uses other than voicemail, so
we adopt a directory structure of:

  <storage_dir>/<realm>/voicemail/<id>
2014-02-11 17:40:58 +00:00
Travis Cross b9a8583178 Add vm-domain-storage-dir param
This replaces the semantics of the storage-dir parameter without the
deprecation notice.  The behavior of storage-dir never should have
been deprecated, though it was probably correct to deprecate the name
itself.

Rather than having both vm-storage-dir and vm-domain-storage-dir it
might be nice if the config system could just notice at what level it
was defined and do the right thing.  Indeed, this is why I'd left
things as-is for so long.

But as Master Foo famously said, "which one will reach the other side
of the river: the one who dreams of a raft, or the one that hitchhikes
to the next bridge?"

FS-5329
2014-02-11 15:50:50 +00:00
Travis Cross d3b9aaba60 Add mod_sofia support for setting socket TCP keepalive
Some OSes like linux provide a mechanism for sending TCP keepalive
pings.  Sofia provides its own mechanism for doing this in userspace.
We shouldn't conflate these two mechanisms.

FS-6104
2014-02-11 06:27:29 +00:00
Travis Cross 8b7d58ddf8 Rework handling of Linux TCP keepalives in Sofia
This separates out the Linux socket TCP keepalive timeout interval
from Sofia's internal mechanisms.  Earlier we tied these together.  In
retrospect this seems improper.

These two values can now be set separately.

You might, for example, want to keep the Sofia internal mechanism
disabled completely while enabling the platform-based mechanism if
your platform supports it.

We also here reform the default value of the socket TCP keepalive
parameter to 30 seconds.

This is what commit a0e9639a1f should
have been.

FS-6104
2014-02-11 06:27:20 +00:00
Travis Cross 2b064e6393 Add additional debugging output to keepalive handling 2014-02-11 05:40:41 +00:00
Travis Cross 3ae189ca3f Synchronize Sofia and Linux TCP keepalive timeout units
Sofia keeps the TCP keepalive timeout in milliseconds, but Linux
expects the value in seconds.  Before this change, it's unlikely the
TCP_KEEPIDLE and TCP_KEEPINTVL calls were having much effect as we
would have been passing them a huge value.

FS-6104
2014-02-11 05:33:25 +00:00
Anthony Minessale c52ac4817c FS-6128 FS-6200 --resolve allocating the sofia_private on the nua_handle seems to lead to memory corruption, changing it back to malloc as done in the version before the regression 2014-02-11 04:05:40 +05:00
Anthony Minessale 386a95f47d FS-6208 --resolve that patch is correct but this other code will protect the seg in either case 2014-02-10 21:44:19 +05:00
Chris Rienzo 259337ca57 mod_http_cache: fixed validation of S3 URL 2014-02-10 08:54:43 -05:00
Jeff Lenk adcf3fb26b vs express attempt to fix build order of xmltok 2014-02-09 22:54:05 -06:00
Travis Cross db0c3ab403 Add some hardening to the debian build 2014-02-09 23:51:42 +00:00
Travis Cross 0c41db9fb1 Add support for setting custom LDFLAGS 2014-02-09 23:49:29 +00:00
Travis Cross 4106471020 Reorder build flags variables 2014-02-09 23:49:29 +00:00
Travis Cross 78be57fb98 Use simply-expanding variables for build flags 2014-02-09 23:49:29 +00:00
Jeff Lenk 40ec0c9e45 FS-6157 --resolve 2014-02-09 13:34:12 -06:00
Jeff Lenk d5324cfdb3 disable windows compiler warning for srtp 2014-02-09 10:37:14 -06:00
Peter Olsson d655031534 Improvements to last commit, this should make things work better on all platforms 2014-02-09 14:19:36 +01:00
Peter Olsson 05144df25a FS-6194 --resolve 2014-02-09 13:10:44 +01:00
Anthony Minessale dd9b729f5e FS-5994 it looks like its microseconds 2014-02-09 04:23:01 +05:00
Anthony Minessale aae30e358c swigall master 2014-02-09 00:14:12 +05:00
Steve Underwood b2cca974c1 Second attempt to fix the use of aligned_alloc with BSD 2014-02-08 22:36:29 +08:00
Steve Underwood 4fa68fcd75 A change to spandsp/src/alloc.c which hopefully improves BSD compatibility 2014-02-08 16:50:53 +08:00
Steve Underwood a61edbd8dc Removed a couple of unused variables 2014-02-08 16:25:10 +08:00
Brian West 3c55a90076 ESL-66 2014-02-07 13:10:25 -06:00
Anthony Minessale 900db14f1d FS-6203 --resolve 2014-02-07 22:34:34 +05:00