Commit Graph

21559 Commits

Author SHA1 Message Date
Anthony Minessale 7086a92f9b FS-4318 try this, success is 0 so that original patch was wrong 2012-06-24 15:05:59 -05:00
Travis Cross ee8c9e869b Fix clang warnings in mod_lua 2012-06-24 09:13:21 +00:00
Travis Cross 12efacb3c6 debian: Add mechanism to set C/C++ compiler 2012-06-24 08:49:59 +00:00
Travis Cross 3c2f914617 Fix warnings in sqlite 2012-06-24 08:34:52 +00:00
Travis Cross 932dccd475 Return const char* from apr_pool_tag
clang warns:

  warning: returning 'const char *' from a function with result type
    'char *' discards qualifiers [-Wincompatible-pointer-types]
2012-06-24 08:15:16 +00:00
Travis Cross a973fb6347 Fix memset calls in APR sha2 implementation
The implementation clears the context / state data from memory when it
is finished with it.  Prior to this commit, however, it was actually
only clearing the first 4 bytes on x86 or 8 bytes on x86_64.

clang warns:

  warning: argument to 'sizeof' in 'memset' call is the same
  expression as the destination; did you mean to dereference it?
      [-Wsizeof-pointer-memaccess]
2012-06-24 08:05:25 +00:00
Travis Cross f1183ef970 Fix use of switch_event_add_body
On some compilers this fixes the build.

gcc reports:

  error: format not a string literal and no format arguments

clang reports:

  error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
2012-06-24 07:38:08 +00:00
Travis Cross 453b42e301 Remove extraneous parenthesis
This causes a warning that breaks the build with clang.
2012-06-24 07:36:14 +00:00
Anthony Minessale 86df8b338e more v18 changes 2012-06-23 19:33:26 -05:00
Anthony Minessale 1465ba90e6 tweaks 2012-06-23 19:00:53 -05:00
Anthony Minessale 93a8445f1c change name 2012-06-23 18:53:29 -05:00
Anthony Minessale 0f6647d278 add some inital v18 interface points 2012-06-23 18:48:26 -05:00
Travis Cross e38f0a1b02 debian: Correct alphabetization 2012-06-23 22:34:19 +00:00
Travis Cross f79a37a363 debian: Add option to use existing .orig.* file 2012-06-23 22:34:19 +00:00
Travis Cross d18a7ffa26 Bundle .version file with debian nightlies
This adds the .version file to nightlies produced with debian/util.sh.
2012-06-23 22:34:18 +00:00
Travis Cross b16821944e Harmonize debian nightly version with print_git_revision
Debian nightlies created with debian/util.sh now have the version set
in the same format as Makefile.am produces.  Unlike Makefile.am,
however, we show the orig packaging date rather than the date of the
latest commit, as the latter could legitimately regress and we need
this to always increment.
2012-06-23 22:34:18 +00:00
Travis Cross ad53499b42
Always set the ZRTP SAS verified flag on our side
When we're terminating ZRTP to an IVR or to a leg which is not
ZRTP-capable, there's no way for us to make an intelligent decision
about whether this flag should be set.  For a client to consider the
SAS as verified, however, both sides need to set this flag.  By always
setting this flag on our side, we leave the decision completely in the
hands of the client where we hope there is a careful human.

