Commit Graph

96 Commits (38e98f42bc656c514b321a55bdfd5bb1c0a0fb55)

Author SHA1 Message Date
Mark Michelson e0827ae778 Document default timeout for AMI originations.
17 years ago
Russell Bryant 85483848d0 Don't try to unlock a bogus channel.
17 years ago
Doug Bailey 100aa13ae2 Clean up problem with manager implementation of mmap where it was not testing against MAP_FAILED response.
17 years ago
Tilghman Lesher 34672a3919 Race condition between ast_cli_command() and 'module unload' could cause a deadlock.
17 years ago
Tilghman Lesher 19918c7274 Backport resolution for file descriptor leak in 1.6.0 to 1.4.
17 years ago
Mark Michelson 8c021d9334 Ensure that \r\n is printed after the ActionID in an OriginateResponse.
17 years ago
Russell Bryant 6efa254bea Fix cases where the internal poll() was not being used when it needed to be.
18 years ago
Steve Murphy 13a60eba0c This patch fixes h-exten running misbehavior in manager-redirected
18 years ago
Tilghman Lesher f311539733 Truncate userevents at the end of a line, when the command exceeds the buffer.
18 years ago
Russell Bryant aa60ad0e43 Add "restart gracefully" to the AMI blacklist of CLI commands.
18 years ago
Michiel van Baak 8f27432e76 Get rid of the useless format string and argument in the Bogus/ manager channelname.
18 years ago
Michiel van Baak 1a6c64660d make manager compile on OpenBSD.
18 years ago
Tilghman Lesher ad1cd04005 Provide more space for all the data which can appear in an originating
18 years ago
Kevin P. Fleming add5ff5b05 fix a bunch of potential problems found by gcc 4.3.x, primarily bare strings being passed to printf()-like functions and ignored results from read()/write() and friends
18 years ago
BJ Weschke 4ac62c324b Using the GetVar handler in AMI is potentially dangerous (insta-crash [tm]) when you use a dialplan function that requires a channel and then you don't provide one or provide an invalid one in the Channel: parameter. We'll handle this situation exactly the same way it was handled in pbx.c back on r61766.
18 years ago
Mark Michelson 47cf653623 Reverting changes from commits 150298 and 150301 since
18 years ago
Mark Michelson d61eb37af6 And don't forget to return on the error condition
18 years ago
Mark Michelson e9035cc286 Don't try to call a dialplan function's read callback from
18 years ago
Mark Michelson e1b81179dc After working on the ao2_containers branch, I noticed
18 years ago
Jeff Peeler a25c32289b Fix a typo I made. Lesson learned, apply the patch if one exists.
18 years ago
Jeff Peeler d2a637a424 (closes issue #13359)
18 years ago
Tilghman Lesher da57d237e6 Specify codecs in callfiles and manager, to allow video calls to be set up
18 years ago
Tilghman Lesher 9fda1e767c astman_send_error does not need a newline appended -- the API takes care of
18 years ago
Michiel van Baak b47deb444c fix memory leak when originate from manager cannot create a thread
18 years ago
Tilghman Lesher 98b11ad0ee When listing the manager users, managers in users.conf are not shown, even
18 years ago
Russell Bryant 8a9d52bc7f Improve CLI command blacklist checking for the command manager action. Previously,
18 years ago
Russell Bryant f8848a7fe8 Store the manager session ID explicitly as 4 byte ID instead of a ulong. The
18 years ago
Russell Bryant c8c2c33550 Don't destroy a manager session if poll() returns an error of EAGAIN.
18 years ago
Mark Michelson b4cf033072 Fix a race condition in the manager. It is possible that a new manager event
18 years ago
Tilghman Lesher 56e908b787 Safely use the strncat() function.
19 years ago
Tilghman Lesher 11550c7be6 Ensure the session ID can't be 0.
19 years ago
Kevin P. Fleming d105ba22fa reduce the likelihood that HTTP Manager session ids will consist of primarily '1' bits
19 years ago
Pari Nannapaneni f7eae72a2e missed that one while reverting
19 years ago
Pari Nannapaneni 0fed0a955f reverting 99001 - We need the Max-Age for extending the life of cookie mansession_id
19 years ago
Kevin P. Fleming af7670bca8 we should only send the Set-Cookie header to the browser on the first response after creating a manager session, not on every response (doing so causes the browser to clear any local cookies it may have associated with the session)
19 years ago
Kevin P. Fleming eb4d447b78 make this comment explain the situation in an even more explicit fashion
19 years ago
Tilghman Lesher 3c3eb75062 Workaround for what is probably a glibc bug (but we'll see this crop up again
19 years ago
Russell Bryant 1f8caa100d Change the behavior of ao2_link(). Previously, in inherited a reference.
19 years ago
Kevin P. Fleming fc5429da7c it is impossible to set permissions for manager accounts created by users.conf (reported internally, patched by me)
19 years ago
Tilghman Lesher 540a2c7098 Up until this point, the XML output of the manager has been technically
19 years ago
Mark Michelson 1fece3bb67 Undoing previous commit since I realize it was wrong
19 years ago
Mark Michelson 88f847869d Adding a missing mutex unlock.
19 years ago
Mark Michelson 63f6e6b023 Fixing a segfault in the manager "core show channels concise" command.
19 years ago
Russell Bryant 2c757f0747 Fix a copy/paste error in the description of UpdateConfig that was pointed
19 years ago
Dwayne M. Hubbard bae4135759 moved get_base_channel() code from action_redirect to ast_channel_masquerade() for issue 7706 and BE-160
19 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
19 years ago
Russell Bryant df5599d598 Fix up another potential race condition. Do the loop decrementing use count
19 years ago
Doug Bailey 8ac8d79a5d Corrected patch applied in revision r82887.
19 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.
19 years ago
Russell Bryant 4668601f9c Fix a memory leak that can occur on systems under higher load. The issue is
19 years ago