aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinclude/asterisk/manager.h1
-rwxr-xr-xmanager.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/manager.h b/include/asterisk/manager.h
index 3e139982a..d5171ecc2 100755
--- a/include/asterisk/manager.h
+++ b/include/asterisk/manager.h
@@ -45,6 +45,7 @@
#define EVENT_FLAG_VERBOSE (1 << 3) /* Verbose messages */
#define EVENT_FLAG_COMMAND (1 << 4) /* Ability to read/set commands */
#define EVENT_FLAG_AGENT (1 << 5) /* Ability to read/set agent info */
+#define EVENT_FLAG_USER (1 << 6) /* Ability to read/set user info */
/* JDG: export manager structures */
#define MAX_HEADERS 80
diff --git a/manager.c b/manager.c
index bf5d24287..5195beeb3 100755
--- a/manager.c
+++ b/manager.c
@@ -53,6 +53,7 @@ static struct permalias {
{ EVENT_FLAG_VERBOSE, "verbose" },
{ EVENT_FLAG_COMMAND, "command" },
{ EVENT_FLAG_AGENT, "agent" },
+ { EVENT_FLAG_USER, "user" },
{ -1, "all" },
};