Commit Graph

214 Commits (6502bf97af37a0d37d046b4a21f4088f13c5fc26)

Author SHA1 Message Date
Kevin P. Fleming 9c405de30d fix a logic error in my previous fix to the queue reload code
19 years ago
Kevin P. Fleming 7620e04612 fix buggy (and overly complex) loop used during reload of app_queue for static member list updating
19 years ago
BJ Weschke fb599cc53e app_queue is comparing the device names incorrectly while checking their statuses. It's internal list of interfaces includes the dial string, while the argument passed to this function does not have the dial string (/n for a local channel). This causes it to ignore the device state changes because it thinks it belongs to none of its members. (#8040 reported and patch by tim_ringenbach)
19 years ago
BJ Weschke f6ddf4e7d4 Fix race condion crash with get_member_status (#7864 - tim_ringenbach reported and patched)
19 years ago
Matt O'Gorman 942768c022 fixes some verbose vs debug issues. patch from bug 2617
19 years ago
BJ Weschke a05a361fc3 Make sure the forwarded channel inherits variables appropriately when we receive a call forward in the queue. (#7867 - raarts reported and patched)
19 years ago
BJ Weschke aaf0ad7b77 Don't keep trying the same member in certain strategies when members of the queue are unavailable (#7278 - diLLec reported and patched) - This should have been patched here first and then merged into /trunk. My bad!
19 years ago
BJ Weschke c3b61adc5b Setting a retry of 0 is generally not a good idea and shouldn't be allowed. (#7574 - reported by regin)
19 years ago
Russell Bryant e81646d2dd remove duplicate queue log entry when the caller exits on a timeout
19 years ago
BJ Weschke 64def5d791 We should lock the queue before we go making changes to member interface statuses.
19 years ago
Kevin P. Fleming d00c50cd14 don't use prefixed structure names for internal structures
19 years ago
Kevin P. Fleming 55ba8ef5c4 coding style cleanups on queue interface handling code that was committed for the last release
19 years ago
Kevin P. Fleming 5684ba5966 return bridge exit logic to what it was before i broke it :-(
19 years ago
BJ Weschke a6a17f1789 Fix infinite loop scenario and add some sanity checking to prevent segfault on a NULL parameter coming in (which probably shouldn't happen, but just to be safe...)
19 years ago
BJ Weschke a94248e7dc 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. Backported from /trunk for the "bug fix".
19 years ago
BJ Weschke f1744d3e31 Oops.
19 years ago
Kevin P. Fleming f5765a22fc fix various bugs related to exiting from queue via keypress and moh handling (issue #6776, different fix)
19 years ago
Kevin P. Fleming e0989958cc don't allow queue member devices to ring longer than the total queue timeout (issue #6423, reported and patched by bcnit)
19 years ago
Joshua Colp 14285e5b2b Treat paused queue members as unreachable (issue #7127 reported by peterh)
19 years ago
BJ Weschke 249760b951 Make QueueStatusComplete event thread safe by wrapping it inside the queue lock clause already there. #7013 (bziherl reporting)
19 years ago
BJ Weschke d46fa7e825 Oops. :(
19 years ago
BJ Weschke 41210a37d6 Don't recheck valid_exit() after getting the result from say_position (which already checks it). Should prevent another loop if the caller hits digits during the position announcement. #6776 (tgj reporting)
19 years ago
Tilghman Lesher c7ee76b69f Bug 7023 - reload should not unpause members
19 years ago
Joshua Colp d0aef28b0e Queue(somequeue,,,,) -> interpreted as Queue(somequeue,,,,0) (issue #7044 reported nathan fixed by jsmith - sort of)
19 years ago
Olle Johansson 457bdd22bb Issue #6882 - move "res=-1" out of verbosity block, minor code cleanups (casper)
19 years ago
Russell Bryant 14e8c4c5a3 fix a problem with not loading realtime queue members by always reloading a
19 years ago
Kevin P. Fleming ce008d40a1 don't double-increment abandon counter for calls that are hung up while dialing members (issue #6289)
20 years ago
Russell Bryant 2f1d118537 fix memory leak from not freeing the queue member list when freeing an old queue
20 years ago
Tilghman Lesher 366c8a99ef Bug 5936 - AddQueueMember fails on realtime queue, if queue not yet loaded
20 years ago
Russell Bryant 30f2aff526 fix invalid value of prev_q (issue #6302)
20 years ago
Russell Bryant a434f8877a cast time_t to an int in printf/scanf (issue #5635)
20 years ago
Russell Bryant a49f954f6a don't delete dynamic queue members when reloading the static members from a realtime database (issue #5922)
20 years ago
Russell Bryant a32f75b800 fix queue weight feature - compare member interfaces instead of pointers to
20 years ago
Kevin P. Fleming a563eab49a remove extraneous svn:executable properties
20 years ago
Kevin P. Fleming 54dd7ac9fa issue #5707
20 years ago
Russell Bryant 987b87662c make app_queue 1.2 jump compliant (issue #5580)
20 years ago
Kevin P. Fleming a0a9769616 issue #5648
20 years ago
Kevin P. Fleming f09c6bc78e application doc update
20 years ago
Russell Bryant 31a804b97c issue #5605
20 years ago
Russell Bryant 3bd298f2dd alphabetize option lists
20 years ago
Russell Bryant 5187de9ab6 remove unnecessary checks before calls to ast_strlen_zero
20 years ago
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
20 years ago
Russell Bryant 4aa7912057 Massive cleanups to applications for LOCAL_USER handling and some other things.
20 years ago
Russell Bryant 29829640bf it's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS
20 years ago
Mark Spencer dbdd193e12 Fix segfault in app queue when no cdr exists for the calling channel (bug #5462)
20 years ago
Mark Spencer 4e919f337c Fix queue, iax and sip formatting issues (bug #5449)
20 years ago
Kevin P. Fleming 7215e4179d add auto-monitor support (issue #5411)
20 years ago
Josh Roberson 485e3e0801 Log timeouts in queues when the call timeout is set from the dialplan (Bug #5422)
20 years ago
Kevin P. Fleming e0680525e7 fix queues properly (issue #5300, take two)
20 years ago
Kevin P. Fleming d45b683bdd ensure that app_queue won't crash if no members are defined via Realtime (issue #5300)
20 years ago