Commit Graph

7346 Commits

Author SHA1 Message Date
Michael Jerris 342e73399e oops.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@170 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-18 05:21:13 +00:00
Michael Jerris 36f0b95f2c msvc ports for ilbc and lpc10 codec libs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-18 05:14:20 +00:00
Michael Jerris 20ff10947b gsm library port to msvc, fix some warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@168 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-18 04:06:23 +00:00
Michael Jerris 2afd11a6d2 add test version of jrtp that includes jrtp4c and jthread. Autoconf\Automake needs to be re-run on this and it needs to be tested on unix platforms.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@166 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-17 23:03:16 +00:00
Anthony Minessale c01ecc8f20 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@149 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 17:02:57 +00:00
Anthony Minessale 368ffeef91 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@145 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 00:11:55 +00:00
Anthony Minessale fc355b6cca update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@144 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 00:07:42 +00:00
Anthony Minessale 82d953c66e update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@143 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-14 00:00:35 +00:00
Anthony Minessale 5ccb077948 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@142 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 23:54:52 +00:00
Michael Jerris 2cf51b62bd more executable flags.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@140 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 21:39:17 +00:00
Anthony Minessale db3992767e arrgh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@137 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 21:26:03 +00:00
Michael Jerris 08cf6c097a git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@126 d0543943-73ff-0310-b7d9-9358b9ac24b2 2005-12-13 18:38:14 +00:00
Michael Jerris a7e2490155 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@125 d0543943-73ff-0310-b7d9-9358b9ac24b2 2005-12-13 18:33:02 +00:00
Michael Jerris c628b4f36e Add codecs to libs dir.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@124 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 18:28:01 +00:00
Anthony Minessale 98eabde89d ok
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@122 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 18:16:25 +00:00
Anthony Minessale ce44667524 grr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@121 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 18:14:01 +00:00
Anthony Minessale 248ffa01b1 iax
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@120 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-13 18:06:28 +00:00
Michael Jerris 3db9df6899 Fix all warnings on MSVC 8 (.net 2005), add support for VS Express edition 2005, changed build to use vcbuild instead of devenv, reduced the number of out of tree project files we are managing in tree by patching the files as necessary in scripts. Now only sqlite (which does not come with a project file) and apr (which does not come with a vcproj, only dsp file) are managed in tree. We still need to come up with a way to convert dsp to vcproj files in vbscript.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@85 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-05 09:56:44 +00:00
Michael Jerris fa6213b09c eliminate deprecation warnings on VS 2005
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@84 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-05 09:11:53 +00:00
Anthony Minessale 749dd8e841 commmit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@80 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-30 22:27:10 +00:00
Michael Jerris fbf4da07ca Update configure for jrtp4c to not have it's own configure stuff.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@61 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-20 02:57:06 +00:00
Michael Jerris 90f178350f Fix build of some deps in MSVC, added copying of conf dir and libapr-1.dll into the output directory and setting the working directory to allow for launching in debug mode from the gui out of the box, disabled acutal building in GetLibs.bat for now, it is only downloading and setting up the lib src as necessary. Still need to add jrtp4c into the core configure\makefile so it builds from there automatically and we can get rid of the other configure script for that lib individually.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@59 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-20 01:50:04 +00:00
Michael Jerris d589778755 More win32 build cleanups
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@57 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-20 00:45:09 +00:00
Michael Jerris aea6b816df freeswitch win32 reorg and cleanup part 1. Everything works but mod_exosip
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@56 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-19 22:18:34 +00:00
Michael Jerris c0dedec351 Copied remotely
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@55 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-11-19 20:13:06 +00:00
Travis Cross cde20f6fe6 Require sqlite as a system dependency
This purges sqlite from our tree and requires it to be present on the
system for building and running FreeSWITCH.

