Commit Graph

361 Commits (2ef94103630c4c69821f6bc749335ca922f8afcb)

Author SHA1 Message Date
Joshua Colp 2187f79e54 Protect the CDR record from modification by pbx_exec so that the application data contains the Queue data.
18 years ago
Joshua Colp 88cfb003df Initialize a variable to NULL to make the world happy.
18 years ago
Mark Michelson 3d1a567df0 Moving the logic for handling an empty membername to the create_member function so that there is a common place
18 years ago
Kevin P. Fleming a809a030d9 there is no need for conditional logic to select ->interface or ->membername, snince ->membername will always be populated
18 years ago
Kevin P. Fleming 43c2cf7938 fix a couple of places where a logical member name (if specified) was not used, but instead the direct interface was listed
18 years ago
Mark Michelson e53d7231dd Crap, I broke the build. Fixed.
18 years ago
Mark Michelson c7b6c42ef5 Adding member name field to manager events where they were missing before
18 years ago
Mark Michelson d6b1a0bfd6 Preemptively fixing a possible segfault. It is possible that queuename is NULL
18 years ago
Mark Michelson 1cf6ee98e0 Added logic to handle the unlikely case that someone has two queues with the same name.
18 years ago
Mark Michelson da18cece2c We should only initialize a realtime queue when it is allocated, not every time we access it. This prevents the members ao2_container
18 years ago
Russell Bryant 3e11102ef8 Fix incorrect uses of ao2_find(). Every one of these calls was reading bogus
18 years ago
Russell Bryant 56b7a100bc Fix another missing unref of member objects. This one was pointed out by Marta.
18 years ago
Mark Michelson 4f36c859ad All instances of ao2_iterators which were just named 'i' have been renamed
18 years ago
Russell Bryant 808ed0e44e Add a couple more missing unrefs of queue member objects
18 years ago
Russell Bryant aa3a71d3bf Add a missing unref of a queue member in an error handling block
18 years ago
Russell Bryant ffa6e7123b Document why membercount can not simply be replaced by ao2_container_count()
18 years ago
Tilghman Lesher 4913548485 Convert struct member to use refcounts (closes issue #10199)
18 years ago
Jason Parker d73c04d892 Allow the MEMBERINTERFACE variable to be used as the mixmonitor filename.
18 years ago
Mark Michelson 76ffc54255 Fixes an issue where valid DTMF had to be pressed twice to exit a queue if a member's phone
18 years ago
Mark Michelson fbbf1e2056 Fixing the build...
18 years ago
Mark Michelson f5cc747662 Reverting behavior of QUEUE_MEMBER_COUNT to only count members who are logged in
18 years ago
Mark Michelson 6ed2b5c1b2 Changed a comment to be more accurate.
18 years ago
Mark Michelson 687f798f19 Fixed broken behavior of a reload on realtime queues. Prior to this patch, if a reload was issued and
18 years ago
Mark Michelson 0589a7e1d0 Removing an extraneous (and possibly misleading) log message. Firstly, if the announce file isn't found, the
18 years ago
Mark Michelson 4c16fcaa97 Changed some manager event messages to reflect whether a queue member is a realtime member or not
18 years ago
Mark Michelson dbe2d229a5 This patch, in essence, will correctly pause a realtime queue member and reflect those
18 years ago
Mark Michelson 872ab1519e Changed some tabs to spaces
18 years ago
Mark Michelson 2772c71560 This fix creates a more accurate way of detecting whether realtime members were deleted.
18 years ago
Mark Michelson 214d980f86 Resolve a potential deadlock. In this case, a single queue is locked, then the queue list. In changethread(), the queue list is
18 years ago
Mark Michelson fe5489eead Found a case where the queue's membercount is off. It does not take into account dynamic members on a reload.
18 years ago
BJ Weschke 318f0f6e46 A minor correction to the available logic of autofill. If a queue member is paused, they're not really "available" so don't count them as such. Somewhat related to issue #10155
18 years ago
Russell Bryant 108326e3d1 Fix the build of app_queue
18 years ago
Mark Michelson 6268d2d7ec After a discussion on #asterisk-dev, it was decided that this should be in 1.4 as well.
18 years ago
Mark Michelson d66e174242 Found a pointless ternary if. member->dynamic was set to 1 and has no opportunity to change
18 years ago
Mark Michelson f8c70a5799 Changing a bit of logic so that someone will NEVER exit the queue on timeout unless they have enabled the 'n' option.
18 years ago
Mark Michelson 5739eba48e Fixes an issue I introduced to queues wherein a queue with joinempty=yes would kick people out of the queue because of erroneously
18 years ago
Mark Michelson 7e6f78d95e If a queue uses dynamic realtime members, then the member list should be updated after each attempt to call the queue.
18 years ago
Mark Michelson ad4eb1b347 Added a membercount variable to call_queue struct which keeps track of the number of logged in members in a particular queue.
18 years ago
Joshua Colp 34b000a0e7 Move makeannouncement variable declaration to proper place.
18 years ago
Mark Michelson 049fb8d98e The diff on this looks pretty big but all I did was remove a pointless if statement (always evaluates true).
18 years ago
Mark Michelson 1f9e2457dd Changes in handling return values of several functions in app_queue. This all started as a fix for issue #10008
18 years ago
Dwayne M. Hubbard 226a627244 Merged revisions 75657 via svnmerge from
18 years ago
Jason Parker 05923bb562 Merged revisions 74427 via svnmerge from
18 years ago
Mark Michelson 5112357ae1 Forgot to get rid of an extraneous debug message.
18 years ago
Mark Michelson 591f77fe14 The n option for Queue should make the queue exit immediately after failure to reach any members and should not
18 years ago
Mark Michelson 60c9f69f20 Correcting a minor CLI bug I found. When issuing the queue show command, if you type
18 years ago
Joshua Colp 6fec0a545f Merged revisions 73315 via svnmerge from
18 years ago
Joshua Colp 2c67ae6869 Merged revisions 72327 via svnmerge from
18 years ago
Russell Bryant e7cb53e8b2 Fix loading persistent queue members when using realtime configuration for queues.
18 years ago
Russell Bryant ece55e3de7 Merged revisions 65389 via svnmerge from
18 years ago