]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
11 years agoCID:1087631 In the unlikely case the sprintf fails, free the memory instead of leak it
William King [Thu, 15 May 2014 02:56:32 +0000 (19:56 -0700)] 
CID:1087631 In the unlikely case the sprintf fails, free the memory instead of leak it

11 years agoCID: 1210583
Raymond Chandler [Wed, 14 May 2014 19:37:57 +0000 (19:37 +0000)] 
CID: 1210583

11 years agoAvoid polluting CFLAGS for mod_snmp
Travis Cross [Tue, 13 May 2014 17:36:15 +0000 (17:36 +0000)] 
Avoid polluting CFLAGS for mod_snmp

Putting `net-snmp-config --cflags` into CFLAGS causes major pollution;
it overrides optimization and debugging levels, warnings, and more.
While normally we do want to automatically locate library headers,
there has to be a better way to do this.  libsnmp is normally in the
usual place and doesn't need special handling.  Perhaps people with
libsnmp in a weird place should just need to add the -I flag to their
CFLAGS before build.

11 years agoCleanup makefile library dependencies of mod_snmp
Travis Cross [Tue, 13 May 2014 17:27:46 +0000 (17:27 +0000)] 
Cleanup makefile library dependencies of mod_snmp

Calling out to net-snmp-config --agent-libs causes transitive
dependencies to get pulled in, but we don't need those -- a sensible
dynamic linker pulls those in automatically.  Trying to track the
transitive dependencies manually would be a losing battle.

People were recently hitting this on Debian sid/jessie, where libpci
is in the transitive dependency list but isn't otherwise one of our
build dependencies.

11 years agoFS-6285 skypopen: ANY, RR NOT work fine in mod_skypopen
Giovanni Maruzzelli [Tue, 13 May 2014 09:00:47 +0000 (11:00 +0200)] 
FS-6285 skypopen: ANY, RR NOT work fine in mod_skypopen

11 years agoFS-6517 skypopen: mod_skypopen not using configured context with mod_sms chatplan...
Giovanni Maruzzelli [Mon, 12 May 2014 14:07:02 +0000 (16:07 +0200)] 
FS-6517 skypopen: mod_skypopen not using configured context with mod_sms chatplan with PATCH, thanks Russell Treleaven

11 years agoFix test for pkg-config
Travis Cross [Mon, 12 May 2014 13:50:21 +0000 (13:50 +0000)] 
Fix test for pkg-config

11 years agodon't pass large strucutre by value
Michael Jerris [Mon, 12 May 2014 13:31:12 +0000 (09:31 -0400)] 
don't pass large strucutre by value

11 years agoclean up coverity warnings and improve error checking
Michael Jerris [Mon, 12 May 2014 13:08:52 +0000 (09:08 -0400)] 
clean up coverity warnings and improve error checking

11 years agofreetdm: Fix raw GSM AT command execution not returning the proper token count
Moises Silva [Sun, 11 May 2014 07:22:27 +0000 (03:22 -0400)] 
freetdm: Fix raw GSM AT command execution not returning the proper token count

11 years agofreetdm: Added gsm debug configuration parameter
Moises Silva [Sun, 11 May 2014 06:55:07 +0000 (02:55 -0400)] 
freetdm: Added gsm debug configuration parameter

11 years agofreetdm: Fixes for GSM module
Moises Silva [Sat, 10 May 2014 06:56:06 +0000 (02:56 -0400)] 
freetdm: Fixes for GSM module

11 years agoCheck for pkg-config at $PKG_CONFIG in configure
Travis Cross [Fri, 9 May 2014 22:09:55 +0000 (22:09 +0000)] 
Check for pkg-config at $PKG_CONFIG in configure

This allows someone without pkg-config in their PATH to set where
pkg-config is located.

11 years agobump
Anthony Minessale [Fri, 9 May 2014 21:48:17 +0000 (02:48 +0500)] 
bump

11 years agobump v1.5.12
Anthony Minessale [Fri, 9 May 2014 21:47:01 +0000 (02:47 +0500)] 
bump