FS-353
2014-03-24 12:54:49 +00:00
James Le Cuirot 8574988c3a Completely unbundle libedit
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-24 12:39:59 +00:00
Jeff Lenk f4abf3dab4 FS-6397 --resolve 2014-03-23 14:28:42 -06:00
Peter Olsson 7e1b32c0c2 .gitignore 2014-03-23 10:02:35 +01:00
Jeff Lenk 741cb889d9 FS-6349 --resolve 2014-03-22 22:59:32 -05:00
Peter Olsson e96e402981 .gitignore 2014-03-22 09:14:55 +01:00
Brian West 719d37dbf8 first 1/2 of automake for esl phpmod 2014-03-21 16:01:35 -05:00
Brian West 4e734db296 we need to do these in subdirectories because a number of the modules build a different ESL.so 2014-03-21 15:45:40 -05:00
Brian West 91d308dfac fully automake esl perlmod 2014-03-21 15:34:52 -05:00
Brian West 8b76b88f6d add #! 2014-03-21 15:33:38 -05:00
Brian West c8c3fbe749 don't install test programs 2014-03-21 15:33:18 -05:00
Brian West 77eca8d044 fix typo 2014-03-21 15:08:32 -05:00
Brian West 5014b80d53 1/2 of automake for esl perl, at least we have configure detecting things now 2014-03-21 14:59:01 -05:00
Brian West 94051688c2 reswig 2014-03-21 14:57:13 -05:00
Ken Rice 7f383ccc19 clean up esl module makefile by MikeJ 2014-03-21 12:59:55 -05:00
Brian West 74ab9515a4 FS-6294 DragonFly requires this also. 2014-03-21 11:14:15 -05:00
Travis Cross 1470622292 Require libcurl as a system dependency
This purges libcurl from our tree and requires it to be present on the
system for building and running FreeSWITCH.

FS-353
2014-03-20 21:15:29 +00:00
Peter Olsson 5d22a414ca .gitignore 2014-03-20 19:45:51 +01:00
James Le Cuirot b283db6319 Completely unbundle speex
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-20 15:28:25 +00:00
James Le Cuirot e85f06ee2f Completely unbundle pcre
FS-353

Signed-off-by: Travis Cross <tc@traviscross.com>
2014-03-20 15:28:23 +00:00
Michael Jerris 3ec53f0b67 ESL-86: esl automake of at least the core parts 2014-03-20 10:38:47 -04:00
Brian West 16577339be FS-6387 don't fail if your openssl package has been compiled without EC support...LOOKING AT YOU GENTOO 2014-03-20 08:07:53 -05:00
Brian West eade217fe7 Tweak sndfile for args 2014-03-19 17:37:02 +00:00
Brian West c4c0f38aab FS-6294 FS-6308 NetBSD support should work test and report back please. 2014-03-19 14:34:07 -05:00
Brian West b8f1a1779f Support Intel ICC 2014-03-19 14:34:07 -05:00
Michael Jerris ad28998235 FS-6293: unimrcp srcdir build working 2014-03-19 15:04:41 -04:00
Michael Jerris bda9a55d75 FS-6293: unimrcp start of srcdir build 2014-03-19 14:50:39 -04:00
Michael Jerris 57528ff3bf silence unused var warnings 2014-03-19 14:17:09 -04:00
Brian West eadfef1173 FS-6375 fix till we switch to system tiff 2014-03-19 12:32:23 +00:00
Brian West 9a94235f82 FS-6379: --resolve fix ldns bootstrap/build on solaris 2014-03-19 11:13:51 +00:00
Brian West d7abe52384 FS-6309 don't try to use incomplete tgmath.h on NetBSD 2014-03-19 03:35:47 -05:00
Brian West c210510c15 FS-6375 bump sofia so it rebuilds 2014-03-18 17:44:05 -05:00
Brian West f6d9027282 FS-6375 ifdef for sun in this case 2014-03-18 17:43:46 -05:00
Michael Jerris e63140a4d3 FS-6293: fix mod_codec2 srcdir build 2014-03-18 17:19:40 -04:00
Michael Jerris d4b3faadc8 remove file listed twice 2014-03-18 14:07:04 -04:00
Michael Jerris c4d0c3e092 .gitignore 2014-03-18 13:17:11 -04:00
Michael Jerris af192a2e8b FS-6293: abandon xmlrpc-c build system entirely. We can revist this when we try to pull this lib out of tree, in the mean time, this fixes a ton of problems. 2014-03-18 09:50:12 -04:00
Peter Olsson d908c5d8af Ignore downloaded speex library files. 2014-03-18 07:40:39 +01:00
Peter Olsson 9987546c58 mod_v8: More improvements for VS Express. 2014-03-18 07:38:44 +01:00
Jeff Lenk 89125e840c FS-6348 2014-03-18 00:24:31 -05:00
Jeff Lenk cf572696c1 FS-6348 --resolve 2014-03-17 23:28:57 -05:00
Jeff Lenk 1f39086534 FS-6348 part1 2014-03-17 22:27:29 -05:00
Brian West e9a2d17f1f FS-6368 --resolve include signal.h in ivrd.c 2014-03-17 20:24:28 -05:00
Anthony Minessale 240f5d984f force sofia rebuild 2014-03-17 16:18:24 -05:00
Anthony Minessale bd1492e43e FS-6287 --resolve 2014-03-17 16:16:42 -05:00
Anthony Minessale 1d28639cac revert revert 2014-03-17 16:15:59 -05:00
Brian West be1efcc1fa Revert 6e818216e2, from FS-6287 as it breaks challenge to invites we don't come back and respond 2014-03-17 15:03:08 -05:00
Michael Jerris 340b697e1b FS-6341: --resolve add 3pcc invite w/o sdp support for 100rel/PRACK 2014-03-17 12:27:42 -04:00
Michael Jerris d45bf87411 FS-6293: we need this for srcdir for xmlrpc-c 2014-03-17 10:57:18 -04:00
Michael Jerris 1c5e61447b move libs/stfu into the core, as it is not really a lib 2014-03-17 09:44:14 -04:00
Michael Jerris a9799f3dae FS-6293: fix mod_silk srcdir build 2014-03-17 08:32:17 -04:00
Travis Cross 19fc943f59 Mitigate the CRIME TLS flaw
If an attacker can cause a device to make an authenticated request to
a service via TLS while including a payload of the attacker's choice
in that request, and if TLS compression is enabled, the attacker can
uncover the plaintext authentication information by making a series of
guesses and observing changes in the length of the ciphertext.

