Travis Cross
e2596b3f30
mod_fifo: Document the ringall strategy
2014-05-28 01:32:09 +00:00
Travis Cross
1b5a1c1e1d
mod_fifo: Document find_consumers()
2014-05-28 01:32:09 +00:00
Travis Cross
0c25c3deb9
mod_fifo: Document node_thread_run()
2014-05-28 01:32:09 +00:00
Travis Cross
80ccaf3450
mod_fifo: Remove duplicate check in ringall strategy
...
We already checked the number of usable rows, and nothing has changed.
2014-05-28 01:32:08 +00:00
Travis Cross
343aee2dd8
mod_fifo: Comment manual call tracking session handler
2014-05-28 01:32:08 +00:00
Travis Cross
48acd9fe66
mod_fifo: Note source of unexplained constant
2014-05-28 01:32:08 +00:00
Travis Cross
a24b0b739f
mod_fifo: Avoid getting time twice
...
We were simply discarding unused the first time we retrieved here.
2014-05-28 01:32:07 +00:00
Travis Cross
64144d73a3
mod_fifo: Refactor to avoid a memory allocation
2014-05-28 01:32:07 +00:00
Travis Cross
011882c8dd
mod_fifo: Cleanup line spacing
2014-05-28 01:32:07 +00:00
Travis Cross
a5f982fd1c
mod_fifo: Replace duplicate code with node_caller_count()
2014-05-28 01:32:06 +00:00
Travis Cross
597a5c1208
mod_fifo: Remove empty declaration
2014-05-28 01:32:06 +00:00
Travis Cross
edecd151a5
mod_fifo: Document the read_frame_callbacks
2014-05-28 01:32:06 +00:00
Travis Cross
42ebfbfc59
mod_fifo: Document the fifo_queue_t structure
2014-05-28 01:32:06 +00:00
Travis Cross
5f4ed9c123
mod_fifo: Document fifo_chime_data::list
2014-05-28 01:32:05 +00:00
Travis Cross
2c7c15261d
mod_fifo: Document caller DTMF handler
2014-05-28 01:32:05 +00:00
Travis Cross
3e6199eace
mod_fifo: Remove reimplementation of strchr()
2014-05-28 01:32:05 +00:00
Travis Cross
27b3ddcc9f
mod_fifo: Document the consumer DTMF callback
2014-05-28 01:32:04 +00:00
Travis Cross
7920630c8f
mod_fifo: Refactor DTMF exit key matching
2014-05-28 01:32:04 +00:00
Travis Cross
c34ad2c0ec
mod_fifo: Avoid getting a var when we won't use it
2014-05-28 01:32:04 +00:00
Travis Cross
077579b131
mod_fifo: Document fifo_queue_popfly()
2014-05-28 01:32:03 +00:00
Travis Cross
b914c2374d
mod_fifo: Document fifo_queue_pop_nameval()
2014-05-28 01:32:03 +00:00
Travis Cross
1eaf4b50ca
mod_fifo: Document remove parameter of fifo_queue_pop()
2014-05-28 01:32:03 +00:00
Travis Cross
e241477860
mod_fifo: Tighten up some whitespace
2014-05-28 01:32:03 +00:00
Travis Cross
e677da5870
mod_fifo: Refactor in create_node()
2014-05-28 01:32:02 +00:00
Travis Cross
628b6c19ab
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.
2014-05-28 01:32:02 +00:00
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