11 years agoTest for pkg-config in configure
Travis Cross [Fri, 9 May 2014 20:19:00 +0000 (20:19 +0000)] 
Test for pkg-config in configure

We depend on pkg-config, but we weren't explicitly testing for it, so
the absence of pkg-config would cause the sqlite test to fail, which
was confusing.

11 years agoFS-6515 --resolve
Anthony Minessale [Fri, 9 May 2014 19:35:32 +0000 (00:35 +0500)] 
FS-6515 --resolve

11 years agoFix missing $ for escaping shell variables for make
Travis Cross [Fri, 9 May 2014 17:27:37 +0000 (17:27 +0000)] 
Fix missing $ for escaping shell variables for make

11 years agodon't re-build tone2wav and fs_encode on every build
Michael Jerris [Thu, 8 May 2014 21:35:23 +0000 (17:35 -0400)] 
don't re-build tone2wav and fs_encode on every build

11 years agoRemove bashism from our Makefile hack
Travis Cross [Thu, 8 May 2014 21:26:03 +0000 (21:26 +0000)] 
Remove bashism from our Makefile hack

This makes portable the fix from commit
28ee7736d967f18215ef35f9cda82990baa82cc5.

11 years agoIndent block
Travis Cross [Thu, 8 May 2014 21:21:12 +0000 (21:21 +0000)] 
Indent block

11 years agoFix whitespace
Travis Cross [Thu, 8 May 2014 21:19:44 +0000 (21:19 +0000)] 
Fix whitespace

11 years agoput APR_LIBS back in LIBADD and LDFLAGS, but add some magic to .DEFAULT to ignore...
Michael Jerris [Thu, 8 May 2014 21:13:23 +0000 (17:13 -0400)] 
put APR_LIBS back in LIBADD and LDFLAGS, but add some magic to .DEFAULT to ignore -l targets

11 years agolet relay work if its the only option
Anthony Minessale [Thu, 8 May 2014 20:14:48 +0000 (01:14 +0500)] 
let relay work if its the only option

11 years agogenerate the modules list vars from modules.conf into a file instead of on the fly...
Michael Jerris [Thu, 8 May 2014 19:58:28 +0000 (15:58 -0400)] 
generate the modules list vars from modules.conf into a file instead of on the fly every time

11 years agodon't use -l libs from apr-config as dependencies in the Makefile
Michael Jerris [Thu, 8 May 2014 19:57:29 +0000 (15:57 -0400)] 
don't use -l libs from apr-config as dependencies in the Makefile

11 years agoCID: 1211940 mod_rayo - unlikely dereference of NULL pointer
Chris Rienzo [Thu, 8 May 2014 16:11:15 +0000 (12:11 -0400)] 
CID: 1211940 mod_rayo - unlikely dereference of NULL pointer

11 years agoCID: 1211941 mod_rayo - unlikely dereference of NULL pointer
Chris Rienzo [Thu, 8 May 2014 16:10:01 +0000 (12:10 -0400)] 
CID: 1211941 mod_rayo - unlikely dereference of NULL pointer

11 years agoCID: 1211943 mod_rayo - removed dead code when changing output speed
Chris Rienzo [Thu, 8 May 2014 16:03:28 +0000 (12:03 -0400)] 
CID: 1211943 mod_rayo - removed dead code when changing output speed

11 years agoCID: 1211944 mod_rayo - remove set of unused pointer
Chris Rienzo [Thu, 8 May 2014 15:47:38 +0000 (11:47 -0400)] 
CID: 1211944 mod_rayo - remove set of unused pointer

11 years agoCID: 1211946 mod_rayo - dead code after switch statement
Chris Rienzo [Thu, 8 May 2014 15:36:05 +0000 (11:36 -0400)] 
CID: 1211946 mod_rayo - dead code after switch statement

11 years agoCID: 1211947 mod_rayo - allocated array with unsigned char * element size instead...
Chris Rienzo [Thu, 8 May 2014 15:33:27 +0000 (11:33 -0400)] 
CID: 1211947 mod_rayo - allocated array with unsigned char * element size instead of unsigned char

