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
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
Brian West
750c06c1b8
fix reload of outbound_name change
2013-06-18 15:49:12 -05:00
William King
4219049789
New compiler warning(error). Unused assignment before the pointer is reassigned.
2013-06-12 21:39:27 -07:00
Anthony Minessale
5835e0d541
FS-5488 --resolve
2013-05-31 14:46:15 -05:00
Anthony Minessale
5eabe2bc4e
FS-5488 --resolve
2013-05-31 13:14:37 -05:00
Anthony Minessale
ff7cb252fa
FS-5358 --resolve use allow-transcoding=true param in global settings or fifo_allow_transcoding=true channel var on per caller basis
2013-04-30 09:39:35 -05:00
Anthony Minessale
2d96d7c165
fix minor cid issue in mod_fifo
2013-04-22 16:31:05 -05:00
Anthony Minessale
18c429f66f
refactor and cleanup more cid stuff
2013-04-05 15:29:57 -05:00
Anthony Minessale
83fc8ddf3a
endless cid fun
2013-04-05 08:29:16 -05:00
Anthony Minessale
805514192c
fix some cid stuff in fifo
2013-04-02 17:46:46 -05:00
Anthony Minessale
2207b87769
do some more caller-id cleanup
2013-04-01 23:03:14 -05:00
Anthony Minessale
4b3aa396fb
fix some regessions and sync namespace of some vars
2013-03-31 21:27:25 -05:00
Anthony Minessale
aca9257f93
tweaks for caller id in certian uuid_bridge situations
2013-03-28 22:17:28 -05:00
Anthony Minessale
c510a81177
do not pause callers when they come out of a bridge
2013-03-27 15:18:54 -05:00
Anthony Minessale
f7408f8829
FS-4903 --resolve some of these are better of reverted but not all, this should work
2013-03-27 12:31:40 -05:00
Anthony Minessale
0026f9e496
FS-5163 --resolve
2013-03-11 09:14:11 -05:00
Michael Jerris
42de032273
change duplicate FIFO-Action from bridge-consumer-stop to channel-consumer-stop (same for start) for the set of events that were not for the bridge. Also, when trying to pull a specific call out of queue, end pending outbound calls to the agent first to avoid blocking
2013-02-25 17:03:37 -05:00
Michael Jerris
254f7ee44b
FS-4903: --resolve add/remove records from fifo_outbound not queued so the count query directly follwing gets the correct result
2013-01-21 12:44:12 -05:00
Michael Jerris
f0726482cd
FS-4903: add back running fifo_callers queries not queued
2013-01-20 21:42:03 -05:00
Michael Jerris
8ae4114d54
always use queue so we keep the incs and decs in the right order
2013-01-16 17:37:37 -05:00
Anthony Minessale
b3d12d49b3
FS-5013 --resolve better to submit here and I can tell you when you can commit
2013-01-13 19:39:01 -06:00
Michael Jerris
08fdff4511
don't block on db for fifo track_calls
2012-12-11 16:35:53 -05:00
Michael Jerris
c4cf1ba222
don't block on db for fifo_callers del
2012-12-10 16:39:02 -05:00
Anthony Minessale
8790476f0f
FS-4903 --resolve
2012-12-03 08:49:50 -06:00
Anthony Minessale
8dd35c1d8c
doh
2012-11-30 15:01:16 -06:00
Anthony Minessale
f0c47ede91
fix fifo queue_manager placement
2012-11-30 14:56:36 -06:00
Anthony Minessale
f1a89fb016
let mod_fifo use sql_queue_manager
2012-11-28 23:11:31 -06:00
Anthony Minessale
e1fe289672
refactor db stuff to use single string dsn to avoid code duplication and introduce switch_sql_queue_manager api to create transactional sql queues to aggregate a bunch of sql stmts into transactions
2012-10-09 20:20:32 -05:00
Eliot Gable
5cb354dddc
Initial core-pgsql support based on native libpq; FS starts and stops without errors using core-pgsql.
2012-10-08 20:33:57 +00:00
Anthony Minessale
5bbc372c56
fix crash in mod_fifo when deleting a node when its in use
2012-09-14 14:25:20 -05:00
Anthony Minessale
8ec031e7c9
let callers delete themselves on reload
2012-09-05 11:12:06 -05:00
Ken Rice
c5554eb939
Copyright date update.
2012-04-18 11:52:02 -05:00
Anthony Minessale
e27a9c78c3
put caller back into the fifo if the agent hangs up before they are bridged
2012-04-17 16:12:14 -05:00
Anthony Minessale
759262c749
tweak to uuid field in fifo event
2012-04-10 08:55:56 -05:00
Anthony Minessale
78a43b4005
FS-3760 --resolve fix that works in all situations
2012-01-19 15:13:48 -06:00
Anthony Minessale
f9e7e4d320
FS-3760 revert
2012-01-19 15:13:15 -06:00
Marc Olivier Chouinard
cc08b939c4
FS-3760 --resolve
2011-12-13 18:33:09 -05:00
Anthony Minessale
5227d5033a
FS-3746 --resolve
2011-12-08 15:46:02 -06:00
Anthony Minessale
38ff1347bb
FS-3745
2011-12-07 11:49:44 -06:00
Anthony Minessale
dd5c0a7742
re-arrange stmts
2011-11-10 18:06:33 -06:00
Anthony Minessale
84d029e4b9
rearrange order of sql stmts
2011-11-02 17:20:20 -05:00
Anthony Minessale
7c8881a550
fix regression
2011-10-25 14:04:35 -05:00
Anthony Minessale
05c5fa16a6
fix regression
2011-10-25 14:01:36 -05:00
Anthony Minessale
77fc08d7a9
fix race deleting queues at a bad time
2011-10-25 11:54:01 -05:00
Anthony Minessale
caa360b6d2
presence tweaks for conference/fifo/parking
2011-10-21 19:52:42 -05:00
Anthony Minessale
9daa42c1b5
add presence to mod_valet_parking subscribe to the lot name for general stats or individual slots to monitor with park+ prefix *note* this used to be used in mod_fifo which now will use queue+ going forward
2011-10-18 11:53:49 -05:00
Anthony Minessale
4d6ee827e0
add _continue_ value for fifo orbit exten that just means exit back to the next dp instruction
2011-09-29 09:04:22 -05:00
Anthony Minessale
71977499ca
remove redundant data from output of fifo count
2011-09-29 08:55:27 -05:00
Anthony Minessale
dfbb22fe91
alternate fix to f479462026
2011-09-16 14:16:31 -05:00
Anthony Minessale
26039c57c2
FS-3548 --resolve
2011-09-08 10:44:44 -05:00
Anthony Minessale
5545fef36d
use enterprise originate when fifo dial string contains a user channel
2011-08-30 11:04:14 -05:00
Travis Cross
82af87f3ae
M-x whitespace-cleanup
2011-07-17 13:48:05 +00:00
Brian West
7fee1fd157
Fix fifo orbit timeout when not using a chime tested with and without chime
2011-06-30 16:24:09 -05:00
Anthony Minessale
8793c2ed37
fix memory issue in spandsp_tone_detect
2011-06-17 11:51:23 -05:00
Anthony Minessale
00b53a91ea
FS-3277 --resolve There are actually really only 2 places where it needs the real hostname, the hostname command and the header on the events. I changed everything to the switchname because there were some more sql stmts etc in the core.
2011-04-29 10:24:50 -05:00