diff --git a/include/asterisk/manager.h b/include/asterisk/manager.h index 3e139982af..d5171ecc2e 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 bf5d242872..5195beeb3f 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" }, };