Signed-off-by: Travis Cross <tc@traviscross.com>
2012-06-23 22:34:06 +00:00
Anthony Minessale ecb84bd126 FS-4336 --resolve 2012-06-23 14:55:11 -05:00
Jeff Lenk 2171e5830d vs2010 reswig 2012-06-23 16:58:44 -05:00
Anthony Minessale 398c84b671 swigall 2012-06-23 16:40:42 -05:00
Anthony Minessale a5021fa384 FS-4337 --resolve this actually uncovered a bug cos it was supposed to be rtcp_bytes not bytes 2012-06-23 14:03:06 -05:00
Anthony Minessale cfe435c667 fix typo 2012-06-23 06:18:09 -05:00
Anthony Minessale 76fae0cec0 add video support to lib/mod.dingaling this needs testing, google voice won't work with video calls so disable video codecs if you use that 2012-06-22 18:15:06 -05:00
Anthony Minessale 3d36d8557b change default number to 97 2012-06-22 18:15:06 -05:00
Anthony Minessale 8b4c9dc42c FS-3659 and some refactor for rtcp ice and video ice and rtcp 2012-06-22 18:15:06 -05:00
Anthony Minessale c30940462a update stun to more modern spec 2012-06-22 18:15:06 -05:00
dschreiber c28ced7253 Merging FS-3432 switch_core_hash.c patch in from Tamas 2012-06-21 14:09:49 -07:00
Brian West 37e61ee6eb FS-4320 sigh 2012-06-21 13:07:38 -05:00
Jeff Lenk 2091f4f0d3 FS-4319 --resolve portaudio not always moving the active call to the top of its internal list (invalid ringing) 2012-06-21 09:52:13 -05:00
Mathieu Rene a0a9efcf02 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2012-06-20 15:43:20 -04:00
Mathieu Rene d67031a9c6 FS-4007 2012-06-20 15:42:57 -04:00
Jeff Lenk 9e90bbd12b Revert "FS-4321 fix startup with odbc"
This reverts commit 28fd1f97ea.

this needs to be fixed a different way
2012-06-20 11:05:53 -05:00
Giovanni Maruzzelli a80b68367c FS-4278 skypopen: oss driver compiles on kernels >= 3.4.0 2012-06-20 11:28:57 +02:00
dschreiber d6c482e40f Added support for Content-Type and other optional headers when doing an HTTP PUT 2012-06-19 21:25:00 -07:00
Michael Jerris 6ea4a5c503 typo 2012-06-19 22:43:28 -04:00
Michael Jerris 773fb5e3a5 use reg call id on reboot notifies and pass it back in reverse auth lookup 2012-06-19 21:58:43 -04:00
Michael Jerris f351a908ff wow grandstream 2012-06-19 16:02:14 -04:00
Michael Jerris ea503ea23e fix pnp config for grandstream 2012-06-19 14:22:57 -04:00
dschreiber 1e696d2c93 FS-3577 : After Tamas's fixes and new logging so we can see the erl_errors, re-applying this 10ms polling interval patch that Tony committed a few months ago. Please report any issues. 2012-06-19 09:13:29 -07:00
dschreiber 6069adece5 Revert "add thread safe hash multi delete function and make callback optional"
I don't see this command being used anywhere. Since I don't like to touch core files unless absolutely necessary I'm reverting these two changes. I've emailed the author, Tamas, for an explanation. The other patches for FS-3432 (merged in now) appear to work fine without this commit.

This reverts commit fbcb862265.
2012-06-19 08:51:28 -07:00
dschreiber 7e6018985c Merge remote branch 'origin/master' into FS-3432 2012-06-19 08:10:54 -07:00
Jeff Lenk 28fd1f97ea FS-4321 fix startup with odbc 2012-06-19 09:02:12 -05:00
Jeff Lenk f9d279664c add test version of mod_redis to vs2010 solution - not built by default 2012-06-18 17:07:54 -05:00
Anthony Minessale 1bfda1ecfc FS-4318 --resolve 2012-06-18 10:30:33 -05:00
Stefan Knoblich 81b9ab7316 Terminate sed substitution command with semicolon to fix error on OSX.
sed: 1: "/#define *SWITCH_VERSIO ...": bad flag in substitute command: '}'

Reported-by: scruz in #freeswitch @ irc.freenode.net
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2012-06-18 13:32:43 +02:00
Travis Cross 068586f28f
Refactor and check for more errors 2012-06-16 19:32:27 +00:00
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