11 years agoCID: 1211951 mod_rayo - fix unlikely dereference of null pointer
Chris Rienzo [Thu, 8 May 2014 15:30:53 +0000 (11:30 -0400)] 
CID: 1211951 mod_rayo - fix unlikely dereference of null pointer

11 years agomod_rayo: re-added Makefile for iks helpers unit tests
Chris Rienzo [Thu, 8 May 2014 15:16:02 +0000 (11:16 -0400)] 
mod_rayo: re-added Makefile for iks helpers unit tests

11 years agomod_rayo: re-added Makefile for srgs unit tests
Chris Rienzo [Thu, 8 May 2014 15:14:20 +0000 (11:14 -0400)] 
mod_rayo: re-added Makefile for srgs unit tests

11 years agomod_rayo: fix compiler error to nlsml.c from attempted coverity fix
Chris Rienzo [Thu, 8 May 2014 15:10:42 +0000 (11:10 -0400)] 
mod_rayo: fix compiler error to nlsml.c from attempted coverity fix

11 years agoFix openssl build variable name
Travis Cross [Thu, 8 May 2014 13:05:39 +0000 (13:05 +0000)] 
Fix openssl build variable name

FS-6475 --resolve

11 years agocheck for say errors in say_money functions
Michael Jerris [Wed, 7 May 2014 17:18:16 +0000 (13:18 -0400)] 
check for say errors in say_money functions

11 years agoFS-6337 prevent over-frequent jb resets in bad conditions
Anthony Minessale [Wed, 7 May 2014 17:12:12 +0000 (22:12 +0500)] 
FS-6337 prevent over-frequent jb resets in bad conditions

11 years agoits logically impossible for this to be null, we are looping through an array on...
Michael Jerris [Wed, 7 May 2014 16:54:40 +0000 (12:54 -0400)] 
its logically impossible for this to be null, we are looping through an array on the stack

11 years agodon't leak body in recv error case
Michael Jerris [Wed, 7 May 2014 16:50:53 +0000 (12:50 -0400)] 
don't leak body in recv error case

11 years agono need to check if p is null, it can never be null
Michael Jerris [Wed, 7 May 2014 16:37:30 +0000 (12:37 -0400)] 
no need to check if p is null, it can never be null

11 years agoFS-6475 --resolve
Brian West [Wed, 7 May 2014 14:59:58 +0000 (09:59 -0500)] 
FS-6475 --resolve

11 years agoCID: 1211948 fix memory leak of decoded iks message in function parse_plain_auth_mess...
William King [Wed, 7 May 2014 07:44:54 +0000 (00:44 -0700)] 
CID: 1211948 fix memory leak of decoded iks message in function parse_plain_auth_message in mod_rayo

11 years agoCID: 1211950 fix memory leak of iksparser in function nlsml_parse in mod_rayo
William King [Wed, 7 May 2014 07:37:32 +0000 (00:37 -0700)] 
CID: 1211950 fix memory leak of iksparser in function nlsml_parse in mod_rayo

11 years agoCID: 1211946 fixing uninitialized pointer read in mod_translate
William King [Wed, 7 May 2014 07:22:56 +0000 (00:22 -0700)] 
CID: 1211946 fixing uninitialized pointer read in mod_translate

11 years agoVarious small cleanups in spandsp
Steve Underwood [Wed, 7 May 2014 05:11:53 +0000 (13:11 +0800)] 
Various small cleanups in spandsp

11 years agominor tweak to make ws code work in blocking mode properly when used outside sofia
Anthony Minessale [Wed, 7 May 2014 01:13:27 +0000 (06:13 +0500)] 
minor tweak to make ws code work in blocking mode properly when used outside sofia

11 years agoInitialise custom TIFF directory offsets, as some versions of libtiff seem
Steve Underwood [Tue, 6 May 2014 19:07:07 +0000 (03:07 +0800)] 
Initialise custom TIFF directory offsets, as some versions of libtiff seem
to only set the low 32 bits of the 64 bit offset if the file only contains
a 32 bit offset.