This is CVE-2012-4929.

FS-6360 --resolve

Thanks-to: Brian West <brian@freeswitch.org>
2014-03-16 16:24:58 +00:00
Peter Olsson 2b651b9abe mod_v8: Try to make V8 build work on Visual Studio Express (devenv.exe is not available in Express) 2014-03-16 10:02:35 +01:00
Peter Olsson 54d13850b7 FS-6347 Make PCRE chartables dependent of PCRE download, to make sure build works the first time 2014-03-16 10:01:18 +01:00
Peter Olsson 8728d918a7 Ignore directories for downloaded libraries curl and pcre 2014-03-16 10:00:04 +01:00
Jeff Lenk e47c318aab windows curl remove header refs 2014-03-16 00:17:51 -05:00
Jeff Lenk df9256d09c FS-6347 update windows build to use downloaded pcre 2014-03-15 23:35:30 -05:00
Michael Jerris 048ce8d1f3 FS-6293: srcdir builds, most of the built in mods work now 2014-03-14 23:13:34 -04:00
Michael Jerris 4216e3e056 remove DYNAMIC_LIB_EXTEN because we use libtool to figure this all out now 2014-03-14 18:04:07 -04:00
Anthony Minessale 6a1d552430 force sofia update 2014-03-14 12:27:25 -05:00
Anthony Minessale 6e818216e2 FS-6287 --resolve When a broken registrar sends a 401 unauth then replies with a subsequent 401 unauth without the stale=true attribute, sofia tries to invalidate the auth handle and get stuck in a state where it cannot recover until the reg handle is destroyed. In this case, the provider in question has a bug on thier end when the nonce count rolls from nc=000000ff to nc=00000100 they start sending several consecitive 401 rather than a 401 with stale=true or a 403. This change will allow it to reset properly and try again with nc=00000001 on the next try. 2014-03-14 12:25:48 -05:00
Anthony Minessale 430b8fca6b FS-6211 more changes 2014-03-13 13:00:10 -05:00
Anthony Minessale 47a7ef557a FS-6211 thread priority in the apr for windows 2014-03-13 22:53:45 +05:00
Jeff Lenk 88fda8cbf2 FS-6346 --resolve 2014-03-13 09:13:30 -05:00
Jeff Lenk de8d92d9ce FS-6346 part 1 2014-03-12 23:49:14 -05:00
Anthony Minessale 9fd30a2cd9 FS-6339 --resolve 2014-03-11 18:16:23 -05:00
Ken Rice 6a7805ba27 add a few more generated files to .gitignore 2014-03-10 09:07:41 -05:00
Michael Jerris 27a3682dc0 put this back for now to test 2014-03-09 14:46:06 -04:00
Michael Jerris 15b76f8ee8 fix typo 2014-03-09 14:15:16 -04:00
Anthony Minessale 804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Brian West 42b74ba62e remove generated file from git 2014-03-08 08:51:58 -06:00
Michael Jerris 2f289d2522 fix autoconf syntax 2014-03-07 20:05:50 -05:00
Jeff Lenk 47f1219e29 fix windows build for last set of commits 2014-03-07 19:02:18 -06:00
Michael Jerris 4d7350f3d5 fix autoconf syntax 2014-03-07 19:55:57 -05:00
Michael Jerris 9a1948e959 autoconf syntax error 2014-03-07 19:35:51 -05:00
Michael Jerris 90fbc6231d fix autoconf syntax 2014-03-07 19:26:17 -05:00
Michael Jerris 163617c711 fix autoconf syntax issue 2014-03-07 19:19:53 -05:00
Michael Jerris 2513388d8a clean up some bootstrap warnings 2014-03-07 18:36:26 -05:00
Michael Jerris bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Anthony Minessale abb83e0b0e fix backwards subtraction 2014-03-07 06:34:57 +05:00
Anthony Minessale e9847afe22 feed all packets to jitterbuffer when enabled to absorb bursts and improve smoothing and delay protection 2014-03-07 02:48:56 +05:00
Travis Cross 2fdaa1c0e8 Fix use of out of scope declaration 2014-03-06 08:45:23 +00:00
Travis Cross 1990d10057 Reword the websocket TLS cipher list
This generates an identical list of cipher suites, but this commit
restates the cipher spec to be more similar to the way we state it
elsewhere.
2014-03-05 21:37:30 +00:00
Travis Cross 6a3dcc9e0f Drop null-auth suites from our default TLS cipher list
Previously we disallowed anonymous Diffie-Hellman, but there are other
kinds of null-authentication TLS suites.  In particular, disallowing
AECDH is important now that we support elliptic-curve Diffie-Hellman.
2014-03-05 21:37:30 +00:00
Anthony Minessale 4cf14bce50 FS-5814 2014-03-06 00:31:10 +05:00
Anthony Minessale fe2a4bfa53 FS-5814 2014-03-05 13:12:02 -06:00
Anthony Minessale 5dbdbda0e7 force sofia rebuild 2014-03-06 00:03:20 +05:00
Anthony Minessale 7cb91467e0 FS-5814 --resolve 2014-03-06 00:02:40 +05:00
Anthony Minessale 066de4b378 Port commit from gitorious copy of sofia-sip our code now differs but this issue would still be a concern for OS X
commit ee51fa4e2993ab71339e29691aec8b924c810c53
Author: Frode Isaksen <frode.isaksen@bewan.com>
Date:   Thu Aug 18 16:40:58 2011 +0300

    su: fix su_time() on 64-bit OS X

        The field tv_sec in struct timeval is 64bits instead of 32bits as in
	    su_time_t, so you cannot cast su_time_t to struct timeval.
