Commit Graph

441 Commits (eb856fbb48c77cde01a6211ed068ac97b958e084)

Author SHA1 Message Date
Steve Murphy 63f2f04cf4 This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.
18 years ago
Mark Michelson 3ffc123db9 Adding the more flexible QUEUE_MEMBER function to replace the QUEUE_MEMBER_COUNT function.
18 years ago
Mark Michelson cf861b38c7 Added queue strategy "linear". This strategy is useful for those who always wish for their
18 years ago
Mark Michelson a8cc80e36d Adding the general option "shared_lastcall" to queues so that a member's wrapuptime
18 years ago
Jason Parker ebe4050128 Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
18 years ago
Jason Parker b0f3e6097e Convert NEW_CLI to AST_CLI.
18 years ago
Mark Michelson 934b814add Merged revisions 86328 via svnmerge from
18 years ago
Mark Michelson 37c1943b87 Changed some spaces to tabs
18 years ago
Mark Michelson d1a0d959a7 Merged revisions 86202 via svnmerge from
18 years ago
Mark Michelson c438d76551 Removed the monitor-join option. If one wishes to mix audio, they should instead use
18 years ago
Mark Michelson a39404fed2 Fixing the build.
18 years ago
Mark Michelson bece7e24f2 Merged revisions 85958 via svnmerge from
18 years ago
Russell Bryant a586d03231 Merged revisions 85720 via svnmerge from
18 years ago
Mark Michelson fbcd884e1b Allow for the position announcement to be turned off if desired.
18 years ago
Mark Michelson 310cfd3280 Patch to add one-touch parking for queues.
18 years ago
Mark Michelson 23ebcbc370 A two-in-one patch from the bugtracker
18 years ago
Mark Michelson 43e2818750 Merged revisions 84692 via svnmerge from
18 years ago
Joshua Colp e835dd12e4 Merged revisions 84637 via svnmerge from
18 years ago
Mark Michelson 2d95565f53 interface_exists_global was never returning 1. Most likely an error from my merge on Friday.
18 years ago
Tilghman Lesher b88902639a Fix some areas where we were still using '|' for an argument delimiter (closes issue #10793)
18 years ago
Russell Bryant e5c12bcf62 Update app_queue to use commas as application argument separators.
18 years ago
Mark Michelson 25763e2573 Merging changes from queue_refcount_trunk into trunk. Refcounted queues now in place.
18 years ago
Jason Parker ac5332c674 More conversions to NEW_CLI
18 years ago
Joshua Colp 39a6ecc228 Merged revisions 83074 via svnmerge from
18 years ago
Joshua Colp bd8414eff6 Merged revisions 82961 via svnmerge from
18 years ago
Mark Michelson b33123cf87 Merged revisions 82865 via svnmerge from
18 years ago
Kevin P. Fleming ef87383055 Merged revisions 82834 via svnmerge from
18 years ago
Jason Parker 9a5f7c5764 (closes issue #10755)
18 years ago
Russell Bryant 9388173f85 Make the MALLOC_DEBUG output for free() useful again. After changing calls to
18 years ago
Kevin P. Fleming 6cdc9ced97 Merged revisions 82590,82592 via svnmerge from
18 years ago
Mark Michelson 38460271f2 Merged revisions 82396 via svnmerge from
18 years ago
Mark Michelson 899ddcee92 Changed "in" to "queue" in "queue {pause|unpause} member" command to be more clear.
18 years ago
Mark Michelson eb39b71fba Added the ability to pause and unpause members via the CLI
18 years ago
Mark Michelson c04887e428 Merged revisions 82346 via svnmerge from
18 years ago
Mark Michelson 10d22b6e13 Merged revisions 82326 via svnmerge from
18 years ago
Russell Bryant a0e8ee0a3d Fix a missing unref of a member struct. This was pointed out by Marta. Thanks!
18 years ago
Mark Michelson 25e4377167 Removed an unneeded ao2_ref. This was a problem because unless get_member_status returned QUEUE_NORMAL, a NULL member
18 years ago
Mark Michelson 8cd1f2effc Merged revisions 82274 via svnmerge from
18 years ago
Russell Bryant 38c2cd05fa Merged revisions 82267 via svnmerge from
18 years ago
Russell Bryant c0bcb9f218 Merged revisions 82263 via svnmerge from
18 years ago
Mark Michelson 88a1ae75d5 Merged revisions 82252 via svnmerge from
18 years ago
Russell Bryant 20288b58af Merged revisions 82240 via svnmerge from
18 years ago
Russell Bryant 74044bbb88 Merged revisions 82238 via svnmerge from
18 years ago
Russell Bryant 02c8ceb4e5 Merged revisions 82236 via svnmerge from
18 years ago
Mark Michelson ef2856adf0 Fixing a problem where NULL channels would cause a crash when calling indisposed queue members (i.e. paused, wrapup time not completed, etc.)
18 years ago
Tilghman Lesher e558260746 Merged revisions 82155 via svnmerge from
18 years ago
Jason Parker ce12177952 Merged revisions 81923 via svnmerge from
18 years ago
Jason Parker 00da8c6dc7 Add an optional reason parameter to PauseQueueMember/UnpauseQueueMember applications and manager events.
18 years ago
Mark Michelson ba8c1b5243 Merged revisions 81713 via svnmerge from
18 years ago
Mark Michelson e9548619cf Not having this epoll specific code in wait_for_answer was causing app_queue to infinitely loop.
18 years ago