1 Changes to manager version 1.1:
2 -------------------------------
8 - Response: headers are now either
9 "Success" - Action OK, this message contains response
10 "Error" - Action failed, reason in Message: header
11 "Follows" - Action OK, response follows in following Events.
13 - Manager version changed to 1.1
15 * CHANGED EVENTS AND ACTIONS
16 ----------------------------
17 - The Hold/Unhold events
18 - Both are now "Hold" events
19 For hold, there's a "Status: On" header, for unhold, status is off
20 - Modules chan_sip/chan_iax2
23 - Now use Response: success
24 - New header "Ping: pong" :-)
27 - Now use Response: Success
28 - The new status is reported as "Events: On" or "Events: Off"
30 - The JabberSend action
31 - The Response: header is now the first header in the response
32 - now sends "Response: Error" instead of "Failure"
34 - Newstate and Newchannel events
35 - these have changed headers
36 "State" -> ChannelStateDesc Text based channel state
37 -> ChannelState Numeric channel state
38 - The events does not send "<unknown>" for unknown caller IDs just an empty field
41 - Now includes "AccountCode"
44 - Now has "CalleridNum" for numeric caller id, like Newchannel
45 - The event does not send "<unknown>" for unknown caller IDs just an empty field
48 - Event Dial has new headers, to comply with other events
49 - Source -> Channel Channel name (caller)
50 - SrcUniqueID -> UniqueID Uniqueid
51 (new) -> Dialstring Dialstring in app data
53 - Link and Unlink events
54 - The "Link" and "Unlink" bridge events in channel.c are now renamed to "Bridge"
55 - The link state is in the bridgestate: header as "Link" or "Unlink"
56 - For channel.c bridges, "Bridgetype: core" is added. This opens up for
57 bridge events in rtp.c
58 - The RTP channel also reports Bridge: events with bridgetypes
59 - rtp-native RTP native bridge
60 - rtp-direct RTP peer-2-peer bridge (NAT support only)
61 - rtp-remote Remote (re-invite) bridge. (Not reported yet)
63 - The "Rename" manager event has a renamed header, to use the same
64 terminology for the current channel as other events
67 - The "NewCallerID" manager event has a renamed header
68 - CallerID -> CallerIDnum
69 - The event does not send "<unknown>" for unknown caller IDs just an empty field
72 - The "Reload" event sent at manager reload now has a new header and is now implemented
73 in more modules than manager to alert a reload. For channels, there's a CHANNELRELOAD
75 (new) -> Module: manager | CDR | DNSmgr | RTP | ENUM
76 (new) -> Status: enabled | disabled
77 - To support reload events from other modules too
80 - Status action replies (Event: Status)
82 - link -> BridgedChannel
83 - Account -> AccountCode
84 - (new) -> BridgedUniqueid
86 - StatusComplete Event
88 - (new) -> Items Number of channels reported
91 - The ExtensionStatus manager command now has a "StatusDesc" field with text description of the state
93 - The Registry and Peerstatus events in chan_sip and chan_iax now use "ChannelType" instead of "ChannelDriver"
95 - The Response to Action: IAXpeers now have a Response: Success header
97 - The MeetmeJoin now has caller ID name and Caller ID number fields (like MeetMeLeave)
99 - Action ZapShowChannels
101 - Channel: -> ZapChannel
102 For active channels, the Channel: and Uniqueid: headers are added
103 You can now add a "ZapChannel: " argument to zapshowchannels actions
104 to only get information about one channel.
106 - Event ZapShowChannelsComplete
108 - (new) -> Items: Reports number of channels reported
115 To be able to unload, reload and unload modules from AMI.
117 ActionID: <id> Action ID for this transaction. Will be returned.
118 Module: <name> Asterisk module name (including .so extension)
119 or subsystem identifier:
120 cdr, enum, dnsmgr, extconfig, manager, rtp, http
121 LoadType: load | unload | reload
122 The operation to be done on module
123 If no module is specified for a reload loadtype, all modules are reloaded
125 - Action: ModuleCheck
128 To check version of a module - if it's loaded
130 ActionID: <id> Action ID for this transaction. Will be returned.
131 Module: <name> Asterisk module name (not including extension)
133 If module is loaded, returns version number of the module
135 Note: This will have to change. I don't like sending Response: failure
136 on both command not found (trying this command in earlier versions of
137 Asterisk) and module not found.
138 Also, check if other manager actions behave that way.
144 Modules: res_features, chan_sip
146 Inform about call transfer, linking transferer with transfer target
147 You should be able to trace the call flow with this missing piece
148 of information. If it works out well, the "Transfer" event should
149 be followed by a "Bridge" event
150 The transfermethod: header informs if this is a pbx core transfer
151 or something done on channel driver level. For SIP, check the example:
158 Channel: SIP/device1-01849800
159 SIP-Callid: 091386f505842c87016c4d93195ec67d@127.0.0.1
160 TargetChannel: SIP/device2-01841200
162 TransferContext: default
164 - Event: ChannelUpdate
165 Modules: chan_sip.c, chan_iax2.c
167 Updates channel information with ID of PVT in channel driver, to
168 be able to link events on channel driver level.
169 * Integrated in SVN trunk as of May 4th, 2007
174 Privilege: system,all
175 Uniqueid: 1177271625.27
176 Channel: SIP/olle-01843c00
178 SIPcallid: NTQzYWFiOWM4NmE0MWRkZjExMzU2YzQ3OWQwNzg3ZmI.
179 SIPfullcontact: sip:olle@127.0.0.1:49054
181 - Action: CoreSettings
183 Purpose: To report core settings, like AMI and Asterisk version,
184 maxcalls and maxload settings.
185 * Integrated in SVN trunk as of May 4th, 2007
190 AsteriskVersion: SVN-oej-moremanager-r61756M
191 SystemName: EDVINA-node-a
193 CoreMaxLoadAvg: 0.000000
199 Purpose: To report current PBX core status flags, like
200 number of concurrent calls, startup and reload time.
201 * Integrated in SVN trunk as of May 4th, 2007
205 CoreStartupTime: 22:35:17
206 CoreReloadTime: 22:35:17
209 - Event: NewAccountCode
211 Purpose: To report a change in account code for a live channel
213 Event: NewAccountCode
215 Channel: SIP/olle-01844600
216 Uniqueid: 1177530895.2
217 AccountCode: Stinas account 1234848484
218 OldAccountCode: OllesAccount 12345
220 - Event: ModuleLoadReport
222 Purpose: To report that module loading is complete. Some aggressive
223 clients connect very quickly to AMI and needs to know when
224 all manager events embedded in modules are loaded
225 Also, if this does not happen, something is seriously wrong.
226 This could happen to chan_sip and other modules using DNS.
229 ModuleLoadStatus: Done