385 Commits

Author SHA1 Message Date
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
Michael Jerris
452d7a3793 CID:1214163 Unchecked return value, check return value of switch_ivr_play_file and bail out if it fails 2014-05-15 13:18:58 +00:00
Michael Jerris
7c72e94a67 CID:1214158 Buffer not null terminated 2014-05-15 12:42:49 +00:00
William King
711e49c46a Don't leak these 4 hash tables when mod_fifo is reloaded 2014-04-08 11:18:23 -07:00
Anthony Minessale
7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Anthony Minessale
5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
Anthony Minessale
804ef7709d change from sqlite hash to newly added one 2014-03-09 00:37:17 +05:00
Michael Jerris
bcd9f49fbe move applications to use automake 2014-03-07 18:36:12 -05:00
Ken Rice
6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Peter Olsson
609209d031 Tweaks to silence some compiler warnings on Windows 2014-02-01 12:04:26 +01:00
Anthony Minessale
a44aea1106 FS-5676 --resolve 2014-01-24 00:36:52 +05:00
Peter Olsson
084e245085 Lots of trivial tweaks to minimize compiler warnings, especially on 64-bit platform: Added missing type casts, changed types, added missing NULL checks. 2014-01-22 22:30:23 +01:00
Seven Du
7d4c1aff81 fix mod_fifo build 2014-01-11 10:05:48 +08:00
Anthony Minessale
de23f29550 fifo_export 2014-01-11 02:21:29 +05:00
Anthony Minessale
12930c81bf fifo_export 2014-01-11 01:28:15 +05:00
Anthony Minessale
c46296f319 expand variables in originate strings 2014-01-10 03:01:07 +05:00
Anthony Minessale
ed69ca80de fix compile 2013-11-23 19:23:11 -06:00
Eliot Gable
c7f00c3e21 Add queue talk time and hold time stats to consumer and caller stop events. 2013-11-22 20:13:49 +00:00
Anthony Minessale
b4a3455acc fifo tweaks for tracking user count 2013-10-29 11:36:31 -05:00
Anthony Minessale
e809b41dde add in-memory use_count for fifo-events 2013-10-22 14:47:00 -05:00
Michael Jerris
80f1cf36f3 FS-5604: prefix outbound_name with = to completely replace the name instead of (name) cidname 2013-10-02 17:30:27 -04:00
William King
b91d6e430a How did the use after free not blowup in the last 3 years since it was modified? 2013-09-15 16:19:19 -07:00
Anthony Minessale
1d8820dc23 FS-5777 --resolve 2013-09-12 01:35:49 +05:00
Anthony Minessale
e3ac4010e6 FS-5605 --resolve 2013-09-04 21:00:26 +05:00
Anthony Minessale
7d6d688e53 FS-5731 --resolve 2013-08-26 20:25:14 +05:00
Anthony Minessale
2c4287ed54 FS-5633 --resolve 2013-07-24 11:38:01 -05:00
Anthony Minessale
fab8e29dd6 FS-5607 --resolve 2013-07-19 13:48:34 -05:00
Brian West
35fca3d290 fix logic from race fix 2013-07-08 13:19:22 -05:00
Brian West
9ed53db590 fix race 2013-07-05 19:50:57 -05:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00