]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
11 years agomod_fifo: Move straggling vars to global struct
Travis Cross [Sun, 25 May 2014 13:54:25 +0000 (13:54 +0000)] 
mod_fifo: Move straggling vars to global struct

11 years agomod_fifo: Cleanup whitespace
Travis Cross [Sat, 24 May 2014 23:47:31 +0000 (23:47 +0000)] 
mod_fifo: Cleanup whitespace

11 years agomod_fifo: Cleanup whitespace in load_config()
Travis Cross [Sat, 24 May 2014 23:24:07 +0000 (23:24 +0000)] 
mod_fifo: Cleanup whitespace in load_config()

11 years agomod_fifo: Cleanup config parsing
Travis Cross [Sat, 24 May 2014 23:08:55 +0000 (23:08 +0000)] 
mod_fifo: Cleanup config parsing

11 years agomod_fifo: Improve function names
Travis Cross [Sat, 24 May 2014 23:04:36 +0000 (23:04 +0000)] 
mod_fifo: Improve function names

11 years agomod_fifo: Consolidate code
Travis Cross [Sat, 24 May 2014 23:03:07 +0000 (23:03 +0000)] 
mod_fifo: Consolidate code

11 years agomod_fifo: Document load_config()
Travis Cross [Mon, 26 May 2014 16:10:34 +0000 (16:10 +0000)] 
mod_fifo: Document load_config()

11 years agoAdd in-code documentation for mod_fifo
Travis Cross [Sat, 24 May 2014 22:29:06 +0000 (22:29 +0000)] 
Add in-code documentation for mod_fifo

The goal here is to describe theory.  We want to illuminate what the
code is trying to do and what the core concepts are.

11 years agoAdd CentOS 5.x build Makefile for reference
Brian West [Tue, 27 May 2014 16:20:29 +0000 (11:20 -0500)] 
Add CentOS 5.x build Makefile for reference

11 years agoFS-6446 --resolve
Anthony Minessale [Tue, 27 May 2014 15:39:53 +0000 (20:39 +0500)] 
FS-6446 --resolve

11 years agomod_rayo: remove code that is no longer needed
Chris Rienzo [Tue, 27 May 2014 14:21:56 +0000 (10:21 -0400)] 
mod_rayo: remove code that is no longer needed

11 years agomod_rayo: http_put of received fax was broken
Chris Rienzo [Tue, 27 May 2014 13:15:22 +0000 (09:15 -0400)] 
mod_rayo: http_put of received fax was broken

11 years agoDocument that switch_core_alloc returns zeroed memory
Travis Cross [Mon, 26 May 2014 19:08:27 +0000 (19:08 +0000)] 
Document that switch_core_alloc returns zeroed memory

11 years agoUse CPPFLAGS for mod_java includes
Travis Cross [Thu, 22 May 2014 18:08:14 +0000 (18:08 +0000)] 
Use CPPFLAGS for mod_java includes

11 years agoAvoid useless NAT log message
Travis Cross [Sat, 24 May 2014 00:34:12 +0000 (00:34 +0000)] 
Avoid useless NAT log message

If FS is not behind NAT, then every call generates at least three
INFO-level log messages:

  [INFO] switch_nat.c:589 NAT port mapping disabled

This is useless noise.  The message is only interesting if you do have
NAT enabled but mapping disabled, which might indicate a configuration
issue.

With this change, we just skip the entire nat_add_mapping function if
the NAT system isn't initialized or we're not behind NAT.

11 years agoAdd mod_graylog2 to debian packaging
Travis Cross [Sat, 24 May 2014 06:55:54 +0000 (06:55 +0000)] 
Add mod_graylog2 to debian packaging

11 years agoShow initial channel values with `show channels`
Travis Cross [Sat, 24 May 2014 08:42:54 +0000 (08:42 +0000)] 
Show initial channel values with `show channels`

Store some initial details about the channel separately so we can
preserve them across e.g. transfers and display them with show
channels.

With this commit, we store the original caller ID (name and number)
and IP address, and the call destination, dialplan, and context.

FS-4296 --resolve

Thanks-to: Mariusz Czułada <manieq.net@gmail.com>
11 years agoRevert commit that breaks build on gcc-4.8
Travis Cross [Sat, 24 May 2014 07:18:48 +0000 (07:18 +0000)] 
Revert commit that breaks build on gcc-4.8