11 years agoFS-6506 --resolve Technically when you are not using groups you do not add a <users...
Anthony Minessale [Tue, 6 May 2014 19:05:55 +0000 (00:05 +0500)] 
FS-6506 --resolve Technically when you are not using groups you do not add a <users> tag inside <domain> you just put several <user> tags in <domain> This patch will consume an extraneous <users> tag and move on making it work either way.

11 years agoCorrected data type for TIFF directory offsets
Steve Underwood [Tue, 6 May 2014 18:28:27 +0000 (02:28 +0800)] 
Corrected data type for TIFF directory offsets

11 years agoremove opezap from tree, it has been replaced by freetdm
Michael Jerris [Tue, 6 May 2014 15:05:54 +0000 (11:05 -0400)] 
remove opezap from tree, it has been replaced by freetdm

11 years agoMerge branch 'master' of git.freeswitch.org:freeswitch
Steve Underwood [Tue, 6 May 2014 13:22:19 +0000 (21:22 +0800)] 
Merge branch 'master' of git.freeswitch.org:freeswitch

11 years agoMissing data modems files. They are a work in progress at this time, so don't
Steve Underwood [Tue, 6 May 2014 13:21:33 +0000 (21:21 +0800)] 
Missing data modems files. They are a work in progress at this time, so don't
expect any functionality.

11 years agoadd quickie targets for fr sounds
Michael Jerris [Mon, 5 May 2014 23:22:52 +0000 (19:22 -0400)] 
add quickie targets for fr sounds

11 years agoFS-6484: guess at fixing seg from mod_managed, this function should never be called...
Michael Jerris [Mon, 5 May 2014 23:18:58 +0000 (19:18 -0400)] 
FS-6484: guess at fixing seg from mod_managed, this function should never be called without a channel, but if it does, throw an error instead

11 years agosofia is treating all notify sending as if they were natted rather than when nat...
Anthony Minessale [Mon, 5 May 2014 23:10:19 +0000 (04:10 +0500)] 
sofia is treating all notify sending as if they were natted rather than when nat is detected.  This causes issues on some polycoms that use strange ports in their contact for getting notifies that do not match the port the calls come from

11 years agoAvoid training :'s in paths
Travis Cross [Mon, 5 May 2014 21:38:52 +0000 (21:38 +0000)] 
Avoid training :'s in paths

When the path was empty, path_push_unique would cause a training colon
to be added.  This was a known issue that didn't cause any harm, but
while we're here, we'll clean this up.

11 years agoWork around Mac's broken sed
Travis Cross [Mon, 5 May 2014 21:26:34 +0000 (21:26 +0000)] 
Work around Mac's broken sed

sed on Mac is apparently incredibly broken and incapable of adding
newlines.  `printf 'x' | sed 's/x/\n/'` results in 'n' on Mac rather
than a newline.  GNU sed even in --posix mode does not agree with this
behavior.  None the less, we can work around it here.

11 years agoFixed some ARM embedded assembly language typos
Steve Underwood [Mon, 5 May 2014 00:33:55 +0000 (08:33 +0800)] 
Fixed some ARM embedded assembly language typos

11 years agoSome tweaks to spandsp project files
Steve Underwood [Sun, 4 May 2014 10:14:36 +0000 (18:14 +0800)] 
Some tweaks to spandsp project files

11 years agoThe APIs for spandsp FAX have changes, removing one of the parameters passed in
Steve Underwood [Sun, 4 May 2014 09:22:28 +0000 (17:22 +0800)] 
The APIs for spandsp FAX have changes, removing one of the parameters passed in
the callbacks.

11 years agodifferent distros have diff pkg names
Michael Jerris [Fri, 2 May 2014 22:35:37 +0000 (18:35 -0400)] 
different distros have diff pkg names

11 years agoSIP-686 changed mod_say (en) to speak full dates when asked to speak a date in the...
Michael MCGuinness [Mon, 7 Apr 2014 20:21:22 +0000 (16:21 -0400)] 
SIP-686 changed mod_say (en) to speak full dates when asked to speak a date in the future (rather than only weekday and time).