2014-03-05 10:25:39 -06:00
Brian West 6ed4ad7e20 Pass down into esl the LDFLAGS, fixes finding libncurses on NetBSD too. 2014-03-05 06:21:53 -06:00
Brian West 039f28d136 We do not use the cpp lib so why compile it. 2014-03-05 06:19:43 -06:00
Brian West 49fe796dab These options aren't valid for apr-util configure
configure: WARNING: unrecognized options: --disable-shared, --with-pic
2014-03-05 06:18:40 -06:00
William King 138224d816 FS-6303 --resolve 2014-03-04 12:30:14 -08:00
Travis Cross d5760e0d6a Show TLS cipher suite selected in sofia debug
This shows the cipher name, TLS version, the number of cipher bits and
algorithm bits, and a description of the cipher in Sofia's debug
logging output on level 9.
2014-02-28 20:46:34 +00:00
Travis Cross 38fe0a99d3 Prevent sha1_init et al from being undefined
sha1_init, sha1_update, and sha1_final were ending up as undefined
symbols in libfreeswitch.so because of the inline declaration, which
caused us to blow up while linking the freeswitch executable.  Declare
these as static inline instead.
2014-02-28 18:33:32 +00:00
Travis Cross c011f9daff Remove binary executables in libs/srtp
These files were introduced in commit 72e2d183c1.
2014-02-28 18:33:32 +00:00
Anthony Minessale 55901ae0f1 FS-6168 --resolve 2014-02-28 23:30:42 +05:00
Travis Cross 45c4450046 Prevent sqlite from over-reading a structure
Our sqlite fork was reading past the end of the zP3 KeyInfo structure
here.  This was causing gcc and clang's address sanitization to alert.

