aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-16 20:25:27 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-16 20:25:27 +0000
commit3c23a5b71cfadc02b017efd78df805a260ba41b2 (patch)
tree62c5543658a50c2ca033ab3fbe7faa9f6531cf40 /include
parent6d57c4602c02dedf5a83b0cae640dd2eb4c67b90 (diff)
Add auth_policy option to jabber.conf for auto user registration.
The option is global and currently the acceptable values as noted in the sample config are accept or deny. (closes issue #15228) Reported by: lp0 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@235342 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/jabber.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asterisk/jabber.h b/include/asterisk/jabber.h
index da4346305..a3ee0b2fa 100644
--- a/include/asterisk/jabber.h
+++ b/include/asterisk/jabber.h
@@ -84,7 +84,8 @@ enum aji_state {
enum {
AJI_AUTOPRUNE = (1 << 0),
- AJI_AUTOREGISTER = (1 << 1)
+ AJI_AUTOREGISTER = (1 << 1),
+ AJI_AUTOACCEPT = (1 << 2)
};
enum aji_btype {