11 years agoFS-6413 update presence_epoch to lock to midnite
Anthony Minessale [Fri, 2 May 2014 18:49:41 +0000 (23:49 +0500)] 
FS-6413 update presence_epoch to lock to midnite

11 years agoAdd a fallback test for ldns system library
Travis Cross [Fri, 2 May 2014 18:06:42 +0000 (18:06 +0000)] 
Add a fallback test for ldns system library

Some systems don't have the pkg-config file, or don't have it in the
right place.  Breaking build on those systems does have the positive
effect of getting people to file bugs with those distros, but we
should at least keep things working on Debian wheezy while getting
Debian to accept the fix to ldns.

11 years agoFS-353: look for ldns pkg-config for homebrew, you will need to update your homebrew...
Michael Jerris [Fri, 2 May 2014 17:26:37 +0000 (13:26 -0400)] 
FS-353: look for ldns pkg-config for homebrew, you will need to update your homebrew ldns package if you installed it prior to this commit, they just fixed the pkg-config file being installed

11 years agoFS-6500: use correct type in ftdm callback
Brian West [Fri, 2 May 2014 21:16:35 +0000 (16:16 -0500)] 
FS-6500: use correct type in ftdm callback

11 years agoFS-6500: handle conversion from switch to ftdm cause type which almost match each...
Brian West [Fri, 2 May 2014 21:12:24 +0000 (16:12 -0500)] 
FS-6500: handle conversion from switch to ftdm cause type which almost match each other

11 years agoFS-6500: fix return value type for outgoing_channel function
Brian West [Fri, 2 May 2014 21:04:03 +0000 (16:04 -0500)] 
FS-6500: fix return value type for outgoing_channel function

11 years agoVarious little cleanups, many of them from a clang static analysis
Steve Underwood [Fri, 2 May 2014 15:32:33 +0000 (23:32 +0800)] 
Various little cleanups, many of them from a clang static analysis

11 years agoFix building with musl libc
Natanael Copa [Thu, 1 May 2014 14:12:12 +0000 (14:12 +0000)] 
Fix building with musl libc

POSIX says poll.h and signal.h should not be prefixed with sys/ (ie
poll.h instead of sys/poll.h)

limits.h also defines a TZNAME_MAX so we change name of the define for
spandsp.

11 years agoFS-6500: freebsd does not support the inline backtrace solution
Michael Jerris [Fri, 2 May 2014 15:14:34 +0000 (11:14 -0400)] 
FS-6500: freebsd does not support the inline backtrace solution

11 years agoRemove dead assignment in libscgi
Travis Cross [Fri, 2 May 2014 03:58:48 +0000 (03:58 +0000)] 
Remove dead assignment in libscgi

11 years agoRemove some dead assignments in ESL
Travis Cross [Fri, 2 May 2014 03:55:20 +0000 (03:55 +0000)] 
Remove some dead assignments in ESL

11 years agoAvoid leaking data_buf in mod_conference
Travis Cross [Fri, 2 May 2014 03:38:14 +0000 (03:38 +0000)] 
Avoid leaking data_buf in mod_conference

When we couldn't acquire the rwlock on the conference we were leaking
a buffer we just allocated.  On a 48k/10ms conference we would leak
960 bytes per attempt.

11 years agofreetdm: ftdm_gsm: Fix a few compilation warnings
Moises Silva [Fri, 2 May 2014 00:28:23 +0000 (20:28 -0400)] 
freetdm: ftdm_gsm: Fix a few compilation warnings

11 years agoFS-6500: freetdm: Add more enum compliance by defining proper enum values for FTDM_EN...
Moises Silva [Thu, 1 May 2014 23:59:16 +0000 (19:59 -0400)] 
FS-6500: freetdm: Add more enum compliance by defining proper enum values for FTDM_END and FTDM_ANY special state values

11 years agodon't null check what we know won't be null
Michael Jerris [Thu, 1 May 2014 23:00:24 +0000 (19:00 -0400)] 
don't null check what we know won't be null