Revert "FS-4296 --resolve initial calling/called nums in 'show channels'"

This reverts commit b08138d058299db52a96346c0125feb9ef5cde58.

11 years agomod_graylog2: native GELF logging
Chris Rienzo [Fri, 23 May 2014 20:53:42 +0000 (16:53 -0400)] 
mod_graylog2: native GELF logging

11 years agoFS-4296 --resolve initial calling/called nums in 'show channels'
Ken Rice [Fri, 23 May 2014 20:03:47 +0000 (15:03 -0500)] 
FS-4296 --resolve initial calling/called nums in 'show channels'

Store initial caller and destination numbers in 'channels' table,
so `show channels` can display it.

Patch provided by Mariusz Czułada <manieq.net@gmail.com>

11 years agoback off locking contention on sql queues when they are nearly full to allow the...
Anthony Minessale [Fri, 23 May 2014 18:13:38 +0000 (23:13 +0500)] 
back off locking contention on sql queues when they are nearly full to allow the system to recover from an attack

11 years agofix linker on mod_cepstral to work in newer environments
Anthony Minessale [Fri, 23 May 2014 16:11:25 +0000 (21:11 +0500)] 
fix linker on mod_cepstral to work in newer environments

11 years agoSince we're all about WebRTC, We should compile and enable OPUS by default to lower...
Brian West [Fri, 23 May 2014 13:11:03 +0000 (08:11 -0500)] 
Since we're all about WebRTC, We should compile and enable OPUS by default to lower the number of steps to complete a WebRTC setup

11 years agoFS-6482 Commit 7e15c938e21ec39ceaaf0d67772156129d85ceb9 broke MWI for device having...
Marc Olivier Chouinard [Fri, 23 May 2014 12:42:16 +0000 (08:42 -0400)] 
FS-6482 Commit 7e15c938e21ec39ceaaf0d67772156129d85ceb9 broke MWI for device having no transport parameters (plain UDP connection)

11 years agofix name of fs_ivrd
Anthony Minessale [Thu, 22 May 2014 20:41:21 +0000 (16:41 -0400)] 
fix name of fs_ivrd

11 years agobasic mutex model for coverity
Michael Jerris [Thu, 22 May 2014 18:40:24 +0000 (18:40 +0000)] 
basic mutex model for coverity

11 years agoDrop mod_java from jessie build
Travis Cross [Thu, 22 May 2014 18:30:39 +0000 (18:30 +0000)] 
Drop mod_java from jessie build

Right now mod_java fails to build on sid and jessie.  We have a
possible solution, but we'll just disable the build of the module
while we test and verify.

11 years agoDrop mod_ldap from sid/jessie build
Travis Cross [Thu, 22 May 2014 18:23:07 +0000 (18:23 +0000)] 
Drop mod_ldap from sid/jessie build

Ken noticed a build error.  We need to use the system ldap library
anyway, so we'll just drop mod_ldap here until we make that change.

11 years agoBreak on missing ldns lib at configure time
Travis Cross [Thu, 22 May 2014 17:37:33 +0000 (17:37 +0000)] 
Break on missing ldns lib at configure time

Previously we would detect the missing LDNS system library at
configure time, but would only break during the build of mod_enum.

With this change, if mod_enum is enabled in modules.conf and the
system doesn't have a usable LDNS library we break during configure.

11 years agoCID:1215201 Explicit null dereferenced
Michael Jerris [Thu, 22 May 2014 15:39:59 +0000 (15:39 +0000)] 
CID:1215201 Explicit null dereferenced

11 years agoCID:1215198 don't set variables that are not used, and clean up the bail out usage...
Michael Jerris [Thu, 22 May 2014 14:52:56 +0000 (14:52 +0000)] 
CID:1215198 don't set variables that are not used, and clean up the bail out usage condition to be more sane

11 years agoRevert workaround of gcc-4.6.3-14+rpi1 ARM bug
Travis Cross [Thu, 22 May 2014 01:00:39 +0000 (01:00 +0000)] 
Revert workaround of gcc-4.6.3-14+rpi1 ARM bug

