]>
git.ipfire.org Git - thirdparty/freeswitch.git/log
Travis Cross [Tue, 27 May 2014 08:09:25 +0000 (08:09 +0000)]
mod_fifo: Add missing tab completions
Travis Cross [Tue, 27 May 2014 06:55:38 +0000 (06:55 +0000)]
mod_fifo: Cleanup documentation formatting
Travis Cross [Tue, 27 May 2014 04:15:44 +0000 (04:15 +0000)]
mod_fifo: Document effect of fifo strategy and importance
Travis Cross [Tue, 27 May 2014 03:33:55 +0000 (03:33 +0000)]
mod_fifo: Document the enterprise strategy
Travis Cross [Tue, 27 May 2014 03:32:54 +0000 (03:32 +0000)]
mod_fifo: Document the ringall strategy
Travis Cross [Tue, 27 May 2014 03:34:18 +0000 (03:34 +0000)]
mod_fifo: Document find_consumers()
Travis Cross [Mon, 26 May 2014 22:57:12 +0000 (22:57 +0000)]
mod_fifo: Document node_thread_run()
Travis Cross [Mon, 26 May 2014 21:19:56 +0000 (21:19 +0000)]
mod_fifo: Remove duplicate check in ringall strategy
We already checked the number of usable rows, and nothing has changed.
Travis Cross [Mon, 26 May 2014 20:46:59 +0000 (20:46 +0000)]
mod_fifo: Comment manual call tracking session handler
Travis Cross [Mon, 26 May 2014 20:30:39 +0000 (20:30 +0000)]
mod_fifo: Note source of unexplained constant
Travis Cross [Mon, 26 May 2014 19:58:26 +0000 (19:58 +0000)]
mod_fifo: Avoid getting time twice
We were simply discarding unused the first time we retrieved here.
Travis Cross [Mon, 26 May 2014 19:46:55 +0000 (19:46 +0000)]
mod_fifo: Refactor to avoid a memory allocation
Travis Cross [Mon, 26 May 2014 19:20:20 +0000 (19:20 +0000)]
mod_fifo: Cleanup line spacing
Travis Cross [Mon, 26 May 2014 18:43:23 +0000 (18:43 +0000)]
mod_fifo: Replace duplicate code with node_caller_count()
Travis Cross [Mon, 26 May 2014 18:34:50 +0000 (18:34 +0000)]
mod_fifo: Remove empty declaration
Travis Cross [Mon, 26 May 2014 18:21:45 +0000 (18:21 +0000)]
mod_fifo: Document the read_frame_callbacks
Travis Cross [Mon, 26 May 2014 18:00:02 +0000 (18:00 +0000)]
mod_fifo: Document the fifo_queue_t structure
Travis Cross [Mon, 26 May 2014 17:50:43 +0000 (17:50 +0000)]
mod_fifo: Document fifo_chime_data::list
Travis Cross [Mon, 26 May 2014 17:34:22 +0000 (17:34 +0000)]
mod_fifo: Document caller DTMF handler
Travis Cross [Mon, 26 May 2014 16:19:34 +0000 (16:19 +0000)]
mod_fifo: Remove reimplementation of strchr()
Travis Cross [Mon, 26 May 2014 16:02:17 +0000 (16:02 +0000)]
mod_fifo: Document the consumer DTMF callback
Travis Cross [Mon, 26 May 2014 15:20:38 +0000 (15:20 +0000)]
mod_fifo: Refactor DTMF exit key matching
Travis Cross [Mon, 26 May 2014 15:09:20 +0000 (15:09 +0000)]
mod_fifo: Avoid getting a var when we won't use it
Travis Cross [Mon, 26 May 2014 15:01:06 +0000 (15:01 +0000)]
mod_fifo: Document fifo_queue_popfly()
Travis Cross [Mon, 26 May 2014 14:52:04 +0000 (14:52 +0000)]
mod_fifo: Document fifo_queue_pop_nameval()
Travis Cross [Mon, 26 May 2014 14:42:20 +0000 (14:42 +0000)]
mod_fifo: Document remove parameter of fifo_queue_pop()
Travis Cross [Mon, 26 May 2014 14:42:06 +0000 (14:42 +0000)]
mod_fifo: Tighten up some whitespace
Travis Cross [Mon, 26 May 2014 05:33:02 +0000 (05:33 +0000)]
mod_fifo: Refactor in create_node()
Travis Cross [Mon, 26 May 2014 05:24:14 +0000 (05:24 +0000)]
mod_fifo: Remove dead code
We were making a copy of the fifo name and stripping any domain name,
but then not using the value.
Travis Cross [Mon, 26 May 2014 05:17:19 +0000 (05:17 +0000)]
mod_fifo: Refactor load_config()
Reduce number of local variables where possible; consolidate lines.
Travis Cross [Sun, 25 May 2014 16:46:44 +0000 (16:46 +0000)]
mod_fifo: Document fifo_node::outbound_name
Travis Cross [Sun, 25 May 2014 16:07:35 +0000 (16:07 +0000)]
mod_fifo: Improve strategy thread function names
Travis Cross [Sun, 25 May 2014 15:57:39 +0000 (15:57 +0000)]
mod_fifo: Refactor
Travis Cross [Sun, 25 May 2014 15:48:17 +0000 (15:48 +0000)]
mod_fifo: Replace global var with local static
This marker value is only used in one place.
Travis Cross [Sun, 25 May 2014 14:48:47 +0000 (14:48 +0000)]
mod_fifo: Fix memory leak of xml structure
If getting the DB handle failed during the load or reload of the
configuration, we would leak the XML structure we just allocated for
the configuration.
Travis Cross [Sun, 25 May 2014 14:46:19 +0000 (14:46 +0000)]
mod_fifo: Refactor out config file reading
Travis Cross [Sun, 25 May 2014 14:27:01 +0000 (14:27 +0000)]
mod_fifo: Convert macro to fn and improve name
Travis Cross [Sun, 25 May 2014 13:54:25 +0000 (13:54 +0000)]
mod_fifo: Move straggling vars to global struct
Travis Cross [Sat, 24 May 2014 23:47:31 +0000 (23:47 +0000)]
mod_fifo: Cleanup whitespace
Travis Cross [Sat, 24 May 2014 23:24:07 +0000 (23:24 +0000)]
mod_fifo: Cleanup whitespace in load_config()
Travis Cross [Sat, 24 May 2014 23:08:55 +0000 (23:08 +0000)]
mod_fifo: Cleanup config parsing
Travis Cross [Sat, 24 May 2014 23:04:36 +0000 (23:04 +0000)]
mod_fifo: Improve function names
Travis Cross [Sat, 24 May 2014 23:03:07 +0000 (23:03 +0000)]
mod_fifo: Consolidate code
Travis Cross [Mon, 26 May 2014 16:10:34 +0000 (16:10 +0000)]
mod_fifo: Document load_config()
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.
Brian West [Tue, 27 May 2014 16:20:29 +0000 (11:20 -0500)]
Add CentOS 5.x build Makefile for reference
Anthony Minessale [Tue, 27 May 2014 15:39:53 +0000 (20:39 +0500)]
FS-6446 --resolve
Chris Rienzo [Tue, 27 May 2014 14:21:56 +0000 (10:21 -0400)]
mod_rayo: remove code that is no longer needed
Chris Rienzo [Tue, 27 May 2014 13:15:22 +0000 (09:15 -0400)]
mod_rayo: http_put of received fax was broken
Travis Cross [Mon, 26 May 2014 19:08:27 +0000 (19:08 +0000)]
Document that switch_core_alloc returns zeroed memory
Travis Cross [Thu, 22 May 2014 18:08:14 +0000 (18:08 +0000)]
Use CPPFLAGS for mod_java includes
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.
Travis Cross [Sat, 24 May 2014 06:55:54 +0000 (06:55 +0000)]
Add mod_graylog2 to debian packaging
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>
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 .
Chris Rienzo [Fri, 23 May 2014 20:53:42 +0000 (16:53 -0400)]
mod_graylog2: native GELF logging
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>
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
Anthony Minessale [Fri, 23 May 2014 16:11:25 +0000 (21:11 +0500)]
fix linker on mod_cepstral to work in newer environments
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
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)
Anthony Minessale [Thu, 22 May 2014 20:41:21 +0000 (16:41 -0400)]
fix name of fs_ivrd
Michael Jerris [Thu, 22 May 2014 18:40:24 +0000 (18:40 +0000)]
basic mutex model for coverity
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.
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.
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.
Michael Jerris [Thu, 22 May 2014 15:39:59 +0000 (15:39 +0000)]
CID:
1215201 Explicit null dereferenced
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
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 .
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.
Travis Cross [Wed, 21 May 2014 17:25:32 +0000 (17:25 +0000)]
Cleanup bad whitespace
Introduced in commit
e6ac87f5f1d484e07801d4d03be3a8aaad2a36f1 .
Jeff Lenk [Wed, 21 May 2014 03:54:03 +0000 (22:54 -0500)]
fixes for VS2010 code analysis - hope these are OK else-ware
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
Jeff Lenk [Tue, 20 May 2014 22:20:29 +0000 (16:20 -0600)]
FS-6505 VS2010 Express
Jeff Lenk [Tue, 20 May 2014 22:07:52 +0000 (17:07 -0500)]
FS-6505 download custom ldns lib for windows for now
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
Brian West [Tue, 20 May 2014 21:19:27 +0000 (16:19 -0500)]
FS-6539 fix typo
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
Michael Jerris [Tue, 20 May 2014 15:46:46 +0000 (15:46 +0000)]
FS-6538: silence gcc 4.9 throwing incorrect warning
Anthony Minessale [Tue, 20 May 2014 15:29:17 +0000 (20:29 +0500)]
force sofia rebuild
Tamas Cseke [Tue, 20 May 2014 08:13:38 +0000 (10:13 +0200)]
Fix erlang deadlock
Release session R/W Lock
Anthony Minessale [Mon, 19 May 2014 23:42:23 +0000 (04:42 +0500)]
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)
Anthony Minessale [Mon, 19 May 2014 23:01:57 +0000 (04:01 +0500)]
compute timeout based on fake sample count not real life one
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
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
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
Steve Underwood [Sat, 17 May 2014 06:28:58 +0000 (14:28 +0800)]
Chinese say now say "one" before "ten" for numbers >99
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.
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.
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.
William King [Fri, 16 May 2014 22:36:25 +0000 (15:36 -0700)]
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.
Michael Jerris [Fri, 16 May 2014 21:08:48 +0000 (21:08 +0000)]
CID:
1214233 Pointer to local outside scope
Marc Olivier Chouinard [Fri, 16 May 2014 21:03:59 +0000 (17:03 -0400)]
CID:
1025868 Simplified a function arguments never called.
Michael Jerris [Fri, 16 May 2014 21:01:13 +0000 (21:01 +0000)]
CID:
1087632 Resource leak
Michael Jerris [Fri, 16 May 2014 20:46:00 +0000 (20:46 +0000)]
CID:
1214216 Resource leak
Michael Jerris [Fri, 16 May 2014 20:07:58 +0000 (20:07 +0000)]
CID:
1024418 Unintentional integer overflow
Michael Jerris [Fri, 16 May 2014 19:53:23 +0000 (19:53 +0000)]
CID:
1023970 Unused pointer value
Michael Jerris [Fri, 16 May 2014 19:27:25 +0000 (19:27 +0000)]
CID:
1024582 Logically dead code