Commit Graph

361 Commits (3dcce46f698d630ecba1bc29c74a43e0d4f59ac5)

Author SHA1 Message Date
Jason Parker a1a37dddfe Add ability to add custom queue log via manager interface.
19 years ago
Joshua Colp 64d5316a53 Add 'loose' option to joinempty and leavewhenempty which is almost exactly like 'strict' except it does not count paused queue members as unavailable. (issue #8263 reported by gnarf)
19 years ago
Kevin P. Fleming 9398ac87a2 Merged revisions 47433 via svnmerge from
19 years ago
Kevin P. Fleming fed9126600 Merged revisions 47432 via svnmerge from
19 years ago
Luigi Rizzo 6b459ebd0c %ld and time_t don't match, so cast the argument to long
19 years ago
Tilghman Lesher 10875731ec Merged revisions 47051 via svnmerge from
19 years ago
BJ Weschke eea3a260da Let's make sure we hold the mutex lock before we go looking at values in the queue structure that could potentially be changing while we're running.
19 years ago
BJ Weschke 95a4fc7af2 * Added option to run macro when a queue member is connected to a caller,
19 years ago
Russell Bryant 414f448b09 Merged revisions 46249 via svnmerge from
19 years ago
Kevin P. Fleming 749029de38 Merged revisions 46200 via svnmerge from
19 years ago
Kevin P. Fleming 3c876af5cf Merged revisions 44378 via svnmerge from
19 years ago
Kevin P. Fleming e486316dc6 Merged revisions 44298 via svnmerge from
19 years ago
Joshua Colp 31800f61c3 Strat becomes Strategy based on feedback from two nameless fellows
19 years ago
Joshua Colp e550109383 Add 'Strat' manager field to QueueParams event. (issue #7704 reported by renemendoza)
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Joshua Colp 8ff3dd273a Expand setinterfacevar option to also set a variable, MEMBERNAME, which contains the member's name. (issue #8046 reported by jmls)
19 years ago
Joshua Colp 3e4a081e1c Make callerid fields in Manager events more consistent. CallerIDNum for number and CallerIDName for name. (issue #7976 reported by suhler)
19 years ago
Joshua Colp cc1945ce1b Add option 'keepstats' which will keep queue statistics during a reload. (issue #7908 reported by jmls)
19 years ago
Jason Parker e2a52816fc Merged revisions 43944 via svnmerge from
19 years ago
Kevin P. Fleming 5ae60ec272 Merged revisions 43919 via svnmerge from
19 years ago
BJ Weschke 9baf50ee9a Merged revisions 43899 via svnmerge from
19 years ago
BJ Weschke 3b3702f9bc Merged revisions 43873 via svnmerge from
19 years ago
BJ Weschke 4a50548ab2 Merged revisions 43864 via svnmerge from
19 years ago
Jason Parker a046b75f8a Add QueueSummary manager action.
19 years ago
Tilghman Lesher 2b55678e1f Remove deprecated CLI apps from the core
19 years ago
Tilghman Lesher fc88db013e Remove deprecated apps and funcs
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Jason Parker 61e4465f49 Fix a segfault that was reported by jcmoore in #asterisk-bugs on IRC.
19 years ago
Jason Parker 50c1981780 We need to persist the member name also
19 years ago
Jason Parker a7119b522d Add a "member name" to queue members.
19 years ago
Matt O'Gorman d0a1a0033d similar patch for verbose vs debug with minor changes
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
BJ Weschke c5c1d4579f This was added to app_dial a while back, and now it's in app_queue as well. Provide an option to prevent members of the queue from forwarding calls from the queue to somewhere else.
19 years ago
BJ Weschke 06b98dcc77 Merged revisions 41882 via svnmerge from
19 years ago
BJ Weschke 91f4aa93bb Don't keep trying the same member in certain strategies when members of the queue are unavailable (#7278 - diLLec reported and patched)
19 years ago
BJ Weschke b6ccca7566 Merged revisions 41827 via svnmerge from
19 years ago
BJ Weschke e736c8a27b With the somewhat recent addition (from one of the Astridevcon Europe sessions) of more detailed device states, we need to change strategy in app_queue in how we determine whether a queue member is "in use" or not. Basically, instead of specifically looking for that device state as we did previously, now we're going to observe any other device state aside from the two that we know for sure are "not in use" as "in use". This will cause some other states to fall through that we know will never be available (eg - "INVALID","UNAVAILABLE",etc) but there's other code already within to handle those conditions. (#7433 - tgrman reporting)
19 years ago
Matt O'Gorman 05a695af72 everything that loads a config that needs a config file to run
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
BJ Weschke 2ec3a672e9 Increase the size of the variable space for writing/reading persistent queue member data to allow for larger queues of members. (Matthew Roth #7703)
19 years ago
Russell Bryant e068c5fcf9 Merged revisions 38972 via svnmerge from
19 years ago
Tilghman Lesher cc3029e871 Typo found on the -dev list
19 years ago
Kevin P. Fleming 6d0742fc16 merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
19 years ago
Russell Bryant 88627c754a add a QueueLog application that allows for custom entries in the queue_log
19 years ago
Tilghman Lesher d8ccfb6711 Whitespace fix
19 years ago
Kevin P. Fleming dea45f3aa3 only compare the queue entry's max penalty to the member's penalty when the queue entry actually has a non-zero penalty
19 years ago
Tilghman Lesher 2127a0b7e5 Change superfluous messages to DEBUG and remove dead code
19 years ago
BJ Weschke 0d0fadc781 Merged revisions 35669 via svnmerge from
19 years ago
Tilghman Lesher 89f6ffe1e5 Bug 6589 - option to display channel variables in queue events
19 years ago
Joshua Colp 0224dee876 Actually allow realtime queue members to be added (issue #7408 reported by tgrman)
19 years ago
Kevin P. Fleming b5a13cbef8 Merged revisions 34274 via svnmerge from
19 years ago
Kevin P. Fleming aba00b66fc use the proper named constants for checking device state, and don't treat UNKNOWN as not available in autofill mode
19 years ago
Kevin P. Fleming 7518a91032 various coding style cleanup and minor fixes
19 years ago
Kevin P. Fleming 11dac47877 Merged revisions 34159-34160 via svnmerge from
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Kevin P. Fleming 998eacf17f Merged revisions 31921 via svnmerge from
19 years ago
Kevin P. Fleming 7e84433270 officially deprecate the 'roundrobin' queue strategy in favor of 'rrmemory'
19 years ago
BJ Weschke 295c340164 A new way to try and deal with deadlocks that occur in app_queue at present. Using this approach, we only manipulate the main queue mutexes when we get a dev state change on a device that is actually a member of a queue. Further optimizations are still possible (eg - store and manage pointers to the status integer of the member record that this interface/device has a one-to-one relationship with and then go directly to those pointers to make status modifications rather than the recursive looping that goes on now) BUT first things first. :)
19 years ago
BJ Weschke 59e1522025 Merged revisions 30424 via svnmerge from
19 years ago
BJ Weschke 6cfaaf9ac0 Properly initialize destination variables before we send them into pbx_substitute_variables_helper(..). Ya! Testing! Take 2.
19 years ago
BJ Weschke 36cf242f31 Making sure a char ptr is initialized before we strchr on it is a GOOD thing. Ya! Testing!
19 years ago
BJ Weschke 8d890cb626 Doxygen comment for Qwell
19 years ago
BJ Weschke 6848d55d85 Make sure we catch all the instances where a member didn't answer the call sent to them rather than just on a timeout after a dial attempt and some minor code cleanup/reuse.
19 years ago
Kevin P. Fleming 6e307c1d81 Merged revisions 29971 via svnmerge from
19 years ago
BJ Weschke d1fc8d4687 Add UniqueID to the leave manager event.
19 years ago
Kevin P. Fleming db55898c0d Merged revisions 28968 via svnmerge from
19 years ago
Joshua Colp 154774e033 Merged revisions 28627 via svnmerge from
19 years ago
Joshua Colp 4edfd20a7a Remove needless check for autofill (issue #7180 reported by Marquis)
19 years ago
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
19 years ago
Russell Bryant 4120afc28e put all the QUEUE_STRATEGY values in an enum, and use them in all of the places
19 years ago
BJ Weschke 3780d4e7dd strategy "ringall" is really int value of 0, not 1.
19 years ago
BJ Weschke c0186f6b4d Make QueueStatusComplete manager event thread safe by wrapping it inside the already existing Queue Lock clause. #7013 (bziherl reporting)
19 years ago
BJ Weschke a7f330a2d2 Merged revisions 25520 via svnmerge from
19 years ago
BJ Weschke 415dff6f2a Merged revisions 25518 via svnmerge from
19 years ago
BJ Weschke 714aab87bb Fix situation for when there is no monitor_option defined, but there is a monitor_exec defined.
19 years ago
BJ Weschke d83bd4d136 Integrate the MixMonitor functionality (introduced in 1.2) as an option for recording queue member conversations with callers. #7084
19 years ago
BJ Weschke 85e0c889e4 Allow for the execution of an AGI to the caller's channel right before they get bridged with the queue member that is going to take their call. Add the option to set a MEMBERINTERFACE variable on the caller's channel that will contain the interface of the queue member that is going to/did take the call. #6843
19 years ago
Tilghman Lesher 7734d20eb5 Merged revisions 24706 via svnmerge from
19 years ago
BJ Weschke 80c34d2a91 Make sure that callers kicked from queue because of joinempty and leavewhenempty have an event logged with regard to the reason for their departure. #6559 (Corydon76)
19 years ago
BJ Weschke 944c8cc4a6 Log hold time and talktime in queue_log when blind transfers are made by queue members. #7038 (alphaqueue) w/documentation mods added
19 years ago
BJ Weschke ebb7eee9ce Implement and document RINGNOANSWER queue logging functionality to "tattle" on bad queue members.
19 years ago
BJ Weschke 7b3f3db65d Fix autofill behavior in app_queue and document it's functionality in queues.conf.sample and UPGRADE.txt
19 years ago
BJ Weschke 857f2e8d41 Record bridge channel unique id in "CONNECT" queue_log entry and the corresponding manager event. #6522 (nording) w/ documentation additions where appropriate
19 years ago
Luigi Rizzo 2904c6956d remove unused variable
19 years ago
Matt O'Gorman 7212fa80ad adds new function QUEUE_WAITING_COUNT and a few
19 years ago
Luigi Rizzo 1a6572c4e6 more NULL "" equivalence,
19 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
19 years ago
Kevin P. Fleming cf15740eaf remove support for BYEXTENSION (which nobody even knows about anymore)
19 years ago
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
19 years ago
Tilghman Lesher 756c7cbb12 Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
19 years ago
Olle Johansson 982a66a93a Issue #6882
19 years ago
Luigi Rizzo c0f2f5b5b8 Normalize some cli completion code.
19 years ago
Mark Spencer 9164eac21a Add micro-http server and abstract manager interface, make snmp not die
19 years ago
Russell Bryant f28abd4020 Merged revisions 12925 via svnmerge from
19 years ago
Tilghman Lesher 30a806010a Bug 6459 - tell manager when queue is abandoned
19 years ago
Russell Bryant a0d438fb6c remove the uses of the deprecated STANDARD_LOCAL_USER
20 years ago
Kevin P. Fleming f0495e8944 add option to avoid calling members whose channels are 'in use' (issue #6315, plus documentation)
20 years ago
Kevin P. Fleming c1e19165b4 add channel's uniqueid to manager 'join' event (issue #6458)
20 years ago
Kevin P. Fleming 2f46cb9198 don't use localuser structure for outbound calls (issue #6216)
20 years ago
Kevin P. Fleming 918cab0e08 Merged revisions 9961,9964,9990,10018 via svnmerge from
20 years ago