11 years agodon't need to double check for null
Michael Jerris [Thu, 1 May 2014 22:50:26 +0000 (18:50 -0400)] 
don't need to double check for null

11 years agoProtect cross-compiling from polluted PKG_CONFIG_PATH
Travis Cross [Thu, 1 May 2014 22:19:56 +0000 (22:19 +0000)] 
Protect cross-compiling from polluted PKG_CONFIG_PATH

11 years agofix typo
Michael Jerris [Thu, 1 May 2014 22:22:57 +0000 (18:22 -0400)] 
fix typo

11 years agoUse system ldns library
Travis Cross [Thu, 1 May 2014 21:17:45 +0000 (21:17 +0000)] 
Use system ldns library

This library is used only by mod_enum and is available on most
platforms.  The version in our tree has many code quality problems
that are generating noise when doing static analysis.  Suffice it to
say we want rid of it as our responsibility.

FS-353

11 years agoRemove old ldns patch from FS-3110
Travis Cross [Thu, 1 May 2014 22:00:46 +0000 (22:00 +0000)] 
Remove old ldns patch from FS-3110

11 years agoCID: 1210739
Raymond Chandler [Thu, 1 May 2014 21:34:54 +0000 (17:34 -0400)] 
CID: 1210739

11 years agoCID: 1210596
Raymond Chandler [Thu, 1 May 2014 21:28:54 +0000 (17:28 -0400)] 
CID: 1210596

11 years agoCID: 1210770
Raymond Chandler [Thu, 1 May 2014 20:36:55 +0000 (16:36 -0400)] 
CID: 1210770

11 years agoFS-6503 --resolve remove unused code
Anthony Minessale [Thu, 1 May 2014 19:00:13 +0000 (00:00 +0500)] 
FS-6503 --resolve remove unused code

11 years agoFS-6499 --resolve
Brian West [Thu, 1 May 2014 20:21:57 +0000 (15:21 -0500)] 
FS-6499 --resolve

11 years agoFS-6498 --resolve
Brian West [Thu, 1 May 2014 20:20:25 +0000 (15:20 -0500)] 
FS-6498 --resolve

11 years agoFS-6500: try to do the bounds checking properly using element of the enum
Michael Jerris [Thu, 1 May 2014 18:32:23 +0000 (14:32 -0400)] 
FS-6500: try to do the bounds checking properly using element of the enum

11 years agofix log message on sending tport ping over ws to log error in failure cases
Michael Jerris [Thu, 1 May 2014 18:20:27 +0000 (14:20 -0400)] 
fix log message on sending tport ping over ws to log error in failure cases

11 years agoremove dead assignment
Michael Jerris [Thu, 1 May 2014 18:17:06 +0000 (14:17 -0400)] 
remove dead assignment

11 years agoremove dead assignment
Michael Jerris [Thu, 1 May 2014 18:04:56 +0000 (14:04 -0400)] 
remove dead assignment

11 years agoremove dead assignment
Michael Jerris [Thu, 1 May 2014 17:52:12 +0000 (13:52 -0400)] 
remove dead assignment

11 years agosilence clang unused function warnings and get rid of some unused functions
Michael Jerris [Thu, 1 May 2014 13:03:19 +0000 (09:03 -0400)] 
silence clang unused function warnings and get rid of some unused functions

12 years agoremove unused function
Michael Jerris [Thu, 1 May 2014 12:32:23 +0000 (08:32 -0400)] 
remove unused function

12 years agofix 2 potential use after free errors
Michael Jerris [Thu, 1 May 2014 12:30:52 +0000 (08:30 -0400)] 
fix 2 potential use after free errors

12 years agoRefactor if blocks
Travis Cross [Wed, 30 Apr 2014 23:23:06 +0000 (23:23 +0000)] 
Refactor if blocks

Since the first branch doesn't need to do anything, we invert it and
pull a sub-branch out a level into the main conditional.

12 years agoRemove dead assignment
Travis Cross [Wed, 30 Apr 2014 23:22:13 +0000 (23:22 +0000)] 
Remove dead assignment

...now this code needs refactoring.