Commit Graph

303 Commits (1.6.1)

Author SHA1 Message Date
Brett Bryant 41a6477d82 Fixes problem where manager users loaded from users.conf would be
17 years ago
Tilghman Lesher 0e76506c40 Russell pointed out that using ast_strdupa() within a loop like this is
17 years ago
Tilghman Lesher 6a80af637c Fix trunk devmode
17 years ago
Pari Nannapaneni b5a207c6be updateconfig is not uri decoding variables,values from the GET url
17 years ago
Tilghman Lesher 49715c05f1 Merged revisions 130959 via svnmerge from
17 years ago
Michiel van Baak e58fecde43 Merged revisions 130573 via svnmerge from
17 years ago
Tilghman Lesher 4ff527903e Code wasn't ready to be merged - see -dev list discussion
17 years ago
Brett Bryant d185405755 Janitor project to convert sizeof to ARRAY_LEN macro.
17 years ago
Olle Johansson 6f400edeab Changing name of global api call to ast_*
17 years ago
Olle Johansson 45e79490ba Implement flags for AGI in the channel structure so taht "show channels" and
17 years ago
Tilghman Lesher 885d17506b Keep ast_app_inboxcount API compatible with 1.6.0.
17 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
17 years ago
Russell Bryant 44e1c94465 Merged revisions 119742 via svnmerge from
17 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
17 years ago
Luigi Rizzo d5c75ee032 + Implement a variant of astman_get_header() to return the first or
17 years ago
Luigi Rizzo 18065a175d Use casts or intermediate variables to remove a number
17 years ago
Olle Johansson 29b1d73567 Add support for codec settings in originate via call file and manager.
17 years ago
Mark Michelson 7daebcd610 Adding support for "urgent" voicemail messages. Messages which are
17 years ago
Tilghman Lesher 73581f3905 Optionally display the value of several variables within the Status command.
17 years ago
Tilghman Lesher b5a127daac Modify TIMEOUT() to be accurate down to the millisecond.
17 years ago
Russell Bryant c0308de13e Merged revisions 114591 via svnmerge from
17 years ago
Russell Bryant a3f3613d66 Correct action_ping() and action_events() with regards to Manager 1.1
17 years ago
Russell Bryant 0bb3c15606 Merged revisions 114284 via svnmerge from
17 years ago
Mark Michelson 115d5024a1 Merged revisions 114051 via svnmerge from
17 years ago
Mark Michelson 2580dfc6fb Merged revisions 112468 via svnmerge from
17 years ago
Terry Wilson 1eb31edde2 Re-add HTTP post support by moving to res_http_post.c
17 years ago
Tilghman Lesher ef4eff9a9b Add the "config reload <conffile>" command, which allows you to tell Asterisk
17 years ago
Mark Michelson 43d70915bb This ensures that the manager interface is not enabled by default. Prior to this
17 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()
17 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
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
Joshua Colp 760fc3403c Make sure values are interpreted as character strings and not format strings.
17 years ago
Mark Michelson 963a2cec51 Make this compile
17 years ago
Mark Michelson d236e3d1b1 Fixing a potential buffer overflow in the manager command ModuleCheck.
17 years ago
Russell Bryant 8bbef5f996 Rename ast_tcptls_server_instance to session_instance, since this pertains to
17 years ago
Mark Michelson 2ed30d47e8 Adding the Atxfer manager command. With this, you may initiate
17 years ago
Mark Michelson 6cf6059402 There are several places in manager.c where BUFSIZ is used for a buffer
17 years ago
Tilghman Lesher cfc1df4c1a Whitespace changes only
17 years ago
Russell Bryant 96e04792bd add a destroy API call for a server instance
17 years ago
Russell Bryant cc55483858 More public API name changes to use an appropriate ast_ prefix
17 years ago
Russell Bryant efb1e30a38 Rename public object server_instance to ast_tcptls_server_instance
17 years ago
Tilghman Lesher 133a18478c Merged revisions 104704 via svnmerge from
17 years ago
Russell Bryant 0036cde5f3 Rename version.h to ast_version.h. Next, I will be re-adding version.h as an
17 years ago
Tilghman Lesher f92a3e119e Move Originate to a separate privilege and require the additional System privilege to call out to a subshell.
17 years ago
Kevin P. Fleming 1a6711a42d Merged revisions 104015 via svnmerge from
17 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
Olle Johansson 130fe4000a Change manager so that registered accounts are stored in memory. This opens for a
18 years ago
Mark Michelson 74577dd091 I needed to increment the numbers used on the VERBOSITY_ATLEAST calls by 1.
18 years ago
Mark Michelson 83f152b95c Changed VERBOSITY_LEVEL to VERBOSITY_ATLEAST to be more accurate.
18 years ago
Mark Michelson 4f75e15665 After reading Russell's e-mail to the dev list stating that checking option_verbose is not
18 years ago
Olle Johansson 814d0ed4f8 - The Ping Action
18 years ago
Olle Johansson 7e38b474d9 Change description of new manager command
18 years ago
Olle Johansson 5af2cf109e Add manager command for showing all current channels.
18 years ago
Tilghman Lesher ce2f670228 Change cdr_manager to use a "CDR" level, rather than the (overcrowded) "call" level.
18 years ago
Russell Bryant fac7480820 Merged revisions 90348 via svnmerge from
18 years ago
Kevin P. Fleming c13ed407db restore behavior from the 1.4 branch... manager users created via users.conf should default to *all* permissions, not none
18 years ago
Kevin P. Fleming 57c2bcca86 Merged revisions 90098 via svnmerge from
18 years ago
Tilghman Lesher eac58d0fb3 Merged revisions 89536 via svnmerge from
18 years ago
Luigi Rizzo e0ff5fef5c remove a bunch of useless #include "options.h"
18 years ago
Luigi Rizzo a23c055c3d move asterisk/paths.h outside asterisk.h and into those files
18 years ago
Luigi Rizzo 915b97d300 move internal function declarations to include/asterisk/_private.h
18 years ago
Luigi Rizzo 9335ace850 another bunch of include removals (errno.h and asterisk/logger.h)
18 years ago
Luigi Rizzo a0f06d0dd5 start using asterisk/network.h for network related headers.
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Mark Michelson fd7b3e7261 Fixing a problem pointed out by Qwell
18 years ago
Mark Michelson 3107395445 Added some locks that should have been around astman_send_error,
18 years ago
Luigi Rizzo 09d9cce1d8 access channel locks through ast_channel_lock/unlock/trylock and not
18 years ago
Mark Michelson 6260590ec2 Merged revisions 89288 via svnmerge from
18 years ago
Mark Michelson eee4ed80cf Merged revisions 89286 via svnmerge from
18 years ago
Luigi Rizzo 7f8ecd2cd3 make the 'name' and 'value' fields in ast_variable const char *
18 years ago
Kevin P. Fleming edc78d6023 improve linked-list macros in two ways:
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
Russell Bryant 40e7d22cd7 Merged revisions 84742 via svnmerge from
18 years ago
Dwayne M. Hubbard 71a0672560 Merged revisions 84274 via svnmerge from
18 years ago
Dwayne M. Hubbard bd5b6cea68 Merged revisions 84018 via svnmerge from
18 years ago
Tilghman Lesher 02c997c64c Add the MeetmeList and Reload manager commands, which supplement the need to have Command privilege. (closes issue #10736)
18 years ago
Russell Bryant fc1fdac8f2 Merged revisions 83121 via svnmerge from
18 years ago
Joshua Colp 25597993d7 Extend manager show connected with additional information.
18 years ago
Jason Parker c7a9ec1691 (issue #10724)
18 years ago
Russell Bryant c3b4322469 Merged revisions 82867 via svnmerge from
18 years ago
Joshua Colp e4c8ac7abd (closes issue #10695)
18 years ago
Steve Murphy b5cd67adc3 This code was in team/murf/bug8684-trunk; it should fix bug 8684 in trunk. I didn't add it to 1.4 yet, because it's not entirely clear to me if this is a bug fix or an enhancement. A lot of files were affected by small changes like ast_variable_new getting an added arg, for the file name the var was defined in; ast_category_new gets added args of filename and lineno; ast_category and ast_variable structures now record file and lineno for each entry; a list of all #include and #execs in a config file (or any of its inclusions are now kept in the ast_config struct; at save time, each entry is put back into its proper file of origin, in order. #include and #exec directives are folded in properly. Headers indicating that the file was generated, are generated also for each included file. Some changes to main/manager.c to take care of file renaming, via the UpdateConfig command. Multiple inclusions of the same file are handled by exploding these into multiple include files, uniquely named. There's probably more, but I can't remember it right now.
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Joshua Colp 218241f174 Use the linkedlists.h macros for the manager action list.
18 years ago