FS-6279 --resolve

Thanks-to: Christopher Rienzo <chris@rienzo.net>
2014-02-27 23:19:43 +00:00
Brian West cc8bab7729 FS-6276 move our include first so that ours is used and not the system if its present 2014-02-26 16:21:48 -06:00
Michael Jerris d6c20d4dce FS-6015: --resolve sqlite cross compile fixes 2014-02-25 14:26:55 -05:00
Seven Du 4fd93b0e67 Revert "fix compiler warning vs2010" - Jeff is faster than I
This reverts commit fa9217117a.
2014-02-25 14:24:34 +08:00
Seven Du fa9217117a fix compiler warning vs2010 2014-02-25 14:17:28 +08:00
Jeff Lenk 4a1f8785e4 mask warnings libsrtp windows 32bit 2014-02-24 22:42:16 -06:00
Jeff Lenk 99ab915f24 windows update libsrtp to use openssl 2014-02-24 20:13:12 -06:00
Marc Olivier Chouinard 3d53825d1d FS-6016 --resolve 2014-02-24 21:00:33 -05:00
Moises Silva 461f94870f Merge remote-tracking branch 'origin/master' into moy/tport-log-fix 2014-02-24 19:39:17 -05:00
Michael Jerris 6e97a9f55b FS-6017: --resolve no reason to have extra check for cross compile 2014-02-24 17:43:21 -05:00
Michael Jerris e9a0a0edc9 fix asm issue on sun 2014-02-24 15:28:03 -05:00
Michael Jerris 7c100cc8d3 pass in linker flags too 2014-02-24 14:47:04 -05:00
Michael Jerris ffa14f323e don't require python for libsndfile build 2014-02-24 14:02:22 -05:00
Michael Jerris 4aec16e878 pass top level configure cflags into spandsp too 2014-02-24 13:39:17 -05:00
Anthony Minessale d5e6139a18 remove unused docs 2014-02-24 10:42:18 -06:00
Michael Jerris bab923923a missed file 2014-02-24 10:32:34 -05:00
Michael Jerris fcc70a3f1d fully disable pkgconfig, we don't install this anyways 2014-02-24 10:17:21 -05:00
Michael Jerris e73792923a disable external lib lookup and don't blow up on missing pkg-config macros 2014-02-24 09:52:58 -05:00
Michael Jerris 80c7eb85e6 update libsrtp to use openssl 2014-02-24 09:52:25 -05:00
Brian West d97b163fd3 ESL-77 your test script works along with single_command.rb now 2014-02-24 04:12:55 -06:00
Steve Underwood 5e0b3fa077 Fixes for things picked up by clang compilation 2014-02-24 12:50:41 +08:00
Brian West 7682d96b3f Getting closer 2014-02-23 20:59:54 -06:00
Brian West d7794af38b DragonFly is very similar to OpenBSD with a dash of NetBSD 2014-02-23 20:43:21 -06:00
Brian West 0c7946bfec DragonFly and NetBSD sigh 2014-02-23 20:25:05 -06:00
Marc Olivier Chouinard 289d0de371 some circonstance, esl connection closing would hang. This should fix it 2014-02-23 20:52:14 -05:00
Jeff Lenk 62a28980a1 libsndfile windows update version string 2014-02-23 16:37:26 -06:00
Travis Cross cdc358c505 Add comment to distant #endif
FS-353
2014-02-23 22:33:28 +00:00
James Le Cuirot d996974faa Fix building without libedit
Signed-off-by: Travis Cross <tc@traviscross.com>

