]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
12 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).

12 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

12 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.

12 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

12 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

12 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

12 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

12 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

12 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.

12 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

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

12 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

12 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.

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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

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

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

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

12 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

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

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

12 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

12 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

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

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

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

12 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.

12 years agoDrop dead assignments
Travis Cross [Wed, 30 Apr 2014 23:02:03 +0000 (23:02 +0000)] 
Drop dead assignments

We goto done at the end of these blocks.

12 years agoCID: 1210646
Raymond Chandler [Wed, 30 Apr 2014 22:46:59 +0000 (18:46 -0400)] 
CID: 1210646

12 years agoDrop dead assignment
Travis Cross [Wed, 30 Apr 2014 22:43:33 +0000 (22:43 +0000)] 
Drop dead assignment

12 years agoDrop dead assignments
Travis Cross [Wed, 30 Apr 2014 22:40:30 +0000 (22:40 +0000)] 
Drop dead assignments

12 years agounused
Raymond Chandler [Wed, 30 Apr 2014 22:36:40 +0000 (18:36 -0400)] 
unused

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

This assignment isn't doing anything, so it safe to remove it, but
there remains the question of whether there could have been some
actually necessary intention behind this line.

12 years agoDrop dead assignment
Travis Cross [Wed, 30 Apr 2014 22:00:58 +0000 (22:00 +0000)] 
Drop dead assignment

12 years agoAvoid dead assignment of return value of execv
Travis Cross [Wed, 30 Apr 2014 21:57:07 +0000 (21:57 +0000)] 
Avoid dead assignment of return value of execv

execv(3) only returns on error, and will always return -1 in that
case.

12 years agoFix a use after free in a 'theoretical' case in switch_cache_db_persistant_execute_tr...
William King [Wed, 30 Apr 2014 21:37:17 +0000 (14:37 -0700)] 
Fix a use after free in a 'theoretical' case in switch_cache_db_persistant_execute_trans_full where the pre_trans_execute statement fails, but SQLSetAutoCommitAttr succeeds

12 years agocheck return value for es_say_general_count
Michael Jerris [Wed, 30 Apr 2014 20:43:35 +0000 (16:43 -0400)] 
check return value for es_say_general_count

12 years agomake sure old_pid_buffer is null terminated
Michael Jerris [Wed, 30 Apr 2014 20:36:14 +0000 (16:36 -0400)] 
make sure old_pid_buffer is null terminated

12 years agofix leaked body in error case
Michael Jerris [Wed, 30 Apr 2014 20:10:08 +0000 (16:10 -0400)] 
fix leaked body in error case

12 years agodon't leak file handle if fd = 0
Michael Jerris [Wed, 30 Apr 2014 19:56:36 +0000 (15:56 -0400)] 
don't leak file handle if fd = 0

12 years agodon't leak if first realloc fails but second one succeeds
Michael Jerris [Wed, 30 Apr 2014 19:53:26 +0000 (15:53 -0400)] 
don't leak if first realloc fails but second one succeeds

12 years agosplit this into 2 functions so its clear if this function allocates or not
Michael Jerris [Wed, 30 Apr 2014 19:48:23 +0000 (15:48 -0400)] 
split this into 2 functions so its clear if this function allocates or not

12 years agoMore fixes from Coverity scans
Steve Underwood [Wed, 30 Apr 2014 18:56:53 +0000 (02:56 +0800)] 
More fixes from Coverity scans

12 years agomake sure receive buffer is always null terminated
Michael Jerris [Wed, 30 Apr 2014 17:49:58 +0000 (13:49 -0400)] 
make sure receive buffer is always null terminated

12 years agodon't leak xml string in dl_logger
Michael Jerris [Wed, 30 Apr 2014 17:44:59 +0000 (13:44 -0400)] 
don't leak xml string in dl_logger

12 years agoadd better bounds checking in dtmf_accepting array to avoid buffer overrun in mod_voi...
Michael Jerris [Wed, 30 Apr 2014 17:31:06 +0000 (13:31 -0400)] 
add better bounds checking in dtmf_accepting array to avoid buffer overrun in mod_voicemail_ivr

12 years agofix read beyond buffer length error
Michael Jerris [Wed, 30 Apr 2014 17:25:22 +0000 (13:25 -0400)] 
fix read beyond buffer length error

12 years agoA couple more Coverity issues fixed
Steve Underwood [Wed, 30 Apr 2014 17:19:28 +0000 (01:19 +0800)] 
A couple more Coverity issues fixed

12 years agoBisect with make -j
Travis Cross [Wed, 30 Apr 2014 17:10:30 +0000 (17:10 +0000)] 
Bisect with make -j

12 years agoDon't unset CCACHE_DIR when bisecting
Travis Cross [Wed, 30 Apr 2014 17:01:00 +0000 (17:01 +0000)] 
Don't unset CCACHE_DIR when bisecting

12 years agoFS-6497: --resolve fix for loop initial declaration not allowed
Michael Jerris [Wed, 30 Apr 2014 16:16:02 +0000 (12:16 -0400)] 
FS-6497: --resolve fix for loop initial declaration not allowed

12 years agoAnother couple of Coverity related cleanups
Steve Underwood [Wed, 30 Apr 2014 14:51:59 +0000 (22:51 +0800)] 
Another couple of Coverity related cleanups

12 years agoremove generated file from tree
Michael Jerris [Wed, 30 Apr 2014 14:34:08 +0000 (10:34 -0400)] 
remove generated file from tree

12 years agoMore elimination of warnings with clang
Steve Underwood [Wed, 30 Apr 2014 14:27:29 +0000 (22:27 +0800)] 
More elimination of warnings with clang

12 years agoEliminate some clang warnings
Steve Underwood [Wed, 30 Apr 2014 14:18:46 +0000 (22:18 +0800)] 
Eliminate some clang warnings

12 years agomod_http_cache: CID 1025858: Thread deadlock (ORDER_REVERSAL)
Chris Rienzo [Wed, 30 Apr 2014 14:06:42 +0000 (10:06 -0400)] 
mod_http_cache: CID 1025858:  Thread deadlock  (ORDER_REVERSAL)

12 years agogracefully handle allocation failure
Michael Jerris [Wed, 30 Apr 2014 12:55:39 +0000 (08:55 -0400)] 
gracefully handle allocation failure

12 years agowe always have the session in the dialplan function
Michael Jerris [Wed, 30 Apr 2014 12:51:52 +0000 (08:51 -0400)] 
we always have the session in the dialplan function

12 years agowe always have the caller profile at this point, if for some reason we don't just...
Michael Jerris [Wed, 30 Apr 2014 12:50:29 +0000 (08:50 -0400)] 
we always have the caller profile at this point, if for some reason we don't just instead of crashing

12 years agowe always have the seesion in the app function
Michael Jerris [Wed, 30 Apr 2014 12:46:11 +0000 (08:46 -0400)] 
we always have the seesion in the app function

12 years agoremove useless checks of array == 0
Michael Jerris [Wed, 30 Apr 2014 12:43:57 +0000 (08:43 -0400)] 
remove useless checks of array == 0

12 years agodo set compiler flag that compiler doesn't support
Michael Jerris [Wed, 30 Apr 2014 12:33:09 +0000 (08:33 -0400)] 
do set compiler flag that compiler doesn't support

12 years agoEliminated another Coverity issue
Steve Underwood [Wed, 30 Apr 2014 06:41:06 +0000 (14:41 +0800)] 
Eliminated another Coverity issue

12 years agoSome more coverity issues cleaned up
Steve Underwood [Wed, 30 Apr 2014 05:10:59 +0000 (13:10 +0800)] 
Some more coverity issues cleaned up

12 years agoCleared some simple Coverity issues
Steve Underwood [Wed, 30 Apr 2014 04:42:46 +0000 (12:42 +0800)] 
Cleared some simple Coverity issues

12 years agoFS-6476 regression where sock would sometimes drop while reading logical frames
Anthony Minessale [Tue, 29 Apr 2014 22:24:59 +0000 (18:24 -0400)] 
FS-6476 regression where sock would sometimes drop while reading logical frames

12 years agoCorrection to commit 0ba59aa6c2d252886eb4889c5d37fe114e07b4f4 using the correct varia...
William King [Tue, 29 Apr 2014 22:22:38 +0000 (15:22 -0700)] 
Correction to commit 0ba59aa6c2d252886eb4889c5d37fe114e07b4f4 using the correct variable in tel uri param parsing for mod_sofia

12 years agosilence incorrect warnings about null pointer derference and remove unused code
Michael Jerris [Tue, 29 Apr 2014 18:34:49 +0000 (14:34 -0400)] 
silence incorrect warnings about null pointer derference and remove unused code

12 years agoadd heartbeat_use_scheduler variable to force the heartbeat to use the scheduler...
Anthony Minessale [Mon, 28 Apr 2014 23:20:46 +0000 (04:20 +0500)] 
add heartbeat_use_scheduler variable to force the heartbeat to use the scheduler rather than the media stream and also make it auto-chage between modes when going in and out of the media path

