aboutsummaryrefslogtreecommitdiffstats
path: root/doc/manager.txt
blob: 1dc4309ea509b46b482e5af9577a9c2d5127ecaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
The manager is a client/server model over TCP.

Mangement communication consists of tags of the form "header: value", 
terminated with an empty newline (\r\n) in the style of SMTP, HTTP, and
other headers.

The first tag MUST be one of the following:

Action: An action requested by the CLIENT to the Asterisk SERVER.  Only 
one "Action" may be outstanding at any time.

Response: A response to an action from the Asterisk SERVER to the CLIENT.

Event: An event reported by the Asterisk SERVER to the CLIENT

Management users are configured in /etc/asterisk/manager.conf and are 
given permissions for read and write, where write represents their ability 
to perform this class of "action", and read represents their ability to 
receive this class of "event".