FS-353
2014-02-23 22:33:20 +00:00
Brian West c2798d7d11 moving phpmod in esl to use swig2.0 which fixes the few issues when you reswig 2014-02-23 10:08:02 -06:00
Jeff Lenk 2a3a1aae44 libsndfile remove accidental line endings 2014-02-22 18:45:09 -06:00
Brian West ae1016107d FS-5723 java makefile problem 2014-02-22 18:33:56 -06:00
Jeff Lenk 259d315372 libsndfile changes more likely to be excepted back into tree 2014-02-22 15:07:54 -06:00
Jeff Lenk c2680ecb18 libsndfile oops 2014-02-21 21:32:45 -06:00
Michael Jerris daad292e66 remove more tests 2014-02-21 19:21:46 -05:00
Michael Jerris 036dc53e6d comment out more tests 2014-02-21 19:16:07 -05:00
Michael Jerris e73eb028ae add more missing in acinclude.m4 2014-02-21 19:04:57 -05:00
Michael Jerris 319d056666 fix typo 2014-02-21 18:58:16 -05:00
Michael Jerris 6e7c748484 fix typo 2014-02-21 18:51:51 -05:00
Michael Jerris 75bfa09783 add new m4 files 2014-02-21 18:43:25 -05:00
Michael Jerris d54262cf2d more syntax 2014-02-21 18:19:59 -05:00
Michael Jerris 950cf08cba remove generated file 2014-02-21 18:11:18 -05:00
Michael Jerris 8d9848fdce fix calling convention for PKG_CHECK_MOD_VERSION 2014-02-21 18:10:52 -05:00
Michael Jerris 2c68ad3216 fix build 2014-02-21 18:04:30 -05:00
Jeff Lenk 6a9b09885e lidsndfile remove tests 2014-02-21 16:48:28 -06:00
William King 5fb660933d ESL-82 --resolve
Previously any esl_connect_timeout() failures would not return to the calling application the reason for the failure.
This commit now allows for calling applications to know why the connection attempt fails, but it is now the calling
applications responsiblity to call esl_disconnect() on the esl handle after the failure. Failing to call disconnect after
a failed connection attempt would result in memory being leaked.
2014-02-21 14:14:05 -08:00
Jeff Lenk 199a64bf6a FS-4657 --resolve update libsndfile to its latest master 2014-02-21 16:10:32 -06:00
Michael Jerris fdd4974189 bump 2014-02-21 16:38:46 -05:00
Michael Jerris b3242541b2 avoid redefined 2014-02-21 16:36:30 -05:00
Michael Jerris bfad336592 openbsd doesn't like this asm for some reason 2014-02-21 16:17:39 -05:00
Travis Cross 2fe0516ac2 Fix missing/duplicate declaration
This looks like a copy/paste error.

FS-6037 --resolve

Thanks-to: David Sanders <dsanders@pinger.com>
2014-02-21 21:09:19 +00:00
Michael Jerris 0cebdf8fc5 fix types for reply to 2014-02-21 16:08:30 -05:00
Michael Jerris 4f8bb1e465 openbsd has but errors out when you use this header 2014-02-21 15:29:11 -05:00
Michael Jerris 63aea267bc change macro name to work around conflict in openbsd 2014-02-21 15:25:50 -05:00
Michael Jerris 19f9dc12d3 change macro name to work around conflict in openbsd 2014-02-21 15:24:44 -05:00
Michael Jerris bbb96f936f fix openbsd build issue 2014-02-21 15:20:08 -05:00
Michael Jerris bf9e3a1f9e tgmath.h on freebsd is horribly broken and should never be used until they fix their operating system 2014-02-19 16:13:51 -05:00
Michael Jerris b40dd8a374 freebsd fix, use detected cxx compiler when building esl 2014-02-19 16:10:48 -05:00
Michael Jerris 7af0618620 more bsd fixes 2014-02-19 15:56:02 -05:00
Michael Jerris 020c9108a1 add search path for libtiff on bsd 2014-02-19 15:04:30 -05:00
Michael Jerris f279a01f92 more bsd fun 2014-02-19 14:53:39 -05:00
Jeff Lenk 5ca62ecb28 windows openssl disable warning 2010 only 2014-02-15 19:24:20 -06:00
Jeff Lenk 9842e9efd8 ESL-81 --resolve add specific SWIG code for windows 2014-02-15 18:36:49 -06:00
Seven Du 11dee76381 add user_data in esl_listen so the main function can pass a private user_data to callback 2014-02-16 08:14:44 +08:00
Peter Olsson 01e3eb458e Updated to OpenSSL 1.0.1f in Windows build 2014-02-15 21:05:04 +01:00
Jeff Lenk b33d50c01e add vs2012 missing file for speex and correct 2010 for last commit 2014-02-15 10:53:20 -06:00
Peter Olsson 47bcbe0fbb Removed non existing header file from libspeex Visual Studio 2012 project. This makes Visual Studio understand that the lib is built correctly. 2014-02-15 13:58:16 +01:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Travis Cross 3449e265a0 Force sofia rebuild
The rebuild is needed for commit d3b9aaba60.
2014-02-11 17:45:45 +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
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
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
Travis Cross f2d544d559 Rebuild sofia 2014-02-06 15:41:33 +00:00
Travis Cross a96eefe8ee Add support for EECDH to Sofia-SIP
This adds support for the ephemeral elliptic curve Diffie-Hellman key
exchange, which provides for forward secrecy in the event that
long-term keys are compromised.