The correct fix is to use gcc-4.7 or newer.  If the compiler borked
this, one should trust nothing else it produces.

Revert "FS-6524,FS-6494: the compiler for rpi seems to be strangely
mis-optimizing this if/else block. Yes, its already set to this value,
but without the else block, it 'magically' hits the if blocks above,
unless you sleep, print a log, or add the else"

This reverts commit 1ca1d63795ae4b42d0a74e2d9432d98c8075c98b.

11 years agoCID: 1215198 Fix an assignment so that the variable only handles malloc'd data.
William King [Wed, 21 May 2014 23:28:03 +0000 (16:28 -0700)] 
CID: 1215198 Fix an assignment so that the variable only handles malloc'd data.

11 years agoCleanup bad whitespace
Travis Cross [Wed, 21 May 2014 17:25:32 +0000 (17:25 +0000)] 
Cleanup bad whitespace

Introduced in commit e6ac87f5f1d484e07801d4d03be3a8aaad2a36f1.

11 years agofixes for VS2010 code analysis - hope these are OK else-ware
Jeff Lenk [Wed, 21 May 2014 03:54:03 +0000 (22:54 -0500)] 
fixes for VS2010 code analysis - hope these are OK else-ware

11 years agoFS-6418 FS-6427 add profile param NDLB-proxy-never-patch-reinvites to solve both...
Anthony Minessale [Tue, 20 May 2014 22:31:45 +0000 (03:31 +0500)] 
FS-6418 FS-6427 add profile param NDLB-proxy-never-patch-reinvites to solve both issues

11 years agoFS-6505 VS2010 Express
Jeff Lenk [Tue, 20 May 2014 22:20:29 +0000 (16:20 -0600)] 
FS-6505 VS2010 Express

11 years agoFS-6505 download custom ldns lib for windows for now
Jeff Lenk [Tue, 20 May 2014 22:07:52 +0000 (17:07 -0500)] 
FS-6505 download custom ldns lib for windows for now

11 years agoFS-6524,FS-6494: the compiler for rpi seems to be strangely mis-optimizing this if...
root [Tue, 20 May 2014 21:16:18 +0000 (21:16 +0000)] 
FS-6524,FS-6494: the compiler for rpi seems to be strangely mis-optimizing this if/else block. Yes, its already set to this value, but without the else block, it 'magically' hits the if blocks above, unless you sleep, print a log, or add the else

11 years agoFS-6539 fix typo
Brian West [Tue, 20 May 2014 21:19:27 +0000 (16:19 -0500)] 
FS-6539 fix typo

11 years agoseek chain cert from wss.pem just cat together the cert, the key and the chain cert...
Anthony Minessale [Tue, 20 May 2014 18:18:33 +0000 (23:18 +0500)] 
seek chain cert from wss.pem just cat together the cert, the key and the chain cert into wss.pem

11 years agoFS-6538: silence gcc 4.9 throwing incorrect warning
Michael Jerris [Tue, 20 May 2014 15:46:46 +0000 (15:46 +0000)] 
FS-6538: silence gcc 4.9 throwing incorrect warning

11 years agoforce sofia rebuild
Anthony Minessale [Tue, 20 May 2014 15:29:17 +0000 (20:29 +0500)] 
force sofia rebuild

11 years agoFix erlang deadlock
Tamas Cseke [Tue, 20 May 2014 08:13:38 +0000 (10:13 +0200)] 
Fix erlang deadlock

Release session R/W Lock

11 years agomissed file from a94f0a3fa6875c41b92d317e643ee84efdfda293
Anthony Minessale [Mon, 19 May 2014 23:42:23 +0000 (04:42 +0500)] 
missed file from a94f0a3fa6875c41b92d317e643ee84efdfda293

11 years agoadd heartbeat_fire_on_set variable to fire heartbeat instantly when its first enabled...
Anthony Minessale [Mon, 19 May 2014 23:07:47 +0000 (04:07 +0500)] 
add heartbeat_fire_on_set variable to fire heartbeat instantly when its first enabled (legacy behavior)

11 years agocompute timeout based on fake sample count not real life one
Anthony Minessale [Mon, 19 May 2014 23:01:57 +0000 (04:01 +0500)] 
compute timeout based on fake sample count not real life one

