Advanced Options |
Previous Top Next |
[username]
secret = secret
deny=0.0.0.0/0.0.0.0
permit=192.168.0.0/255.255.255.0 (Allows users from this subnet to connect, ie 192.168.0.1, 192.168.0.2 etc..)
read = call (Allow receiving calls)
write = call (Allow placing calls)
#define DEFAULT_MANAGER_PORT 5038 (Default port for Asterisk management via TCP)
Enabled = yes/no - (Enable/Disable settings)
BindAddr = 0.0.0.0 - (Address manager accepts all connections. If BindAddr = 127.0.0.1 it will be accessible only for clients on the same machine. If address is 0.0.0.0 it will be accessible for all clients that can access it over LAN, Local clients etc).
Read/Write
#define EVENT_FLAG_SYSTEM (1 module load/unload)
#define EVENT_FLAG_CALL (1 state change, etc)
#define EVENT_FLAG_LOG (1 #define EVENT_FLAG_VERBOSE (1 #define EVENT_FLAG_COMMAND (1 commands)))
#define EVENT_FLAG_AGENT (1 info)
#define EVENT_FLAG_USER (1 read/set user info)
If a client is granted the ability to 'read' a given class, 'Asterisk' will send it events of that class. If a client is granted the ability to 'write' a given class, it may send actions of that class.
Set of adresses to deny access
deny=IP1/subnet mask
deny=IP2/subnet mask
Set of addresses to permit access
permit=IP1/subnet mask
permit=IP2/subnet mask