For the moment, we've hard-coded the curve as prime256v1.
2014-02-06 15:40:35 +00:00
Travis Cross c0101e2ce6 Allow setting TLS cipher suites through Sofia-SIP API
Previously there was no way to override the hard-coded cipher suite
specification of "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH".

This commit does leave in place the hardcoded cipher spec for WebRTC
of "HIGH:!DSS:!aNULL@STRENGTH".
2014-02-06 06:04:02 +00:00
Travis Cross e3b353e911 Allow setting enabled TLS versions in Sofia-SIP
Previously if the TPTAG_TLS_VERSION was set to a non-zero value we
supported only TLSv1 (but not TLSv1.1 or TLSv1.2), and if was set to
zero we supported all versions of TLS and SSL (including the
ridiculous SSLv2).

Now we take an integer field where various bits can be set indicating
which versions of TLS we would like to support.
2014-02-06 02:17:13 +00:00
Michael Jerris b6270f4d70 FS-6030: --resolve fix variable scoping issue for more aggressive optimizer 2014-02-05 08:46:04 -05:00
Moises Silva f5f4df3483 Fix ESL infinite loop on handle_recv() when errno is already set
system calls do not clear errno, just set it in case of failure, so we
gotta make sure the recv() syscall really failed by checking the return value
2014-02-01 01:40:29 +05:00
Jeff Lenk 998b656799 remove some _MSC_VER stuff 2014-01-31 12:35:55 -06:00
Jeff Lenk 558decda2c srtp fix cast for last round of fixes 2014-01-31 11:19:30 -06:00
Jeff Lenk 37a639860c revert last srtp change and fix for windows different 2014-01-31 10:53:33 -06:00
Jeff Lenk 7454350062 missed one on last commit 2014-01-31 09:16:20 -06:00
Anthony Minessale 0a3e18a308 FS-6174 --resolve after updating to this revision, put ca-bundle.crt in /usr/local/freeswitch/certs to get chain cert in place for both dtls and wss 2014-01-31 20:16:54 +05:00
Jeff Lenk 035985859c reapply several compiler fixes after last commit 2014-01-31 08:54:26 -06:00
Michael Jerris 91eb5b237d update srtp to master part 1 2014-01-30 16:55:56 -05:00
Michael Jerris 16c9c1df0a don't define inline to nothing 2014-01-30 08:54:03 -05:00
Michael Jerris fa0de66ec8 .gitignore 2014-01-29 17:56:51 -05:00
Michael Jerris 433830a3fe revert previous change that does not correct the issue. opened a bug with apple on this issue https://bugreport.apple.com/problem/viewproblem #15938497 2014-01-29 16:59:55 -05:00
Michael Jerris 8a01410847 FS-5956: fix __sputc included twice due to stdio.h inlining issue 2014-01-29 11:41:49 -05:00
Michael Jerris 27d6d08772 add back dir 2014-01-28 11:49:58 -05:00
Anthony Minessale 0e14b758fc FS-6150 --resolve cool find 2014-01-27 06:57:05 +05:00
Anthony Minessale 7c2c032497 rm gen files 2014-01-27 06:17:32 +05:00
Jeff Lenk 1e62a65581 FS-6129 vs2010 didnt like the syntax here 2014-01-23 21:51:50 -06:00
Anthony Minessale b5821c1594 tweak event queue size on event socket and speed up fs_cli a little to keep up on busy logging env 2014-01-23 21:26:56 +05:00
Peter Olsson ef8dff4552 mod_v8: Force build on Windows to generate project files for the current version used. 2014-01-23 14:33:21 +01:00
Peter Olsson e26d34aa85 FS-6129 More improvements for V8 Windows build on 32-bit machines. 2014-01-23 13:39:34 +01:00
Peter Olsson 93696934b2 Silence more compiler warnings 2014-01-23 12:25:15 +01:00
Jeff Lenk 160a2b9362 FS-6129 remove for testing 2014-01-22 22:23:19 -06:00
Peter Olsson 5a820fdc78 Disabled some compiler warnings on Windows build (for Visual Studio 2012), also disabled code analysis one some projects. This should make the Windows build more clean in the future. 2014-01-22 22:47:11 +01:00
Peter Olsson 084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01:00
Peter Olsson 7adc20fd4a mod_v8: Simplify Visual Studio projects to make it easier to change version of V8 in the future 2014-01-21 12:35:19 +01:00
Travis Cross a0e9639a1f Handle Linux TCP keepalives better in Sofia
Sofia accepts a value for the TCP keepalive timeout interval via
TPTAG_KEEPALIVE, however it fails to use this value for the Linux
keepalive socket options TCP_KEEPIDLE and TCP_KEEPINTVL.  In fact, on
Linux it enables the sending of TCP keepalives even if tpp_keepalive
is set to zero which would disable Sofia's internal keepalive
mechanisms.  Sofia then uses a hard coded value of 30 seconds for
these keepalive intervals which affects battery life on mobile
devices.

