Commit Graph

53 Commits (f70c46c02d68601b31363c89620f1e6f033b7fc3)

Author SHA1 Message Date
Russell Bryant 2c757f0747 Fix a copy/paste error in the description of UpdateConfig that was pointed
18 years ago
Dwayne M. Hubbard bae4135759 moved get_base_channel() code from action_redirect to ast_channel_masquerade() for issue 7706 and BE-160
18 years ago
Dwayne M. Hubbard 7c4e477fde if an Agent is redirected, the base channel should actually be redirected. This was causing multiple issues, especially issue 7706 and BE-160
18 years ago
Russell Bryant df5599d598 Fix up another potential race condition. Do the loop decrementing use count
18 years ago
Doug Bailey 8ac8d79a5d Corrected patch applied in revision r82887.
18 years ago
Doug Bailey 33a1011c51 Fixed a bug where http manager sessions prevented the eventq from being cleaned out because http manager sessions do not have a valid file descriptor.
18 years ago
Russell Bryant 4668601f9c Fix a memory leak that can occur on systems under higher load. The issue is
18 years ago
Jason Parker 24f0e6a947 Eliminate a compiler warning with gcc 4.2 by constifying a char *
18 years ago
Russell Bryant 76164559c9 Remove a bogus comment and add proper locking to the handler function for the
18 years ago
Tilghman Lesher 6ffbaa32f3 Issue 10055 - Change memory allocation to use the heap for a command, since the output has the potential to overflow the stack (as it did here)
18 years ago
Tilghman Lesher 2e702c85eb Merged revisions 71288 via svnmerge from
18 years ago
Joshua Colp 533144b170 Add the ability to blacklist certain commands from being executed using the Command AMI action. (issue #9240 reported by junky)
18 years ago
Jason Parker e0cac0c477 Hide manager password from "manager show user foo".
18 years ago
Russell Bryant 7d478ee342 When MD5 authentication is not possible because there is no challenge present,
18 years ago
Russell Bryant 2465ea2cfa Strip terminal escape sequences from CLI command output that is going to be
18 years ago
Russell Bryant ae7a38d87b Backport the change that only went in to trunk that fixes the command manager
18 years ago
Olle Johansson b0121ca8a3 Issue #9608 - fix some annoying DEBUG messages not controlled by option_debug (DEA). Thanks!
18 years ago
Russell Bryant 5bee74171d Merged revisions 61786 via svnmerge from
18 years ago
Russell Bryant 70eb19121e Fix the UpdateConfig manager action to properly treat "variables" and "objects"
18 years ago
Tilghman Lesher 6db075dd98 Bug 9557 - simple reason why reading a function always returned NULL
18 years ago
Russell Bryant 06ff84b549 To be able to achieve the things that we would like to achieve with the
18 years ago
Russell Bryant ab5c3cd84e Merged revisions 60134 via svnmerge from
18 years ago
Russell Bryant 97fe798e7e Merged revisions 58164 via svnmerge from
18 years ago
Tilghman Lesher f2decd2446 Merged revisions 53245 via svnmerge from
19 years ago
Russell Bryant 9aab046002 Merged revisions 53045 via svnmerge from
19 years ago
Russell Bryant 771be23a9c Remove a recursive lock of the manager session. This was pointed out by
19 years ago
Russell Bryant ce753cf0d9 The session lock can not be held while calling action callbacks. If so, then
19 years ago
Joshua Colp 9c289fe01b Have the manager interface send back an "Already logged in" message instead of "Invalid/Unknown Command" when the client authenticates for a second time. (issue #8509 reported by pari)
19 years ago
Russell Bryant 2a37a53c57 Fix some bugs in process_message(). The manager session lock needs to be held
19 years ago
Russell Bryant 3d5e9fa43c When traversing the list of manager actions, the iterator needs to be
19 years ago
Russell Bryant c5a3194042 Make the "hasmanager" option in users.conf actually have an effect.
19 years ago
Joshua Colp caa099357b Move event processing into do_message so that it gets executed again when events are tripped.
19 years ago
Joshua Colp 5fe88c5f88 We need to check for res being 0 in do_message itself, otherwise our headers will get lost.
19 years ago
Kevin P. Fleming d2d50d7a8e ast_func_read() needs a writable copy of the function name to be passed
19 years ago
Kevin P. Fleming c56f17425c don't 'consume' the params list before we try to use it again
19 years ago
Kevin P. Fleming 444adcb477 reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases
19 years ago
Kevin P. Fleming a299485952 since these variables all have static duration, none of them need initializers (they default to zero anyway)
19 years ago
Steve Murphy 0ab411f2ed Here lies the fixes that killed bug 8423 -- OriginateSuccess and OriginateError incomplete channel name. May it rest in peace.
19 years ago
Russell Bryant a569bfd1f2 Remove a couple of unused variables (issue #8380, casper)
19 years ago
Tilghman Lesher e05a2752e8 Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
19 years ago
Mark Spencer 72146fab32 Fix config comment code preservation code (thanks murf!)
19 years ago
Russell Bryant def01ced3d fix a silly typo in a comment that I saw while reading the commit list
19 years ago
Nadi Sarrar 8adb217804 append_event must be called while holding the session lock
19 years ago
Luigi Rizzo f24ec459b2 make sure sockets are blocking when they should be blocking.
19 years ago
Kevin P. Fleming ff05bf15c8 update thread creation code a bit
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Jason Parker 4c2874b994 Commit the changes from issue #5240.
19 years ago
Jason Parker fc60c151d3 After discussing this with other people, we decided we'd like to try to do this a little differently.
19 years ago
Anthony LaMantia 3f3402d69e 5240 update
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago