Commit Graph

888 Commits (522593f901baff3f1ba334ecaad9eefd6a9c9316)

Author SHA1 Message Date
David Vossel e21deabf02 new queue option, penaltymemberslimit, disregards penalty on too few queue members when enabled
16 years ago
David Vossel 4f5dd10749 app_queue crashes randomly, often during call-transfers
16 years ago
Tilghman Lesher baca4c6437 Found a few places where queue refcounts were counted incorrectly. Also add debug statements.
16 years ago
Tilghman Lesher 5e2aa190fe Display a list of channel variables in each channel-oriented event.
16 years ago
Matthew Nicholson aabff54c4b Add the 'relative-periodic-announce' option to app_queue to allow for calculating the time of announcments from the end of the previous announcment rather than from the beginning.
16 years ago
Tilghman Lesher d8e0c58437 Expand codec bitfield from 32 bits to 64 bits.
16 years ago
Tilghman Lesher 206d2cbc16 Don't crash when state_interface is NULL.
16 years ago
Joshua Colp 2263ced9dd Add support for using a hint when configuring a state interface using the format hint:<extension>@<context>.
16 years ago
Kevin P. Fleming 1c9fe00920 Recorded merge of revisions 222152 via svnmerge from
16 years ago
Matthias Nick 00bb578898 Prevents from division by zero
16 years ago
Tilghman Lesher 85f18fcb8f Merged revisions 217989 via svnmerge from
16 years ago
Tilghman Lesher 1b08c27c1a Add original position, when logging a caller entering a queue.
16 years ago
Matthew Nicholson 160eb55c47 Merged revisions 211953 via svnmerge from
16 years ago
Tilghman Lesher 642bec4d6f AST-2009-005
16 years ago
Tilghman Lesher 20102765bf Merged revisions 211038 via svnmerge from
16 years ago
Mark Michelson fd52c5834e Merged revisions 205349 via svnmerge from
16 years ago
Russell Bryant 0264eef115 Merge the new Channel Event Logging (CEL) subsystem.
16 years ago
Kevin P. Fleming aaeec3b40f Last batch of 'static' qualifiers for module-level global variables.
16 years ago
Kevin P. Fleming 6c5987811c Redesigned 'optional API' support.
16 years ago
Mark Michelson e1c03cbf1a Fix some bad locking stemming from trying to forward a call to a non-existent
16 years ago
Mark Michelson d222361a29 Fix a potential crash from trying to access a NULL channel pointer.
16 years ago
David Vossel c42344b319 ast_call_forward() todo notes and originate flag copy.
16 years ago
Mark Michelson 298d745fb4 Add the ability to execute connected line interception macros.
16 years ago
Mark Michelson 4c7c13d574 Remove extra lock from app_queue.
16 years ago
Sean Bright 7ee6e9f4ce Add a missing unref for queues in handle_statechange.
16 years ago
Eliel C. Sardanons 2c882626a0 Implement a new element in AstXML for AMI actions documentation.
16 years ago
Kevin P. Fleming e6b2e9a750 Const-ify the world (or at least a good part of it)
16 years ago
Tilghman Lesher bdcafc1ab4 Recorded merge of revisions 195366 via svnmerge from
16 years ago
Matthew Nicholson 69976640f5 Merged revisions 194028 via svnmerge from
16 years ago
Kevin P. Fleming 1c988d8996 add 'const' qualifiers in various places where they should have been
16 years ago
Mark Michelson 7a2a6a073f Reset the members' call counts when resetting queue statistics.
16 years ago
Richard Mudgett 7019ff68db Fixed crashes from issue8824 review board channel locking changes.
16 years ago
Russell Bryant 1e016da893 Fix app_queue XML documentation.
16 years ago
Mark Michelson 1d941ad821 Allow for a position to be specified when entering a queue.
16 years ago
Mark Michelson 09cde5a40c Update warning message to not have pipes and contain all options.
16 years ago
Mark Michelson 8f81deab25 Fix reversed behavior of leavewhenempty option in queues.conf.
16 years ago
Mark Michelson f26878feb2 Fix a couple of queue member reference leaks.
16 years ago
Mark Michelson b6a2f40793 Set all queue variables on both the caller and member channels.
16 years ago
Mark Michelson 6f53ed4c67 This commit introduces COLP/CONP and Redirecting party information into Asterisk.
16 years ago
Mark Michelson f43159ba31 Fix trunk's compilation.
16 years ago
Mark Michelson 5c0d934e6b Merged revisions 185599 via svnmerge from
16 years ago
Russell Bryant c9c8758d6d Don't free() an astobj2 object.
16 years ago
Mark Michelson c4e3bfb74c Merged revisions 185031 via svnmerge from
16 years ago
Russell Bryant 2a4f9f7181 Change global_app_buf to ast_str_thread_global_buf.
16 years ago
Mark Michelson b52d2dae2e Fix a memory leak associated with queues.
16 years ago
Mark Michelson b4fcc4a098 Change faulty comparison used when announcing average hold minutes and seconds
16 years ago
Mark Michelson a1a9006163 Run the macro on the queue member's channel when he answers, not the caller's channel.
16 years ago
Mark Michelson d7d817d687 Fix segfault when dialing a typo'd queue
16 years ago
Mark Michelson 8970f8caaa Merged revisions 180006 via svnmerge from
16 years ago
Russell Bryant 184872fdfd Fix a race condition that caused device states to become incorrect for hints.
16 years ago
Mark Michelson 3c9667ae12 Merge queue-reset branch to Asterisk
16 years ago
Mark Michelson 0d5da5f436 Fix a bit of odd logic for announcing position. Sync with 1.6.0's logic
16 years ago
Mark Michelson 34161542e9 Fix odd "thank you" sound playing behavior in app_queue.c
16 years ago
Mark Michelson 2e1d9f9a21 Merged revisions 173692 via svnmerge from
16 years ago
Mark Michelson 172777bd02 Fix some areas where the incorrect interface was passed to ast_device_state
16 years ago
Olle Johansson 7ecda45482 Fix "cancel answered elsewhere" through app_queue with members in chan_local.
16 years ago
Olle Johansson 097822966b Add final part of previously committed work for answered elsewhere in queue - the missing piece that started with app_dial() earlier on.
16 years ago
Mark Michelson 04e56bde03 Fix queue crashes that would occur after the calling channel was masqueraded.
16 years ago
Mark Michelson 4263503bd5 Fix device state parsing issues for channel names with multiple slashes
17 years ago
Mark Michelson b52253d590 Use the default timeout for a queue instead of -1
17 years ago
Olle Johansson 526cc089a9 Add support for setting the Reason header when cancelling a call in the queue
17 years ago
Mark Michelson b9060d4435 Merged revisions 168628 via svnmerge from
17 years ago
Mark Michelson ec0f18405e Clarify a message that app_queue prints and change to a debug-level message
17 years ago
Mark Michelson 454241dd58 Add the average talk time for a queue
17 years ago
Mark Michelson ff20b9116a Update app_queue to deal with the removal of AST_PBX_KEEPALIVE
17 years ago
Steve Murphy aa905e347e Merged revisions 166093 via svnmerge from
17 years ago
Joshua Colp 654ea55a65 Numerous documentation updates.
17 years ago
Mark Michelson a7829044ec Merged revisions 165255 via svnmerge from
17 years ago
Mark Michelson 00c40264b7 Fix a compile warning and a logic error that could have been bad
17 years ago
Mark Michelson 8a2cf30830 Fix up a few issues with regards to queues
17 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Terry Wilson 74de8fdaa7 When using realtime queues, app_queue wasn't updating the strategy if it was changed in the realtime backend. This patch resolves the issue for almost all situations. It is currently not supported to switch to the linear strategy via realtime since the ao2_container for members will have been set to have multiple buckets and therefore the members would be unordered.
17 years ago
Mark Michelson 1772fc56f0 Merged revisions 163084 via svnmerge from
17 years ago
Mark Michelson cda010c3b7 Merged revisions 163080 via svnmerge from
17 years ago
Eliel C. Sardanons 1e8e12efcf Janitor, use ARRAY_LEN() when possible.
17 years ago
Mark Michelson a53877b469 Add some safety measures when using gosub, especially when using the options
17 years ago
Mark Michelson ac1b520de6 When investigating issue #13548, I found that gosub
17 years ago
Sean Bright fd8caa1778 This is basically a complete rollback of r155401, as it was determined that
17 years ago
Matthew Nicholson 17ed84ff07 Make the Join event from app_queue use CallerIDNum insead of CallerID for
17 years ago
Mark Michelson 9e1283e160 Add a space to the output
17 years ago
Mark Michelson de5ba432da Add a RES_NOT_DYNAMIC case for the CLI command
17 years ago
Mark Michelson cf6c66de65 Fix some refcounting in app_queue.c and change the
17 years ago
Sean Bright 9ef09ad1d4 Merged revisions 155553 via svnmerge from
17 years ago
Sean Bright 30d1744ffc Add ability to pass arbitrary data to the ao2_callback_fn (called from
17 years ago
Eliel C. Sardanons d23dff9ca8 - Add some see-also references based on TFOT.
17 years ago
Tilghman Lesher 2cc8e25222 Slightly optimize ast_devstate_str and rename global functions devstate2str and config_text_file_save to have an ast_ prefix
17 years ago
Kevin P. Fleming bd4eb070f3 bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too
17 years ago
Russell Bryant 5b168ee34b Merge changes from team/group/appdocsxml
17 years ago
Terry Wilson 5fe37e47c6 Recent CDR fixes moved execution of the 'h' exten into the bridging code, so variables that were set after ast_bridge_call was called would not show up in the 'h' exten. Added a callback function to handle setting variables, etc. from w/in the bridging code. Calls back into a nested function within the function calling ast_bridge_call
17 years ago
Steve Murphy d736ac2b19 Merged revisions 152538 via svnmerge from
17 years ago
Steve Murphy 6fad66dfb3 Merged revisions 152535 via svnmerge from
17 years ago
BJ Weschke 7a8344bac6 The QueueEntry event now has the uniqueid of the channel included.
17 years ago
Mark Michelson 184fe6f87b Merged revisions 149200 via svnmerge from
17 years ago
Mark Michelson b8aed684f5 This commit introduces a change to how the "joinempty"
17 years ago
Michiel van Baak 90751b16ca Merge the cli_cleanup branch.
17 years ago
Michiel van Baak f1b673eef0 fix a couple of CLI commands that did not have a help description.
17 years ago
Tilghman Lesher 08af5bb312 Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating
17 years ago
Steve Murphy 67f7ac0499 Merged revisions 142675 via svnmerge from
17 years ago
Mark Michelson 4ad993ed8f This is the trunk version of the patch to close
17 years ago
Mark Michelson 16d2c41701 Use ast_debug for debug messages. I was wondering why debug
17 years ago
Mark Michelson 4356d794e3 Optimization: The only reason we should check member
17 years ago
Mark Michelson 43285b9273 Fix some locking order issues in app_queue. This was
17 years ago
Mark Michelson 5dfefa5ee6 Merged revisions 140488 via svnmerge from
17 years ago
Mark Michelson e833fd2ab1 Add output of variables to AgentRingNoAnswer manager
17 years ago
Mark Michelson 612f8c85b4 Change the queue timeout priority logic into less ugly
17 years ago
Mark Michelson 16a0e23110 Merged revisions 138685 via svnmerge from
17 years ago
Sean Bright 790fde68d9 Another batch of files from RSW. The remaining apps and a few more
17 years ago
Tilghman Lesher 285609937a Merged revisions 136488 via svnmerge from
17 years ago
Kevin P. Fleming 7df8b8b848 make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions
17 years ago
Mark Michelson 95ab87a07d Merged revisions 134758 via svnmerge from
17 years ago
Mark Michelson 2f16a9583f Merged revisions 134556 via svnmerge from
17 years ago
Tilghman Lesher 87256ecdbc Let "roundrobin" also reference rrmemory, for the 1.6 release (as described in
17 years ago
Mark Michelson 4caeba12a6 Add a missing unlock.
17 years ago
Mark Michelson b4dac0b385 Merged revisions 131369 via svnmerge from
17 years ago
Mark Michelson b35c06d838 Merged revisions 131357 via svnmerge from
17 years ago
Mark Michelson b95bc53c23 Merged revisions 131299 via svnmerge from
17 years ago
Brett Bryant fe874bfe6b Fix memory leak in app_queue when a device state is changed but it isn't
17 years ago
Brett Bryant 7588bcf690 Fixes a bug where the interface for a queue member gets reloaded as the state_interface, if a state_interface was set, on reload because the
17 years ago
Mark Michelson e4c93fc8c3 Added a new option, "timeoutpriority" to queues.conf. A detailed
17 years ago
Kevin P. Fleming da14954bdc another minor ast_channel memory size decrease... for nearly all channels, 'dialcontext' is only going to be set once during the channel's lifetime, so make it a string field instead of a char array
17 years ago
Mark Michelson 6d1ebfbed5 Remove debug message
17 years ago
Mark Michelson ab7809ace9 Ensure the thread-safety of the monexec variable in app_queue.
17 years ago
Mark Michelson 09c659d7d0 Make this compile with dev-mode on
17 years ago
Mark Michelson 9aef593e58 The monitor-join option for queues was deprecated in favor of using
17 years ago
Mark Michelson edbe6b7a25 Fix a really stupid mistake
17 years ago
Mark Michelson 3859074667 Merged revisions 125585 via svnmerge from
17 years ago
Mark Michelson 96f92f468f Merged revisions 125476 via svnmerge from
17 years ago
Michiel van Baak 8e8359465b Older versions of GNU gcc do not allow 'NULL' as sentinel.
17 years ago
Sean Bright 62cb684f59 Include original position in TRANSFER entries written to queue_log.
17 years ago
Mark Michelson eaa14309dd A portion of the code which handled the 'c' queue option had been
17 years ago
Mark Michelson 103a94c6c4 Silly pointers. This fixes a memory corruption I introduced
17 years ago
Mark Michelson 0283469cfc Merged revisions 123274 via svnmerge from
17 years ago
Steve Murphy f4c85ebd22 (closes issue #12689)
17 years ago
Mark Michelson eb1e6f0806 Fix a segfault by not trying to store a stack address for
17 years ago
Mark Michelson 54c92d9a63 Recommitting revision 122228, which was accidentally reverted
17 years ago
Mark Michelson 054f08a1c8 Merged revisions 122311 via svnmerge from
17 years ago
Jeff Peeler ef3b214728 Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
17 years ago
Mark Michelson cf3a2a431f Merging the work done in the queue-log-atxfer branch. The
17 years ago
Russell Bryant e9d72e0cb2 Merge another big set of changes from team/russell/events
17 years ago
Tilghman Lesher 53459f86b2 Expand RQ_INTEGER type out to multiple types, one for each precision
17 years ago
Tilghman Lesher 9471b87d27 Merge the adaptive realtime branch, which will make adding new required fields
17 years ago
Mark Michelson 4b1fae3efb Merged revisions 120513 via svnmerge from
17 years ago
Mark Michelson 564528663d Merged revisions 120285 via svnmerge from
17 years ago
Mark Michelson d81d206148 Adding two new queue log events. The ADDMEMBER event is logged when
17 years ago
Tilghman Lesher ae317add1b Merged revisions 119404 via svnmerge from
17 years ago
Mark Michelson dd7e1255ac Update to the janitor project for making sure to be thread-safe when
17 years ago
Michiel van Baak f1e9371da8 - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause
17 years ago
Mark Michelson 2c7760e626 Committing a fix pointed out by Atis Lezdins on the asterisk-dev list. Thanks!
17 years ago
Mark Michelson b0e637791c Add a new manager event, AgentRingNoAnswer to
17 years ago
Mark Michelson 06a7b4ea43 Optimize the update_realtime_member_field function by not having
17 years ago
Jason Parker e785520eb9 Correctly document state interface for AddQueueMember. Discovered while looking at issue #12626.
17 years ago
Mark Michelson c854ba85a5 Merged revisions 115320 via svnmerge from
17 years ago
Dwayne M. Hubbard 8fdea12f33 app_queue uses a taskprocessor for device state changes
17 years ago
Tilghman Lesher b5a127daac Modify TIMEOUT() to be accurate down to the millisecond.
17 years ago
Mark Michelson e37dafdd3a Adding new configuration options to app_queue. This adds two new values
17 years ago
Mark Michelson 6447280c2f Merged revisions 114848 via svnmerge from
17 years ago
Tilghman Lesher 463a5dbd0a Whitespace changes only
17 years ago
Michiel van Baak 08e674bce0 Pass the hangup cause all the way to the calling app/channel.
17 years ago
Mark Michelson 14fc93e721 Merged revisions 114628 via svnmerge from
17 years ago
Jason Parker 6f549bc324 Allow setqueuevar=yes (et al) to work, after changes to pbx_builtin_setvar()
17 years ago
Jason Parker f6cfccbc07 Merged revisions 114133 via svnmerge from
17 years ago
Mark Michelson df7cb6b30b Merged revisions 114112 via svnmerge from
17 years ago
Mark Michelson 9bd9421c83 Fix a crash that happened due to accessing free'd memory
17 years ago
Mark Michelson b95d24ea47 Merged revisions 112393 via svnmerge from
17 years ago
Joshua Colp cafce80cd5 Forgetting to unregister a manager action is bad, mmmk?
17 years ago
Mark Michelson 0f8f6e239e Fix a crash that would happen when attempting to unload the app_queue module.
17 years ago
Mark Michelson 994d025523 Merged revisions 109713 via svnmerge from
17 years ago
Mark Michelson cd7efcf4e7 Add option 'randomperiodicannounce' to queues.conf. Setting this will
17 years ago
Terry Wilson b02bc230af Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not
17 years ago
Mark Michelson 9c876e801f app_queue has now been doxygenified thanks to snuffy! The ony thing I changed
17 years ago
Steve Murphy 377e51c4d4 (closes issue #6002)
17 years ago
Russell Bryant 5403b28778 - simplify a few statements with ARRAY_LEN()
17 years ago
Tilghman Lesher 7007c565fe Fix minor misuses of snprintf
17 years ago
Mark Michelson f0379886c5 Merged revisions 105059 via svnmerge from
17 years ago
Mark Michelson caeb435271 Merged revisions 103956 via svnmerge from
17 years ago
Jason Parker 72bc8a7c7d Fix up some doxygen issues.
17 years ago
Mark Michelson 44810652d6 Change the queue holdtime announcement to happen at any interval (not just greater than two minutes). Remove
17 years ago
Mark Michelson 84ecef76b8 Fix improper indentation. Thanks again to snuffy for pointing it out.
17 years ago
Mark Michelson cd02fd2763 Add a couple of comments to clarify the unreffing of queues.
17 years ago
Mark Michelson 52595c5d30 Forgot that AST_LIST_REMOVE_CURRENT takes different arguments in trunk than 1.4.
17 years ago
Mark Michelson ba003e415b Merged revisions 103120 via svnmerge from
17 years ago
Mark Michelson f26fd8dac4 Add the channel's unique id to the AgentCalled manager event to make it more consistent
17 years ago
Mark Michelson 267220d043 Remove an extra debug message I left in
17 years ago
Mark Michelson b0999f3bfa Forgot an !
18 years ago
Mark Michelson 19d8ce4033 A change I made to accommodate the "linear" strategy in trunk caused queue strategies to
18 years ago
Mark Michelson 815658d35e Handle the case of a NULL state_interface when checking a realtime member.
18 years ago
Mark Michelson 28b48d2214 Merged revisions 101216 via svnmerge from
18 years ago
Mark Michelson b719c2e5d2 Merged revisions 101035 via svnmerge from
18 years ago
Mark Michelson 105e0f6cf8 Merged revisions 100973 via svnmerge from
18 years ago
Mark Michelson 81fb790419 Insure that we are not going to pass a NULL pointer to add_to_interfaces.
18 years ago
Mark Michelson 6d57a8c873 Adding the QUEUENAME variable to the variables set using the setqueuevar option
18 years ago
Mark Michelson 3d022ccfec state_interface could be NULL, so use the never-NULL cur->state_interface for this check
18 years ago
Mark Michelson 9c39ec55d8 Get the device state of the state interface instead of the interface when creating a new queue member.
18 years ago
Mark Michelson 7cd98338fd Merged revisions 98737 via svnmerge from
18 years ago
Mark Michelson ef7c382507 Merged revisions 98733 via svnmerge from
18 years ago
Mark Michelson 87b92b1020 Merged revisions 97575 via svnmerge from
18 years ago
Mark Michelson c1eaacc3df Merged revisions 97308 via svnmerge from
18 years ago
Mark Michelson 925d9ffa47 Merged revisions 97304 via svnmerge from
18 years ago
Terry Wilson 12964661f2 Initialize new variable to NULL
18 years ago
Mark Michelson 427f17fd9d Adding the option of specifying a second interface in a member definition for a queue. app_queue
18 years ago
Joshua Colp fb2aef67b9 Merged revisions 97093 via svnmerge from
18 years ago
Mark Michelson b7f3b78031 Merged revisions 96102 via svnmerge from
18 years ago
Mark Michelson 80c479f94e Since ',' is the standard argument separator in trunk, change app_queue
18 years ago
Mark Michelson e0e6e81477 Merged revisions 95890 via svnmerge from
18 years ago
Mark Michelson c540b02f6f The diff for this change looks really bad, but all I did here was decrease the indentation of most
18 years ago
Mark Michelson af080add62 Merged revisions 95095 via svnmerge from
18 years ago
Luigi Rizzo 5e041a46dc NULL does not need to be cast to (char *)
18 years ago
Mark Michelson e0b9943818 Fix a memory leak when reloading queue rules.
18 years ago
Mark Michelson c1fac2d834 Merged revisions 94464 via svnmerge from
18 years ago
Mark Michelson 2e6431c42a Merged revisions 94420 via svnmerge from
18 years ago
Mark Michelson 88f27c8279 Moved the update of the queue_ent's rule list to just before we try to call
18 years ago
Mark Michelson b489558138 Merging the queue-penalty branch. In short, this allows one to dynamically adjust
18 years ago
Mark Michelson c848e480c9 1. Unify the check for a penalty < 0 into the set_member_penalty code.
18 years ago
Olle Johansson f3471c1652 Merged revisions 93182 via svnmerge from
18 years ago
Mark Michelson c3f89eab8f Removing some leftover debug messages from a while back.
18 years ago
Mark Michelson a43dd8acb3 Merged revisions 92443 via svnmerge from
18 years ago
Mark Michelson dea49116ee Merged revisions 92323 via svnmerge from
18 years ago
Mark Michelson 8bf68432a0 Merged revisions 92202 via svnmerge from
18 years ago
Russell Bryant bfd58d8c2a Merged revisions 91780 via svnmerge from
18 years ago
Russell Bryant c72fa81580 Merged revisions 91677 via svnmerge from
18 years ago
Russell Bryant 135f315382 Merged revisions 91675 via svnmerge from
18 years ago
Mark Michelson 5d1fb935ba Wrong locking style got merged from 1.4 to trunk. My mistake.
18 years ago
Mark Michelson c52d8a1cd5 Merged revisions 90735 via svnmerge from
18 years ago
Olle Johansson 4d2368f202 (closes issue #11431)
18 years ago
Russell Bryant 0f5117be2e Merged revisions 90470 via svnmerge from
18 years ago
Mark Michelson 6b08c442c7 Adding support for the "automixmonitor" dial and queue options.
18 years ago
Russell Bryant fac7480820 Merged revisions 90348 via svnmerge from
18 years ago
Mark Michelson 4ed5336a45 Merged revisions 90163 via svnmerge from
18 years ago
Joshua Colp 48da910225 Merged revisions 90101 via svnmerge from
18 years ago
Russell Bryant 63bca744a2 Merged revisions 89844 via svnmerge from
18 years ago
Mark Michelson ba7f5fec38 Merged revisions 89837 via svnmerge from
18 years ago
Joshua Colp 0619fb1248 Perform some module use counting audits. This is now done outside the scope of the application/dialplan function so they do not need to worry about it.
18 years ago
Steve Murphy 86476c607f closes issue #11285, where an unload of a module that creates a dialplan context, causes a crash when you do a 'dialplan show' of that context. This is because the registrar string is defined in the module, and the stale pointer is traversed. The reporter offered a patch that would always strdup the registrar string, which is practical, but I preferred to destroy the created contexts in each module where one is created. That seemed more symmetric. There were only 6 place in asterisk where this is done: chan_sip, chan_iax2, chan_skinny, res_features, app_dial, and app_queue. The two apps destroyed the context, but left the contexts. All is fixed now and unloads should be dialplan friendly.
18 years ago
Luigi Rizzo 7e8835e0d7 remove another set of redundant #include "asterisk/options.h"
18 years ago
Mark Michelson ffa8035212 Merged revisions 89495 via svnmerge from
18 years ago
Mark Michelson 9c275b0e51 Merged revisions 89493 via svnmerge from
18 years ago
Luigi Rizzo 0595b5e2aa include "logger.h" and errno.h from asterisk.h - usage shows that they
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Mark Michelson 2f7440932c Merged revisions 89323 via svnmerge from
18 years ago
Luigi Rizzo 7f8ecd2cd3 make the 'name' and 'value' fields in ast_variable const char *
18 years ago
Russell Bryant 31512895ae Instead of reserving 800 bytes for periodic announcements, use an array of
18 years ago
Russell Bryant 76696ac65f Convert most of the strings in the call_queue struct to use stringfields.
18 years ago
Steve Murphy 98429d37b2 Based on a note in asterisk-dev by Brian Capouch, I determined I too agressive in not initializing arrays passed to pbx_substitute_variables_xxxx; I reviewed the code (again) and hopefully found every possible spot where substitute_variables is called conditionally, and made sure the char array involved was set to a null string.
18 years ago
Kevin P. Fleming edc78d6023 improve linked-list macros in two ways:
18 years ago
Tilghman Lesher 97744f54e7 Merged revisions 89093 via svnmerge from
18 years ago
Mark Michelson 0cd3118a62 Adding the queue strategy wrandom
18 years ago
Mark Michelson 01e1f6cc94 Added CLI and manager commands for changing a queue member's penalty
18 years ago
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