11 years agoslight tweat to pgsql version detection using awk instead of sed for bsd portability
Ken Rice [Mon, 19 May 2014 17:38:02 +0000 (12:38 -0500)] 
slight tweat to pgsql version detection using awk instead of sed for bsd portability

11 years agoFS-6533: --resolve fix gcc 4.9 warning due to useless right-hand operand of comma...
Michael Jerris [Mon, 19 May 2014 15:36:02 +0000 (10:36 -0500)] 
FS-6533: --resolve fix gcc 4.9 warning due to useless right-hand operand of comma expression

11 years agoFix race in erlang process spawning
Tamas Cseke [Mon, 19 May 2014 12:47:39 +0000 (14:47 +0200)] 
Fix race in erlang process spawning

We received the reply and signaled the condition
earlier then started to wait for it

11 years agoChinese say now say "one" before "ten" for numbers >99
Steve Underwood [Sat, 17 May 2014 06:28:58 +0000 (14:28 +0800)] 
Chinese say now say "one" before "ten" for numbers >99

11 years agoPrevent opus lib from re-configuring on every make
Travis Cross [Fri, 16 May 2014 23:46:07 +0000 (23:46 +0000)] 
Prevent opus lib from re-configuring on every make

We were using the libopus directory itself rather than a file within
it as a makefile target.  This is a bad idea as make will see the
target as updated whenever files are created in or removed from the
directory.  Since running configure creates and removes files, the
target will always appear dirty.

The effect was that when mod_opus was enabled in FS make would always
cause libopus to be reconfigured.

We'll target instead the configure file in libopus as that's the first
thing we need anyway.

11 years agoCID: 1214222
William King [Sat, 17 May 2014 00:01:03 +0000 (17:01 -0700)] 
CID: 1214222

sofia_glue_get_url_from_contact to strdup the value so before
overwriting the value signal to sofia that we have finished with the
raw header.

11 years agoCID: 1214221,1214222
William King [Fri, 16 May 2014 23:35:49 +0000 (16:35 -0700)] 
CID: 1214221,1214222

sip_header_as_string returns new memory alloc'd on the nua_handle's memory pool. This memory would not be freed until
the handle was destroyed. Since there is no usage of the call-info header after it is added to the event as a header value,
we should make sure to both su_free the sofia returned string, but also more cleanly create the event header value to reduce a strdup.

11 years agoFix build for 31b8b55d0b31dfd58b5e6f8166a228ab2f456d3d
William King [Fri, 16 May 2014 22:36:25 +0000 (15:36 -0700)] 
Fix build for 31b8b55d0b31dfd58b5e6f8166a228ab2f456d3d

11 years agoCID:1210789 Make return value of a function available from the another calling functi...
Marc Olivier Chouinard [Fri, 16 May 2014 21:18:17 +0000 (17:18 -0400)] 
CID:1210789 Make return value of a function available from the another calling function.  Also add a small status check.

11 years agoCID:1214233 Pointer to local outside scope
Michael Jerris [Fri, 16 May 2014 21:08:48 +0000 (21:08 +0000)] 
CID:1214233 Pointer to local outside scope

11 years agoCID:1025868 Simplified a function arguments never called.
Marc Olivier Chouinard [Fri, 16 May 2014 21:03:59 +0000 (17:03 -0400)] 
CID:1025868 Simplified a function arguments never called.

11 years agoCID:1087632 Resource leak
Michael Jerris [Fri, 16 May 2014 21:01:13 +0000 (21:01 +0000)] 
CID:1087632 Resource leak

11 years agoCID:1214216 Resource leak
Michael Jerris [Fri, 16 May 2014 20:46:00 +0000 (20:46 +0000)] 
CID:1214216 Resource leak

11 years agoCID:1024418 Unintentional integer overflow
Michael Jerris [Fri, 16 May 2014 20:07:58 +0000 (20:07 +0000)] 
CID:1024418 Unintentional integer overflow

11 years agoCID:1023970 Unused pointer value
Michael Jerris [Fri, 16 May 2014 19:53:23 +0000 (19:53 +0000)] 
CID:1023970 Unused pointer value

11 years agoCID:1024582 Logically dead code
Michael Jerris [Fri, 16 May 2014 19:27:25 +0000 (19:27 +0000)] 
CID:1024582 Logically dead code

