Travis Cross
6105e9783c
mod_fifo: Refactor load_config()
...
Reduce number of local variables where possible; consolidate lines.
2014-05-28 01:32:02 +00:00
Travis Cross
353c3b19fa
mod_fifo: Document fifo_node::outbound_name
2014-05-28 01:32:01 +00:00
Travis Cross
17070e9dac
mod_fifo: Improve strategy thread function names
2014-05-28 01:32:01 +00:00
Travis Cross
1f7589d6fa
mod_fifo: Refactor
2014-05-28 01:32:01 +00:00
Travis Cross
0526e00457
mod_fifo: Replace global var with local static
...
This marker value is only used in one place.
2014-05-28 01:32:01 +00:00
Travis Cross
2068b284cc
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.
2014-05-28 01:32:00 +00:00
Travis Cross
c6e90e0111
mod_fifo: Refactor out config file reading
2014-05-28 01:32:00 +00:00
Travis Cross
a3a62d2481
mod_fifo: Convert macro to fn and improve name
2014-05-28 01:32:00 +00:00
Travis Cross
06d94d2c17
mod_fifo: Move straggling vars to global struct
2014-05-28 01:31:59 +00:00
Travis Cross
31ae5b4655
mod_fifo: Cleanup whitespace
2014-05-28 01:31:59 +00:00
Travis Cross
f80e869fe0
mod_fifo: Cleanup whitespace in load_config()
2014-05-28 01:31:59 +00:00
Travis Cross
a15058406e
mod_fifo: Cleanup config parsing
2014-05-28 01:31:58 +00:00
Travis Cross
20f35e4591
mod_fifo: Improve function names
2014-05-28 01:31:58 +00:00
Travis Cross
84d6b2e351
mod_fifo: Consolidate code
2014-05-28 01:31:58 +00:00
Travis Cross
8ccd13bd9a
mod_fifo: Document load_config()
2014-05-28 01:31:58 +00:00
Travis Cross
83f69a41e8
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.
2014-05-28 01:31:57 +00:00
Brian West
795d974955
Add CentOS 5.x build Makefile for reference
2014-05-27 11:20:29 -05:00
Anthony Minessale
7c2b4381cf
FS-6446 --resolve
2014-05-27 20:40:00 +05:00
Chris Rienzo
48483452d2
mod_rayo: remove code that is no longer needed
2014-05-27 10:22:18 -04:00
Chris Rienzo
ed2351e048
mod_rayo: http_put of received fax was broken
2014-05-27 09:15:22 -04:00
Travis Cross
333aff8a05
Document that switch_core_alloc returns zeroed memory
2014-05-27 11:24:09 +00:00
Travis Cross
1fe6fb6d46
Use CPPFLAGS for mod_java includes
2014-05-24 09:14:21 +00:00
Travis Cross
e8ba8ed5a5
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.
2014-05-24 08:57:03 +00:00
Travis Cross
92843d0b75
Add mod_graylog2 to debian packaging
2014-05-24 08:56:20 +00:00
Travis Cross
054c645818
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>
2014-05-24 08:42:54 +00:00
Travis Cross
0274991732
Revert commit that breaks build on gcc-4.8
...
Revert "FS-4296 --resolve initial calling/called nums in 'show channels'"
This reverts commit b08138d058
.
2014-05-24 07:18:48 +00:00
Chris Rienzo
b5816d3477
mod_graylog2: native GELF logging
2014-05-23 16:53:42 -04:00
Ken Rice
b08138d058
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>
2014-05-23 15:03:47 -05:00
Anthony Minessale
042b162bc4
back off locking contention on sql queues when they are nearly full to allow the system to recover from an attack
2014-05-23 23:13:38 +05:00
Anthony Minessale
af4380d938
fix linker on mod_cepstral to work in newer environments
2014-05-23 21:11:25 +05:00
Brian West
757b744010
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
2014-05-23 08:11:03 -05:00
Marc Olivier Chouinard
ed6dd184f7
FS-6482 Commit 7e15c938e2
broke MWI for device having no transport parameters (plain UDP connection)
2014-05-23 08:42:16 -04:00
Anthony Minessale
dc671d9d82
fix name of fs_ivrd
2014-05-22 16:41:21 -04:00
Michael Jerris
780797f226
basic mutex model for coverity
2014-05-22 18:40:30 +00:00
Travis Cross
ab3e95569c
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.
2014-05-22 18:30:39 +00:00
Travis Cross
15766d349d
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.
2014-05-22 18:24:32 +00:00
Travis Cross
9d99c34682
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.
2014-05-22 17:56:48 +00:00
Michael Jerris
b5a223cd1b
CID:1215201 Explicit null dereferenced
2014-05-22 15:39:59 +00:00
Michael Jerris
c768e4b6e6
CID:1215198 don't set variables that are not used, and clean up the bail out usage condition to be more sane
2014-05-22 14:52:56 +00:00
Travis Cross
dcf633b1dd
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 1ca1d63795
.
2014-05-22 01:03:24 +00:00
William King
11f373d4f2
CID: 1215198 Fix an assignment so that the variable only handles malloc'd data.
2014-05-21 16:28:03 -07:00
Travis Cross
d0ce18885c
Cleanup bad whitespace
...
Introduced in commit e6ac87f5f1
.
2014-05-21 17:25:32 +00:00
Jeff Lenk
e6ac87f5f1
fixes for VS2010 code analysis - hope these are OK else-ware
2014-05-20 22:54:32 -05:00
Anthony Minessale
bedf8327b6
FS-6418 FS-6427 add profile param NDLB-proxy-never-patch-reinvites to solve both issues
2014-05-21 03:31:50 +05:00
Jeff Lenk
f8527f55f9
FS-6505 VS2010 Express
2014-05-20 16:20:29 -06:00
Jeff Lenk
c7f2a19149
FS-6505 download custom ldns lib for windows for now
2014-05-20 17:07:52 -05:00
root
1ca1d63795
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
2014-05-20 16:20:36 -05:00
Brian West
b3555b91e9
FS-6539 fix typo
2014-05-20 16:20:36 -05:00
Anthony Minessale
f0aa0fc1d8
seek chain cert from wss.pem just cat together the cert, the key and the chain cert into wss.pem
2014-05-20 23:18:38 +05:00
Michael Jerris
77bddb9f9c
FS-6538: silence gcc 4.9 throwing incorrect warning
2014-05-20 15:46:46 +00:00