With this commit we harmonize the sending of TCP keepalives on Linux
with other platforms by using the value from TPTAG_KEEPALIVE and not
enabling the sending of TCP keepalives at all if the value of the
parameter is zero.

FS-6104 --resolve
2014-01-18 15:46:56 +00:00
Peter Olsson 177d8950c2 mod_v8: Add support for build in VS2010. Files manually patched, but they should work as expected 2014-01-18 11:24:57 +01:00
Peter Olsson 91bd69beb4 Improved VS2012 project files for opus lib, to make it work better when converting into VS2013 project 2014-01-18 11:22:18 +01:00
Steve Underwood 63136410ad Fixed poor checking for ARM NEON 2014-01-17 23:16:23 +08:00
Steve Underwood f7a407feca Removal of some pointless callback parameters in the spandsp AT command
interpreter, and fixes for my congential inability to reliably spell psuedo,
er, pseudo, er, whatever.
2014-01-16 00:47:29 +08:00
Peter Olsson b762332669 Initial commit of mod_v8 2014-01-14 15:38:41 +01:00
Peter Olsson 0e2d027ddf ssize_t incorrectly defined as int on Windows x64 builds 2014-01-14 09:46:01 +01:00
Peter Olsson 5f7b00fb69 Check if stdint has been included before trying to declare int variants. Needed for mod_v8 build in Windows 2014-01-14 09:27:56 +01:00
Moises Silva b6133ecc95 OPENZAP-226 --resolve Hunting direction is reversed in the API
Minor modifications on the original patch to use ftdm_hunting_direction_t
everywhere instead of ftdm_direction_t or int

Patched-by: Marc Olivier Chouinard
2014-01-10 21:22:14 -05:00
Anthony Minessale d3872b3a7b add diffs from 8884f4d 8e47faf @ https://github.com/cisco/libsrtp 2014-01-11 03:46:13 +05:00
Anthony Minessale 3ff0aaa0be FS-5653 --resolve 2014-01-07 00:38:48 +05:00
Jeff Lenk e75497c98d revert accidental change in last commit for freetdm sang isdn 2014-01-01 12:08:40 -06:00
Jeff Lenk 153f66d739 add freetdm vs2012 build support 2013-12-31 16:45:44 -06:00
Jeff Lenk 990d41b121 FS-5704 --resolve 2013-12-30 13:14:34 -06:00
Michael Jerris 88545a7fe1 .gitignore 2013-12-23 17:27:20 -05:00
Anthony Minessale 14f7e1aa58 FS-5920 --resolve 2013-12-16 11:54:15 -05:00
Moises Silva 713ddc4834 Fix tport_stamp in the sofia stack to use localtime for the timestamp 2013-10-29 12:17:55 -04:00