12 years agoAdd helper for running git bisect
Travis Cross [Mon, 28 Apr 2014 22:06:24 +0000 (22:06 +0000)] 
Add helper for running git bisect

12 years agothis should never happen, but just in case, this will at least calm coverity
Michael Jerris [Mon, 28 Apr 2014 20:30:19 +0000 (16:30 -0400)] 
this should never happen, but just in case, this will at least calm coverity

12 years agohandle null 'status' passed to 'switch_channel_perform_presence' more gracefully
Michael Jerris [Mon, 28 Apr 2014 20:21:45 +0000 (16:21 -0400)] 
handle null 'status' passed to 'switch_channel_perform_presence' more gracefully

12 years agoonly enable passthru_ptime_mismatch when set to a true value, not when it is set...
Michael Jerris [Mon, 28 Apr 2014 20:17:56 +0000 (16:17 -0400)] 
only enable passthru_ptime_mismatch when set to a true value, not when it is set to any value

12 years agoonly enable passthru_ptime_mismatch when set to a true value, not when it is set...
Michael Jerris [Mon, 28 Apr 2014 20:12:10 +0000 (16:12 -0400)] 
only enable passthru_ptime_mismatch when set to a true value, not when it is set to any value

12 years agoremove unused var ocp
Michael Jerris [Mon, 28 Apr 2014 20:06:39 +0000 (16:06 -0400)] 
remove unused var ocp

12 years agoif we can't open /dev/null, you have much bigger issues to deal with
Michael Jerris [Mon, 28 Apr 2014 20:02:39 +0000 (16:02 -0400)] 
if we can't open /dev/null, you have much bigger issues to deal with

12 years agoimprove null checks
Michael Jerris [Mon, 28 Apr 2014 19:49:57 +0000 (15:49 -0400)] 
improve null checks

12 years agoremove useless variable
Michael Jerris [Mon, 28 Apr 2014 19:19:19 +0000 (15:19 -0400)] 
remove useless variable

12 years agoremove useless statement
Michael Jerris [Mon, 28 Apr 2014 19:16:03 +0000 (15:16 -0400)] 
remove useless statement

12 years agoimprove error checking for null path
Michael Jerris [Mon, 28 Apr 2014 19:12:02 +0000 (15:12 -0400)] 
improve error checking for null path

12 years agofix bitwise flag unsetting
Michael Jerris [Mon, 28 Apr 2014 19:06:39 +0000 (15:06 -0400)] 
fix bitwise flag unsetting

12 years agoremove unused variable
Michael Jerris [Mon, 28 Apr 2014 19:00:22 +0000 (15:00 -0400)] 
remove unused variable

12 years agodon't set variable we don't use, and fix off by 1 buffer overflow in 1 case
Michael Jerris [Mon, 28 Apr 2014 18:46:05 +0000 (14:46 -0400)] 
don't set variable we don't use, and fix off by 1 buffer overflow in 1 case

12 years agoremove unnecessary null check, we would have crashed already if that strdup failed
Michael Jerris [Mon, 28 Apr 2014 18:38:38 +0000 (14:38 -0400)] 
remove unnecessary null check, we would have crashed already if that strdup failed

12 years agodon't use memory after free when using naptr with mod_enum with multiple routes
Brian West [Mon, 28 Apr 2014 18:03:09 +0000 (13:03 -0500)] 
don't use memory after free when using naptr with mod_enum with multiple routes

12 years agoblock of code in here twice was writing over expanded, causing it to potentially...
Michael Jerris [Mon, 28 Apr 2014 17:41:48 +0000 (13:41 -0400)] 
block of code in here twice was writing over expanded, causing it to potentially leak

12 years agoadd bounds check to keep rtcp packets with > 5 report blocks from creating a buffer...
Michael Jerris [Mon, 28 Apr 2014 17:31:55 +0000 (13:31 -0400)] 
add bounds check to keep rtcp packets with > 5 report blocks from creating a buffer overrun

12 years agoFS-4779 FS-6467 the behaviour from 4479 is now masked behind the param 3pcc-reinvite...
Anthony Minessale [Mon, 28 Apr 2014 17:10:09 +0000 (22:10 +0500)] 
FS-4779 FS-6467 the behaviour from 4479 is now masked behind the param 3pcc-reinvite-bridged-on-ack FS-6467 please test master

12 years agofix deref before null check
Michael Jerris [Mon, 28 Apr 2014 17:01:12 +0000 (13:01 -0400)] 
fix deref before null check

12 years agoremove unused variable
Michael Jerris [Mon, 28 Apr 2014 16:40:55 +0000 (12:40 -0400)] 
remove unused variable