Commit Graph

342 Commits (ce7b0a51f1eae12e0f4b8d206d1c4f06d4348786)

Author SHA1 Message Date
Russell Bryant 1d46bb0d0f Resolve a memory leak that would occur on an invalid channel given to Action: Status
17 years ago
Mark Michelson c668cbfbfc Reverting commit number 173028 as there are some
17 years ago
Mark Michelson 7db67f9ca7 Add a CLI command to log out a manager user
17 years ago
Steve Murphy 268ac221a2 Merged revisions 172030 via svnmerge from
17 years ago
Tilghman Lesher 071301029c Merged revisions 169364 via svnmerge from
17 years ago
Russell Bryant c2999a8366 Introduce ast_careful_fwrite() and use in AMI to prevent partial writes.
17 years ago
Jeff Peeler 4e4093ab48 (closes issue #13993)
17 years ago
Russell Bryant 0859a4e30c Merged revisions 164806 via svnmerge from
17 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Tilghman Lesher 58716e94ba Allocate enough space initially for the message.
17 years ago
Eliel C. Sardanons 1e8e12efcf Janitor, use ARRAY_LEN() when possible.
17 years ago
Jason Parker 85034a7f8e Another place this is missing
17 years ago
Jason Parker b147256fb5 Fix typo when ListCategories returns none.
17 years ago
Sean Bright 4dc60e7560 Merged revisions 159976 via svnmerge from
17 years ago
Michiel van Baak 1b6a5b7524 Merged revisions 159897 via svnmerge from
17 years ago
Kevin P. Fleming aa0e888629 add support for event suppression for AMI-over-HTTP
17 years ago
Sean Bright fd8caa1778 This is basically a complete rollback of r155401, as it was determined that
17 years ago
Matthew Nicholson f3d086256c Added EVENT_FLAG_AGI and used it for manager calls in res_agi.c
17 years ago
Jason Parker ea1446635e Make sure we add the Event header for CoreShowChannels.
17 years ago
Tilghman Lesher 777d5ee470 Ping is missing the standard double-newline after the event.
17 years ago
Tilghman Lesher c2d30ffaa5 Merged revisions 156688 via svnmerge from
17 years ago
Pari Nannapaneni f50966c16a changing comment style to conform coding guidelines
17 years ago
Pari Nannapaneni 7a2b0102f1 Patch by Ryan Brindley -- Make sure that manager refuses any duplicate 'new category' requests in updateconfig
17 years ago
Sean Bright 30d1744ffc Add ability to pass arbitrary data to the ao2_callback_fn (called from
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
Kevin P. Fleming 1ddc834b39 cleaup of the TCP/TLS socket API:
17 years ago
BJ Weschke 09e9b5d208 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.
17 years ago
Mark Michelson 4ad187cba4 Merged revisions 150304 via svnmerge from
17 years ago
Mark Michelson 8a1d9d1678 Merged revisions 150298,150301 via svnmerge from
17 years ago
Mark Michelson 9851feb8fb The priority was unnecessary for the manager atxfer, so it has
17 years ago
Michiel van Baak 90751b16ca Merge the cli_cleanup branch.
17 years ago
Tilghman Lesher 08af5bb312 Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating
17 years ago
Mark Michelson 5dfefa5ee6 Merged revisions 140488 via svnmerge from
17 years ago
Jeff Peeler 4a122b5d8c Merged revisions 139927 via svnmerge from
17 years ago
Jeff Peeler 618b3eb8f8 Merged revisions 139621 via svnmerge from
17 years ago
Sean Bright b69c8e6ab5 Another big chunk of changes from the RSW branch. Bunch of stuff from main/
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
Brandon Kruse ab64d7181a Revert tilghman and pari's code changes, as
18 years ago
Brett Bryant 41a6477d82 Fixes problem where manager users loaded from users.conf would be
18 years ago
Tilghman Lesher 0e76506c40 Russell pointed out that using ast_strdupa() within a loop like this is
18 years ago
Tilghman Lesher 6a80af637c Fix trunk devmode
18 years ago
Pari Nannapaneni b5a207c6be updateconfig is not uri decoding variables,values from the GET url
18 years ago
Tilghman Lesher 49715c05f1 Merged revisions 130959 via svnmerge from
18 years ago
Michiel van Baak e58fecde43 Merged revisions 130573 via svnmerge from
18 years ago
Tilghman Lesher 4ff527903e Code wasn't ready to be merged - see -dev list discussion
18 years ago
Brett Bryant d185405755 Janitor project to convert sizeof to ARRAY_LEN macro.
18 years ago
Olle Johansson 6f400edeab Changing name of global api call to ast_*
18 years ago
Olle Johansson 45e79490ba Implement flags for AGI in the channel structure so taht "show channels" and
18 years ago
Tilghman Lesher 885d17506b Keep ast_app_inboxcount API compatible with 1.6.0.
18 years ago
Brett Bryant 2aae0ba13d Updates all usages of ast_tcptls_session_instance to be managed by reference counts so that they only get destroyed when all threads are done using
18 years ago
Russell Bryant 44e1c94465 Merged revisions 119742 via svnmerge from
18 years ago
Brett Bryant d32c2d6fd9 Add new functionality to http server that requires manager authentication for any path that includes a directory named 'private'. This patch also
18 years ago
Luigi Rizzo d5c75ee032 + Implement a variant of astman_get_header() to return the first or
18 years ago
Luigi Rizzo 18065a175d Use casts or intermediate variables to remove a number
18 years ago
Olle Johansson 29b1d73567 Add support for codec settings in originate via call file and manager.
18 years ago
Mark Michelson 7daebcd610 Adding support for "urgent" voicemail messages. Messages which are
18 years ago
Tilghman Lesher 73581f3905 Optionally display the value of several variables within the Status command.
18 years ago
Tilghman Lesher b5a127daac Modify TIMEOUT() to be accurate down to the millisecond.
18 years ago
Russell Bryant c0308de13e Merged revisions 114591 via svnmerge from
18 years ago
Russell Bryant a3f3613d66 Correct action_ping() and action_events() with regards to Manager 1.1
18 years ago
Russell Bryant 0bb3c15606 Merged revisions 114284 via svnmerge from
18 years ago
Mark Michelson 115d5024a1 Merged revisions 114051 via svnmerge from
18 years ago
Mark Michelson 2580dfc6fb Merged revisions 112468 via svnmerge from
18 years ago
Terry Wilson 1eb31edde2 Re-add HTTP post support by moving to res_http_post.c
18 years ago
Tilghman Lesher ef4eff9a9b Add the "config reload <conffile>" command, which allows you to tell Asterisk
18 years ago
Mark Michelson 43d70915bb This ensures that the manager interface is not enabled by default. Prior to this
18 years ago
Kevin P. Fleming 75cb5032e6 actually implement HTTP request dispatching based on both URI and method; reduce duplication of data when generating responses using ast_http_error()
18 years ago
Kevin P. Fleming e191b51a08 start the process of changing HTTP request dispatching to do it based on *both* URI and method, so that POST support can move into a module; move http.c's private function prototypes into _private.h
18 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
18 years ago
Joshua Colp 760fc3403c Make sure values are interpreted as character strings and not format strings.
18 years ago
Mark Michelson 963a2cec51 Make this compile
18 years ago
Mark Michelson d236e3d1b1 Fixing a potential buffer overflow in the manager command ModuleCheck.
18 years ago
Russell Bryant 8bbef5f996 Rename ast_tcptls_server_instance to session_instance, since this pertains to
18 years ago
Mark Michelson 2ed30d47e8 Adding the Atxfer manager command. With this, you may initiate
18 years ago
Mark Michelson 6cf6059402 There are several places in manager.c where BUFSIZ is used for a buffer
18 years ago
Tilghman Lesher cfc1df4c1a Whitespace changes only
18 years ago
Russell Bryant 96e04792bd add a destroy API call for a server instance
18 years ago
Russell Bryant cc55483858 More public API name changes to use an appropriate ast_ prefix
18 years ago
Russell Bryant efb1e30a38 Rename public object server_instance to ast_tcptls_server_instance
18 years ago
Tilghman Lesher 133a18478c Merged revisions 104704 via svnmerge from
18 years ago
Russell Bryant 0036cde5f3 Rename version.h to ast_version.h. Next, I will be re-adding version.h as an
18 years ago
Tilghman Lesher f92a3e119e Move Originate to a separate privilege and require the additional System privilege to call out to a subshell.
18 years ago
Kevin P. Fleming 1a6711a42d Merged revisions 104015 via svnmerge from
18 years ago
Jason Parker 2aa1c03667 Even more sane permissions. This should be handled via a umask, like in many other places.
18 years ago
Jason Parker 7dd21605f3 Use slight more sane permissions
18 years ago
Russell Bryant d42f6f7ce5 Fix build on *BSD. These permissions constants are not available there.
18 years ago
Jeff Peeler 16a14a4cd8 Requested changes from Pari, reviewed by Russell.
18 years ago
Joshua Colp c81350d6f6 Just some minor coding style cleanup...
18 years ago
Tilghman Lesher fa4c9a958b CoreSettings and CoreStatus are missing the terminating "\r\n". Also, some
18 years ago
Russell Bryant b995c78c31 Merge changes from team/group/sip-tcptls
18 years ago
Joshua Colp e8dee9f956 Make sure the user's manager secret exists, even if it is blank.
18 years ago
Tilghman Lesher 3968dd1c3d Conversion to load manager.conf into memory did not convert the password
18 years ago
Tilghman Lesher 247ca0a827 oops, missed the case of a 0 permission (which should mean everybody is allowed, not nobody)
18 years ago
Tilghman Lesher 857e3412f4 Several manager changes:
18 years ago
Joshua Colp 96f5a494cf Move ModuleLoad and ModuleCheck manager commands from loader.c to manager.c. Previously they would get registered twice because of the way manager.c operates.
18 years ago
Russell Bryant 54bc2c20b6 Now that the version.h file was getting properly regenerated every time the svn
18 years ago
Kevin P. Fleming d756129b1d Merged revisions 94824 via svnmerge from
18 years ago
Tilghman Lesher 2bed4ec968 Merged revisions 94808 via svnmerge from
18 years ago
Olle Johansson c92dafd551 Adding a new CLI command for "manager reload", which is important now that
18 years ago