11 years agoCID:1024581 Logically dead code
Michael Jerris [Fri, 16 May 2014 19:22:37 +0000 (19:22 +0000)] 
CID:1024581 Logically dead code

11 years agoCID:1024580 Logically dead code, x will always be > 1
Michael Jerris [Fri, 16 May 2014 19:19:31 +0000 (19:19 +0000)] 
CID:1024580 Logically dead code, x will always be > 1

11 years agoCID:1024579 Logically dead code
Michael Jerris [Fri, 16 May 2014 19:09:18 +0000 (19:09 +0000)] 
CID:1024579 Logically dead code

11 years agoadd auth-subscriptions flag. sofia ua can now optionally challenge subscrition requests
Russell Treleaven [Sat, 3 May 2014 17:28:54 +0000 (13:28 -0400)] 
add auth-subscriptions flag. sofia ua can now optionally challenge subscrition requests

11 years agoCID:1024270 Dereference before null check
Michael Jerris [Fri, 16 May 2014 18:54:43 +0000 (18:54 +0000)] 
CID:1024270 Dereference before null check

11 years agoCID: 1214223-1214230 If sent an invalid registration authentication header with multi...
William King [Fri, 16 May 2014 18:50:07 +0000 (11:50 -0700)] 
CID: 1214223-1214230 If sent an invalid registration authentication header with multiple params of the same name, then only use the first of the params instead of leaking memory

11 years agoCID:1023975 Unused pointer value
Michael Jerris [Fri, 16 May 2014 18:49:23 +0000 (18:49 +0000)] 
CID:1023975 Unused pointer value

11 years agoCID:1025879 Logically dead code
Michael Jerris [Fri, 16 May 2014 18:20:25 +0000 (18:20 +0000)] 
CID:1025879 Logically dead code

11 years agoCID:1025850 Dereference before null check
Michael Jerris [Fri, 16 May 2014 18:15:34 +0000 (18:15 +0000)] 
CID:1025850 Dereference before null check

11 years agoCID:1025849 Dereference before null check
Michael Jerris [Fri, 16 May 2014 18:12:28 +0000 (18:12 +0000)] 
CID:1025849 Dereference before null check

11 years agoCID:1214125 https://scan6.coverity.com:8443/docs/en/cov_checker_ref.html#static_check...
Marc Olivier Chouinard [Fri, 16 May 2014 17:30:27 +0000 (13:30 -0400)] 
CID:1214125 https://scan6.coverity.com:8443/docs/en/cov_checker_ref.html#static_checker_BUFFER_SIZE

11 years agoCID:1214189 Division or modulo by float zero
Michael Jerris [Fri, 16 May 2014 14:54:54 +0000 (14:54 +0000)] 
CID:1214189 Division or modulo by float zero

11 years agodon't leak on xferext ivr event, CID:1214232 Resource leak
Michael Jerris [Fri, 16 May 2014 14:50:18 +0000 (14:50 +0000)] 
don't leak on xferext ivr event, CID:1214232 Resource leak

11 years agoCID:1214237 String not null terminated
Michael Jerris [Fri, 16 May 2014 14:41:42 +0000 (14:41 +0000)] 
CID:1214237 String not null terminated

11 years agoCID:1214130 Buffer not null terminated
Michael Jerris [Fri, 16 May 2014 14:37:43 +0000 (14:37 +0000)] 
CID:1214130 Buffer not null terminated

11 years agoCID:1024250 Dereference before null check. CID:1024251 Dereference before null check...
Michael Jerris [Thu, 15 May 2014 18:34:25 +0000 (18:34 +0000)] 
CID:1024250 Dereference before null check. CID:1024251 Dereference before null check, we don't need tto check these, as they are already used above in all cases

11 years agoCID:1087387 Unused pointer value
Michael Jerris [Thu, 15 May 2014 18:30:03 +0000 (18:30 +0000)] 
CID:1087387 Unused pointer value

11 years agoCID:1023936 Unused pointer value
Michael Jerris [Thu, 15 May 2014 17:00:32 +0000 (17:00 +0000)] 
CID:1023936 Unused pointer value

11 years ago.gitignore
Michael Jerris [Thu, 15 May 2014 16:32:06 +0000 (16:32 +0000)] 
.gitignore

11 years agoCID 1214210: mod_ssml - resource leak when parsing SSML
Chris Rienzo [Thu, 15 May 2014 15:31:04 +0000 (11:31 -0400)] 
CID 1214210: mod_ssml - resource leak when parsing SSML

11 years agoCID 1214263: mod_ssml - remove unused pointer value
Chris Rienzo [Thu, 15 May 2014 15:12:06 +0000 (11:12 -0400)] 
CID 1214263: mod_ssml - remove unused pointer value

11 years agoCID:1214141 Buffer not null terminated
Michael Jerris [Thu, 15 May 2014 14:26:29 +0000 (14:26 +0000)] 
CID:1214141 Buffer not null terminated

11 years agoCID:1214212 Resource leak in voicemail_list
Michael Jerris [Thu, 15 May 2014 14:11:39 +0000 (14:11 +0000)] 
CID:1214212 Resource leak in voicemail_list

11 years agoCID:1214196 Dereference null return value, if we hit this condition, something very...
Michael Jerris [Thu, 15 May 2014 14:09:38 +0000 (14:09 +0000)] 
CID:1214196 Dereference null return value, if we hit this condition, something very bad has happened, we should never have the private not set if we get to the hangup hook, log error instead of crashing

11 years agoCID:1214211 Resource leak
Michael Jerris [Thu, 15 May 2014 13:58:08 +0000 (13:58 +0000)] 
CID:1214211 Resource leak

11 years agoCID:1214200 Dereference null return value
Michael Jerris [Thu, 15 May 2014 13:47:24 +0000 (13:47 +0000)] 
CID:1214200 Dereference null return value

11 years agoCID:1214192 Dereference after null check, don't crash when no file name passed on...
Michael Jerris [Thu, 15 May 2014 13:37:26 +0000 (13:37 +0000)] 
CID:1214192 Dereference after null check, don't crash when no file name passed on file open

11 years agoCID:1214219 Resource leak
Michael Jerris [Thu, 15 May 2014 13:30:39 +0000 (13:30 +0000)] 
CID:1214219 Resource leak

11 years agoCID:1214209 Resource leak, don't leak event populated by switch_channel_get_variables
Michael Jerris [Thu, 15 May 2014 13:22:51 +0000 (13:22 +0000)] 
CID:1214209 Resource leak, don't leak event populated by switch_channel_get_variables

11 years agoCID:1214163 Unchecked return value, check return value of switch_ivr_play_file and...
Michael Jerris [Thu, 15 May 2014 13:18:58 +0000 (13:18 +0000)] 
CID:1214163 Unchecked return value, check return value of switch_ivr_play_file and bail out if it fails

11 years agoCID:1214158 Buffer not null terminated
Michael Jerris [Thu, 15 May 2014 12:42:49 +0000 (12:42 +0000)] 
CID:1214158 Buffer not null terminated

11 years agoCID:1214220 Resource leak
Michael Jerris [Thu, 15 May 2014 12:41:09 +0000 (12:41 +0000)] 
CID:1214220 Resource leak

11 years agoCID:1214140 Buffer not null terminated, make sure hostname is always null terminated
Michael Jerris [Thu, 15 May 2014 12:38:41 +0000 (12:38 +0000)] 
CID:1214140 Buffer not null terminated, make sure hostname is always null terminated

11 years agoCID:1214256 Unused pointer value
Michael Jerris [Thu, 15 May 2014 12:36:36 +0000 (12:36 +0000)] 
CID:1214256 Unused pointer value

11 years agoCID:1214255 Unused pointer value
Michael Jerris [Thu, 15 May 2014 12:34:50 +0000 (12:34 +0000)] 
CID:1214255 Unused pointer value

11 years agoCID:1214218 fix memory leak in conference_event_channel_handler
Michael Jerris [Thu, 15 May 2014 12:33:15 +0000 (12:33 +0000)] 
CID:1214218 fix memory leak in conference_event_channel_handler

11 years agoCID:1214231 don't leak when using invalid syntax
Michael Jerris [Thu, 15 May 2014 12:27:39 +0000 (12:27 +0000)] 
CID:1214231 don't leak when using invalid syntax