Asterisk ami-event: Difference between revisions

From 탱이의 잡동사니
Jump to navigation Jump to search
 
(149 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
Asterisk AMI event 메시지 내용 정리. Asterisk-13,14 버전 기준.
Asterisk AMI event 메시지 내용 정리. Asterisk-13, Asterisk-14 버전 기준.


Example 항목의 대부분은 Raspberry pi 3 에서 테스트 한 내용이다. 하지만 Asterisk 특성 상, Raspberry pi 에서 정상적으로 테스트 않는 메시지들도 있었기 때문에 Example 은 단지 참고용으로 사용해야 한다.
Example 항목의 대부분은 Raspberry pi 3 에서 테스트 한 내용이다. 하지만 Asterisk 특성 상, Raspberry pi 에서 정상적으로 테스트가 되지않는 메시지들도 있었기 때문에 Example 은 단지 참고용으로 사용해야 한다.


== Common ==
== Common ==
Line 8: Line 8:


=== Channel state description ===
=== Channel state description ===
Reference: include/asterisk/channelstate.h
<pre>
<pre>
Down
Down
Line 19: Line 20:
Dialing Offhook
Dialing Offhook
Pre-ring
Pre-ring
Mute
Unknown
Unknown
</pre>
</pre>
* Down: Channel is down and available.
* Rsrvd: Channel is down, but reserved.
* OffHook: Channel is off hook.
* Dialing: Digits (or equivalent) have been dialed.
* Ring: Line is ringing.
* Ringing: Remote end is ringing.
* Up: Line is up.
* Busy: LIne is busy.
* Dialing Offhook: Digits (or equivalent) have been dialed while offhook.
* Pre-ring: Channel has detected and incoming call and waiting for ring.
* Mute: Do not transmit voice data.


=== Dial result status ===
=== Dial result status ===
Line 44: Line 57:
* GOTO : The dial completed, but the caller jumped to a dialplan location. If known, the location the caller is jumping to will be appended to the result following a ":".
* GOTO : The dial completed, but the caller jumped to a dialplan location. If known, the location the caller is jumping to will be appended to the result following a ":".
* NOANSWER : The called party failed to answer.
* NOANSWER : The called party failed to answer.
=== Hangup cause ===
See [[Asterisk_hangup_code]]


== AgentCalled ==
== AgentCalled ==
Line 445: Line 461:
Linkedid: <value>
Linkedid: <value>
Agent: <value>
Agent: <value>
</pre>
* Agent : Agent ID of the agent.
=== Example ===
<pre>
Event: AgentLogin
Privilege: agent,all
Channel: SIP/agent-01-00000002
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: agent-01@pluto.pchero21.com
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample_agent
Exten: s
Priority: 2
Uniqueid: 1488792387.4
Linkedid: 1488792387.4
Agent: 10001
</pre>
</pre>


Line 453: Line 491:


== AgentLogoff ==
== AgentLogoff ==
Agent 가 logoff 되었음을 알려준다.
Raised whn an Agent has logged off.
Raised whn an Agent has logged off.


Line 463: Line 503:
* Agent : Agent ID of the agent.
* Agent : Agent ID of the agent.
* Logintime : The number of seconds the agent was logged in.
* Logintime : The number of seconds the agent was logged in.
=== Example ===
<pre>
Event: AgentLogoff
Privilege: agent,all
Channel: SIP/agent-01-00000004
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: agent-01@pluto.pchero21.com
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample_agent
Exten: s
Priority: 2
Uniqueid: 1488794579.8
Linkedid: 1488794579.8
Agent: 10001
Logintime: 32
</pre>


=== See also ===
=== See also ===
Line 630: Line 692:
* ActionID
* ActionID


=== See also ===
=== Example ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Agents
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Agents
Event: Agents
Agent: 10001
Name: agent 10001
Status: AGENT_LOGGEDOFF
</pre>


== AgentComplete ==
<pre>
Final response event in a series of events to the Agents AMI action.
Event: Agents
Agent: 10001
Name: agent 10001
Status: AGENT_IDLE
LoggedInTime: 1488794919
Channel: SIP/agent-01-00000006
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: agent-01@pluto.pchero21.com
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample_agent
Exten: s
Priority: 2
Uniqueid: 1488794919.12
Linkedid: 1488794919.12
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Agents
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Agents
 
== AgentsComplete ==
Final response event in a series of events to the Agents AMI action.


Class : AGENT
Class : AGENT
Line 688: Line 780:
* ResultCode : The numeric result code from AGI.
* ResultCode : The numeric result code from AGI.
* Result : The text result rason from AGI.
* Result : The text result rason from AGI.
=== Example ===
<pre>
Event: AGIExecEnd
Privilege: agi,all
Channel: PJSIP/pjagent-02-00000006
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: pjagent-02
CallerIDName: pjagent-02
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample-agi-async
Exten: s
Priority: 2
Uniqueid: 1516568222.6
Linkedid: 1516568222.6
CommandId: 1492281484
Command: Answer
ResultCode: 200
Result: Success
</pre>


=== See also ===
=== See also ===
Line 732: Line 848:
* CommandId : Random identification number assigned to the execution of this command.
* CommandId : Random identification number assigned to the execution of this command.


=== See also ===
=== Example ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AGIExecStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AGIExecEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AGI
 
== Alarm ==
Raised when an alarm is set on a DAHDI channel.
 
Class : SYSTEM
<pre>
<pre>
Event: Alarm
Event: AGIExecStart
Privilege: agi,all
Channel: PJSIP/pjagent-02-00000006
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: pjagent-02
CallerIDName: pjagent-02
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample-agi-async
Exten: s
Priority: 2
Uniqueid: 1516568222.6
Linkedid: 1516568222.6
CommandId: 1492281484
Command: Answer
</pre>
 
<pre>
Event: AsyncAGIStart
Privilege: agi,all
Channel: PJSIP/199-00000038
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: 199
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: demo
Exten: 5000
Priority: 2
Uniqueid: 1523491570.91
Linkedid: 1523491570.91
Env: agi_request%3A%20async%0Aagi_channel%3A%20PJSIP%2F199-00000038%0Aagi_language%3A%20en%0Aagi_type%3A%20PJSIP%0Aagi_uniqueid%3A%201523491570.91%0Aagi_version%3A%2015.3.0%0Aagi_callerid%3A%20199%0Aagi_calleridname%3A%20unknown%0Aagi_callingpres%3A%200%0Aagi_callingani2%3A%200%0Aagi_callington%3A%200%0Aagi_callingtns%3A%200%0Aagi_dnid%3A%205000%0Aagi_rdnis%3A%20unknown%0Aagi_context%3A%20demo%0Aagi_extension%3A%205000%0Aagi_priority%3A%202%0Aagi_enhanced%3A%200.0%0Aagi_accountcode%3A%20%0Aagi_threadid%3A%20139751619557120%0Aagi_arg_1%3A%20jade_dialplan%0Aagi_arg_2%3A%20a099b914-e427-4455-848f-73d796b359df%0A%0A
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AGIExecStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AGIExecEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AGI
 
== Alarm ==
Raised when an alarm is set on a DAHDI channel.
 
Class : SYSTEM
<pre>
Event: Alarm
DAHDIChannel: <value>
DAHDIChannel: <value>
Alarm: <value>
Alarm: <value>
Line 1,059: Line 1,217:
* ContactRegistered : The number of non-permanent contacts associated with this AoR.
* ContactRegistered : The number of non-permanent contacts associated with this AoR.
* EndpointName : The name of the endpoint associated with this information.
* EndpointName : The name of the endpoint associated with this information.
=== Example ===
<pre>
Event: AorDetail
ObjectType: aor
ObjectName: 199
MinimumExpiration: 60
DefaultExpiration: 3600
QualifyTimeout: 3.000000
Mailboxes:
SupportPath: false
VoicemailExtension:
MaxContacts: 1
AuthenticateQualify: false
Contacts: 199/sip:199@172.17.42.1:36115;transport=ws;rtcweb-breaker=no
MaximumExpiration: 7200
QualifyFrequency: 0
RemoveExisting: true
OutboundProxy:
TotalContacts: 1
ContactsRegistered: 1
EndpointName: 199
</pre>


=== See also ===
=== See also ===
Line 1,142: Line 1,323:
* Result : URL encoded result string from the executed AGI command.
* Result : URL encoded result string from the executed AGI command.


=== See also ===
=== Example ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIExec
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIStart
Event: AsyncAGIExec
Privilege: agi,all
Channel: PJSIP/pjagent-02-00000006
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: pjagent-02
CallerIDName: pjagent-02
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample-agi-async
Exten: s
Priority: 2
Uniqueid: 1516568222.6
Linkedid: 1516568222.6
Result: 200%20result%3D0%0A
CommandId: 77cdcf4c-feed-11e7-bd12-5b24ee4818c3
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIExec
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AGI
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AGI
Line 1,184: Line 1,387:
* Linkedid
* Linkedid
* Env : URL encoded string read from the AsyncAGI server.
* Env : URL encoded string read from the AsyncAGI server.
=== Example ===
==== Normal ====
<pre>
Event: AsyncAGIStart
Privilege: agi,all
Channel: PJSIP/pjagent-02-00000000
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: pjagent-02
CallerIDName: pjagent-02
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample-agi-async
Exten: s
Priority: 2
Uniqueid: 1516563765.0
Linkedid: 1516563765.0
Env: agi_request%3A%20async%0Aagi_channel%3A%20PJSIP%2Fpjagent-02-00000000%0Aagi_language%3A%20en%0Aagi_type%3A%20PJSIP%0Aagi_uniqueid%3A%201516563765.0%0Aagi_version%3A%20GIT-master-516ab38M%0Aagi_callerid%3A%20pjagent-02%0Aagi_calleridname%3A%20pjagent-02%0Aagi_callingpres%3A%200%0Aagi_callingani2%3A%200%0Aagi_callington%3A%200%0Aagi_callingtns%3A%200%0Aagi_dnid%3A%204006%0Aagi_rdnis%3A%20unknown%0Aagi_context%3A%20sample-agi-async%0Aagi_extension%3A%20s%0Aagi_priority%3A%202%0Aagi_enhanced%3A%200.0%0Aagi_accountcode%3A%20%0Aagi_threadid%3A%201954128928%0A%0A
</pre>
* Decoded Env info
<pre>
agi_request: async
agi_channel: PJSIP/pjagent-02-00000000
agi_language: en
agi_type: PJSIP
agi_uniqueid: 1516563765.0
agi_version: GIT-master-516ab38M
agi_callerid: pjagent-02
agi_calleridname: pjagent-02
agi_callingpres: 0
agi_callingani2: 0
agi_callington: 0
agi_callingtns: 0
agi_dnid: 4006
agi_rdnis: unknown
agi_context: sample-agi-async
agi_extension: s
agi_priority: 2
agi_enhanced: 0.0
agi_accountcode:
agi_threadid: 1954128928
</pre>


=== See also ===
=== See also ===
Line 1,324: Line 1,572:
* NonceLifetime : Lifetime of a nonce associated with this authentication config.
* NonceLifetime : Lifetime of a nonce associated with this authentication config.
* EndpointName : The name of the endpoint associated with this information.
* EndpointName : The name of the endpoint associated with this information.
=== Example ===
<pre>
Event: AuthDetail
ObjectType: auth
ObjectName: 199
Username: 199
Md5Cred:
Realm:
AuthType: userpass
Password: 199199
NonceLifetime: 32
EndpointName: 199
</pre>


=== See also ===
=== See also ===
Line 1,449: Line 1,711:
* Extension : Destination extension for the blind transfer.
* Extension : Destination extension for the blind transfer.


=== See also ===
=== Example ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BlindTransfer
==== Success ====
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_BlindTransfer
<pre>
 
Event: BlindTransfer
== BridgeCreate ==
Privilege: call,all
Riased when a bridge is created.
Result: Success
 
TransfererChannel: SIP/agent-01-00000005
Class : CALL
TransfererChannelState: 6
TransfererChannelStateDesc: Up
TransfererCallerIDNum: agent-01
TransfererCallerIDName: <unknown>
TransfererConnectedLineNum: <unknown>
TransfererConnectedLineName: <unknown>
TransfererLanguage: en
TransfererAccountCode:
TransfererContext: park-dial
TransfererExten: SIP_agent-01
TransfererPriority: 1
TransfererUniqueid: 1481706048.11
TransfererLinkedid: 1481706048.11
TransfereeChannel: SIP/agent-01-00000006
TransfereeChannelState: 6
TransfereeChannelStateDesc: Up
TransfereeCallerIDNum: SIP_agent-01
TransfereeCallerIDName: <unknown>
TransfereeConnectedLineNum: agent-01
TransfereeConnectedLineName: <unknown>
TransfereeLanguage: en
TransfereeAccountCode:
TransfereeContext: public
TransfereeExten:
TransfereePriority: 1
TransfereeUniqueid: 1481706093.12
TransfereeLinkedid: 1481706048.11
BridgeUniqueid: b9ad516f-984d-4dce-a465-d95690edc656
BridgeType: basic
BridgeTechnology: native_rtp
BridgeCreator: <unknown>
BridgeName: <unknown>
BridgeNumChannels: 2
IsExternal: Yes
Context: sample_musiconhold
Extension: s
</pre>
 
==== Fail ====
<pre>
Event: BlindTransfer
Privilege: call,all
Result: Invalid
TransfererChannel: SIP/agent-01-00000002
TransfererChannelState: 6
TransfererChannelStateDesc: Up
TransfererCallerIDNum: agent-01
TransfererCallerIDName: <unknown>
TransfererConnectedLineNum: <unknown>
TransfererConnectedLineName: <unknown>
TransfererLanguage: en
TransfererAccountCode:
TransfererContext: sample_park
TransfererExten: s
TransfererPriority: 2
TransfererUniqueid: 1481705835.4
TransfererLinkedid: 1481705835.4
BridgeUniqueid: 299de6ea-1dc7-4144-9e46-d6513723333e
BridgeType: parking
BridgeTechnology: holding_bridge
BridgeCreator: Parking
BridgeName: default
BridgeNumChannels: 1
IsExternal: Yes
Context: sample_musiconhold
Extension: s
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BlindTransfer
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_BlindTransfer
 
== BridgeCreate ==
Riased when a bridge is created.
 
Class : CALL
<pre>
<pre>
Event: BridgeCreate
Event: BridgeCreate
Line 1,644: Line 1,981:
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeInfoChannel
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeInfoChannel


== BridgeLeave ==
== BridgeInfoComplete ==
Information about a bridge.
 
Class : COMMAND
<pre>
<pre>
Event: BridgeLeave
Event: BridgeInfoComplete
Privilege: call,all
BridgeUniqueid: <value>
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
BridgeType: <value>
BridgeType: basic
BridgeTechnology: <value>
BridgeTechnology: simple_bridge
BridgeCreator: <value>
BridgeCreator: <unknown>
BridgeName: <value>
BridgeName: <unknown>
BridgeNumChannels: <value>
BridgeNumChannels: 1
</pre>
Channel: SIP/test-04-0000019b
* BridgeUniqueid
ChannelState: 6
* BridgeType : The type of bridge
ChannelStateDesc: Up
* BridgeTechnology : Technology in use by the bridge.
CallerIDNum: test-04
* BridgeCreator : Entity that created the bridge if applicable.
CallerIDName: <unknown>
* BridgeName : Name used to refer to the bridge by its BridgeCreator if applicable.
ConnectedLineNum: <unknown>
* BridgeNumChannels : Number of channels in the bridge.
ConnectedLineName: <unknown>
Language: en
AccountCode:  
Context: common-incoming
Exten:  
Priority: 1
Uniqueid: 1447438716.469
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
</pre>


== ChallengeSent ==
=== See also ===
인증과 관련된 시도가 있음을 나타낸다.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeInfoComplete


Raised when an Asterisk service sends an authentication challenge to a request.
== BridgeLeave ==
Raised when a channel leaves a bridge.


Class : SECURITY
Class : CALL
<pre>
<pre>
Event: ChallengeSent
Event: BridgeLeave
EventTV: <value>
BridgeUniqueid: <value>
Severity: <value>
BridgeType: <value>
Service: <value>
BridgeTechnology: <value>
EventVersion: <value>
BridgeCreator: <value>
AccountID: <value>
BridgeName: <value>
SessionID: <value>
BridgeNumChannels: <value>
LocalAddress: <value>
Channel: <value>
RemoteAddress: <value>
ChannelState: <value>
Challenge: <value>
ChannelStateDesc: <value>
[Module:] <value>
CallerIDNum: <value>
[SessionTV:] <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
</pre>
</pre>
* EventTV : The time the event was detected.
* BridgeUniqueid
* Severity : A relative severity of the security event.
* BridgeType : The type of bridge.
: Informational
* BridgeTechnology : Technology in use by the bridge.
: Error
* BridgeCreator : Entity that created the bridge if applicable.
* Service : The Asterisk service that raised the security event.
* BridgeName : Name used to the bridge by its BridgeCreator if applicable.
* EventVersion : The version of this event.
* BridgeNumChannels : Number of channels in the bridge.
* AccountID : The Service account associated with the security event notification.
* Channel
* SessionID : A unique identifier for the session in the service that raised the event.
* ChannelState
* LocalAddress : The address of the Asterisk service that raised the security event.
* ChannelStateDesc
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* CallerIDNum
* Challenge : The challenge that was sent.
* CallerIDName
* Module : If available, the name of the module that raised the event.
* ConnectedLineNum
* SessionTV : The timestamp reported by the session.
* ConnectedLineName
 
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
 
=== Example ===
=== Example ===
<pre>
<pre>
Event: ChallengeSent
Event: BridgeLeave
Privilege: security,all
Privilege: call,all
EventTV: 2016-12-09T09:40:45.561+0000
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
Severity: Informational
BridgeType: basic
Service: SIP
BridgeTechnology: simple_bridge
EventVersion: 1
BridgeCreator: <unknown>
AccountID: agent-01
BridgeName: <unknown>
SessionID: 0x12cc840
BridgeNumChannels: 1
LocalAddress: IPV4/UDP/10.12.118.11/5060
Channel: SIP/test-04-0000019b
RemoteAddress: IPV4/UDP/10.1.27.60/5060
ChannelState: 6
Challenge: 72ff3581
ChannelStateDesc: Up
CallerIDNum: test-04
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: common-incoming
Exten:  
Priority: 1
Uniqueid: 1447438716.469
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ChallengeSent
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeLeave
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeCreate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeDestroy
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeEnter
 
== BridgeMerge ==
Raised when two bridges are merged.


== DeviceStateChange ==
Class : CALL
Device의 state 가 변경되었음을 나타낸다.
<pre>
Event: BridgeMerge
ToBridgeUniqueid: <value>
ToBridgeType: <value>
ToBridgeTechnology: <value>
ToBridgeCreator: <value>
ToBridgeName: <value>
ToBridgeNumChannels: <value>
FromBridgeUniqueid: <value>
FromBridgeType: <value>
FromBridgeTechnology: <value>
FromBridgeCreator: <value>
FromBridgeName: <value>
FromBridgeNumChannels: <value>
</pre>
* ToBridgeUniqueid
* ToBridgeType : The type of bridge.
* ToBridgeTechnology : Technology in use by the bridge.
* ToBridgeCreator : Entity that created the bridge if applicable.
* ToBridgeName : Name used to refer to the bridge by its BridgeCreator if applicable.
* ToBridgeNumChannels : Number of channels in the bridge.
* FromBridgeUniqueid
* FromBridgeType : The type of bridge.
* FromBridgeTechnology : Technology in use by the bridge.
* FromBridgeCreator : Entity that created the bridge if applicable.
* FromBridgeName : Name used to refer to the bridge by its BridgeCreator if applicable.
* FromBridgeNumChannels : Number of channels in the bridge.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeMerge
 
== Cdr ==
Raised when a CDR is generated.
 
The Cdr event is only raised when the cdr_manager backend is loaded and registered with the CDR engine. This event can contain additional fields depending on the configuration provided by cdr_manager.conf.


ExtensionStatus 이벤트는 dialplan hints 와 연관된 내용에만 발생하는 것에 반해, DeviceStateChange 이벤트는 모든 device state 의 변경에 발생한다는 것이 다르다.
Class : CDR
<pre>
<pre>
Event: DeviceStateChange
Event: Cdr
Device: <value>
AccountCode: <value>
State: <value>
Source: <value>
Destination: <value>
DestinationContext: <value>
CallerID: <value>
Channel: <value>
DestinationChannel: <value>
LastApplication: <value>
LastData: <value>
StartTime: <value>
AnswerTime: <value>
EndTime: <value>
Duration: <value>
BillableSeconds: <value>
Disposition: <value>
AMAFlags: <value>
UniqueID: <value>
UserField: <value>
</pre>
</pre>
* Device : state 가 변경된 device
* AccountCode : The account code of the Party A channel.
* State : 변경된 state
* Source : The Caller ID number associated with the Party A in the CDR.
* Destination : The diaplan extension the Party A was executing.
* DestinationContext : The dialplan context the Party A was executing.
* CallerID : The Caller ID name associated with the Party A in the CDR.
* Channel :The channel name of the Party A.
* DestinationChannel : The channel name of the Party B.
* LastApplication : The last dialplan application the Party A executed.
* LastData : The parameters passed to the last dialplan application the Party A executed.
* StartTime : The time the CDR was created.
* AnswerTime : The earliest of either the time when Party A answered, or the start time of this CDR.
* EndTime : The time when the CDR was finished. This occurs when the Party A hangs up or when the bridge between Party A and Party B is broken.
* Duration : The time, in seconds, of EndTime - StartTime.
* BillableSeconds : The time, in seconds, of AnswerTime - StartTime.
* Dispostion : The final known disposition of the CDR.
: NO ANSWER : The channel was not answered. This is the default disposition.
: FAILED : The channel attempted to dial but the call failed. The congestion setting in cdr.conf can result in the AST_CAUSE_CONGESTION hang up cause or the CONGESTION dial status to map to this disposition.
: BUSY : The channel attempted to dial but the remote party was busy.
: ANSWERED : The channel was answered. The hang up cause will no longer impact the disposition of the CDR.
: CONGESTION : The channel attempted to dial but the remote party was congested.
* AMAFlags : A flag that informs a billing system how to treat the CDR.
: OMIT : This CDR should be ignored.
: BILLING : This CDR contains valid billing data.
: DOCUMENTATION : This CDR is for documentation purposes.
* UniqueID : A unique identifier for the Party A channel.
* UserField : A user defined field set on the channels. If set on both the Party A and Party B channel, the userfields of both are concatenated and separated by a ;.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Cdr
 
== CEL ==
Raised when a Channel Event Log is generated for a channel.


=== Example ===
Class : CEL
<pre>
<pre>
Event: DeviceStateChange
Event: CEL
Privilege: call,all
EventName: <value>
Device: SIP/trunk_test_1
AccountCode: <value>
State: RINGING
CallerIDnum: <value>
CallerIDname: <value>
CallerIDani: <value>
CallerIDrdnis: <value>
CallerIDdnid: <value>
Exten: <value>
Context: <value>
Application: <value>
AppData: <value>
EventTime: <value>
AMAFlags: <value>
UniqueID: <value>
LinkedID: <value>
UserField: <value>
Peer: <value>
PeerAccount: <value>
Extra: <value>
</pre>
</pre>
* EventName : The name of the CEL event being raised. This can include both the system defined CEL events, as well as user defined event. All events listed here may not be raised, depending on the configuration in cel.conf
: CHAN_START : A channel was created.
: CHAN_END : A channel was terminated.
: ANSWER : A channel answered.
: HANGUP : A channel was hung up.
: BRIDGE_ENTER : A channel entered a bridge.
: BRIDGE_EXIT : A channel entered into a tacked application.
: APP_START : A channel entered into a tacked application.
: APP_END : A channel left a tacked application.
: PARK_START : A channel was parked.
: PARK_END : A channel was unparked.
: BLINDTRANSFER : A channel initiated a blind transfer.
: PICKUP : A channel initiated a call pick up.
: FORWARD : A channel is being forwared to another destination.
: LINKEDID_END : The linked ID associated with this channel is being retired.
: LOCAL_OPTIMIZE : A local channel optimization has occurred.
: USER_DEFINED : A user defined type. This event is only present if show user defined in cel.conf is True. Otherwise, the user defined event will be placed directly in the EventName filed.
* AccountCode : The channel's account code.
* CallerIDnum : The Caller ID number.
* CallerIDname : The Caller ID name.
* CallerIDani : The Caller ID Automatic Number Identification.
* CallerIDrdnis : The Caller ID redirected Dialed Number Identification Service.
* CallerIDdnid : The Caller ID Dialed Number Identifier.
* Exten : The dialplan extension the channel is currently executing in.
* Context : The dialplan context the channel is currently executing in.
* Application : The dialplan application the channel is currently executing.
* AppData : The arguments pased to the dialplan Application.
* EventTime : The time the CEL event occurred.
* AMAFlags : A flag that informs a biling system how to treat the CEL.
: OMIT : This event should be ignored.
: BILLING : This event contains valid billing data.
: DOCUMENTATION : This event is for documentation purposes.
* UniqueID : The unique ID of the channel.
* LinkedID : The linked ID of the channel, which ties this event to other related channel's events.
* UserField : A user defined field set on a channel, contraining arbitrary application specific data.
* Peer : If this channel is in a bridge, the channel that it is in a bridge with.
* PeerAccount : If this channel is in bridge, the accountcode of the channel it is in a bridge with.
* Extra : Some events will have event specific data that accompanies the CEL record. This extra data is JSON encoded, and is dependent on the event in question.


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DeviceStateChange
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_CEL
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ExtensionStatus
 
== ChallengeResponseFailed ==
Raised when a request's attempt to authenticate has been challenged, and the request failed the authentication challenge.


== DialBegin ==
Class : SECRURITY
<pre>
<pre>
Event: DialBegin
Event: ChallengeResponseFailed
Privilege: call,all
EventTV: <value>
DestChannel: SIP/trunk_test_1-0000019a
Severity: <value>
DestChannelState: 0
Service: <value>
DestChannelStateDesc: Down
EventVersion: <value>
DestCallerIDNum: <unknown>
AccountID: <value>
DestCallerIDName: <unknown>
SessionID: <value>
DestConnectedLineNum: <unknown>
LocalAddress: <value>
DestConnectedLineName: <unknown>
RemoteAddress: <value>
DestLanguage: en
Challenge: <value>
DestAccountCode:  
Response: <value>
DestContext: from_provider
ExpectedResponse: <value>
DestExten:  
[Module:] <value>
DestPriority: 1
[SessionTV:] <value>
DestUniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DialString: 1237764000@trunk_test_1
</pre>
</pre>
* EventTV : The time the event was detected.
* Serverity :  A relative serverity of the security event.
: Informational
: Error
* Service : The Asterisk service that raised the security event.
* EventVersion : The version of this event.
* AccountID : The Service account associated with the security event notification.
* SeesionID : A unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* Challenge : The challenge that was sent.
* Response : The response that was received.
* ExpectedResponse : The expected response to the challenge.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.


== DialEnd ==
=== See also ===
Dial 이 종료되었음을 알려준다.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ChallengeResponseFailed
 
== ChallengeSent ==
인증과 관련된 시도가 있음을 나타낸다.
 
Raised when an Asterisk service sends an authentication challenge to a request.


Class : CALL
Class : SECURITY
<pre>
<pre>
Event: DialEnd
Event: ChallengeSent
Channel: <value>
EventTV: <value>
ChannelState: <value>
Severity: <value>
ChannelStateDesc: <value>
Service: <value>
CallerIDNum: <value>
EventVersion: <value>
CallerIDName: <value>
AccountID: <value>
ConnectedLineNum: <value>
SessionID: <value>
ConnectedLineName: <value>
LocalAddress: <value>
AccountCode: <value>
RemoteAddress: <value>
Context: <value>
Challenge: <value>
Exten: <value>
[Module:] <value>
Priority: <value>
[SessionTV:] <value>
Uniqueid: <value>
Linkedid: <value>
DestChannel: <value>
DestChannelState: <value>
DestChannelStateDesc: <value>
DestCallerIDNum: <value>
DestCallerIDName: <value>
DestConnectedLineNum: <value>
DestConnectedLineName: <value>
DestAccountCode: <value>
DestContext: <value>
DestExten: <value>
DestPriority: <value>
DestUniqueid: <value>
DestLinkedid: <value>
DialStatus: <value>
[Forward:] <value>
</pre>
</pre>
* Channel : Channel name.
* EventTV : The time the event was detected.
* ChannelState : Channel's state.
* Severity : A relative severity of the security event.
* ChannelStateDesc : Channel's state description.
: Informational
* CallerIDNum :
: Error
* CallerIDName :  
* Service : The Asterisk service that raised the security event.
* ConnectedLineNum :
* EventVersion : The version of this event.
* ConnectedLineName :
* AccountID : The Service account associated with the security event notification.
* AccountCode :
* SessionID : A unique identifier for the session in the service that raised the event.
* Context :
* LocalAddress : The address of the Asterisk service that raised the security event.
* Exten :
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* Priority :
* Challenge : The challenge that was sent.
* Uniqueid :
* Module : If available, the name of the module that raised the event.
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* SessionTV : The timestamp reported by the session.
* DestChannel : Destination channel name.
* DestChannelState : Destination channel's state.
* DestChannelStateDesc : Destination channel's state description.
* DestCallerIDNum :
* DestCallerIDName :
* DestAccountCode :
* DestExten :
* DestPriority :
* DestUniqueid :
* DestLinkedid :
* DialStatus : The result of the dial operation.
* Forward : If the call was forwarded, where the call was forward to.


=== Example ===
=== Example ===
<pre>
<pre>
Event: DialEnd
Event: ChallengeSent
Privilege: call,all
Privilege: security,all
Channel: SIP/300-00000008
EventTV: 2016-12-09T09:40:45.561+0000
ChannelState: 4
Severity: Informational
ChannelStateDesc: Ring
Service: SIP
CallerIDNum: 300
EventVersion: 1
CallerIDName: <unknown>
AccountID: agent-01
ConnectedLineNum: <unknown>
SessionID: 0x12cc840
ConnectedLineName: <unknown>
LocalAddress: IPV4/UDP/10.12.118.11/5060
Language: en
RemoteAddress: IPV4/UDP/10.1.27.60/5060
AccountCode:  
Challenge: 72ff3581
Context: queue_sales
Exten: s
Priority: 2
Uniqueid: 1480668413.15
Linkedid: 1480668413.15
DestChannel: SIP/agent-03-00000009
DestChannelState: 6
DestChannelStateDesc: Up
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: 300
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode:
DestContext: public
DestExten: s
DestPriority: 1
DestUniqueid: 1480668414.16
DestLinkedid: 1480668413.15
DialStatus: ANSWER
</pre>
</pre>
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ChallengeSent
== ContactStatus ==
Raised when the state of a contact changes.
Class: SYSTEM
<pre>
<pre>
Event: DialEnd
Event: ContactStatus
Privilege: call,all
URI: <value>
Channel: SIP/300-0000001b
ContactStatus: <value>
ChannelState: 4
AOR: <value>
ChannelStateDesc: Ring
EndpointName: <value>
CallerIDNum: 300
RoundtripUsec: <value>
CallerIDName: <unknown>
UserAgent: <value>
ConnectedLineNum: <unknown>
RegExpire: <value>
ConnectedLineName: <unknown>
ViaAddress: <value>
Language: en
CallID: <value>
AccountCode:  
</pre>
Context: queue_sales
* URI: This contact's URI.
Exten: s
* ContactStatus - New status of the contact.
Priority: 2
: Unknown
Uniqueid: 1480670638.49
: Unreachable
Linkedid: 1480670638.49
: Reachable
DestChannel: SIP/agent-02-0000001d
: Created
DestChannelState: 5
: Removed
DestChannelStateDesc: Ringing
: Updated
DestCallerIDNum: <unknown>
* AOR: The name of the associated aor.
DestCallerIDName: <unknown>
* EndpointName: The name of the associated endpoint.
DestConnectedLineNum: 300
* RoundtripUse: The RTT measured during the last qualify.
DestConnectedLineName: <unknown>
* UserAgent: Content of the User-Agent header in REGISTER request.
DestLanguage: en
* RegExpire: Absolute time that this contact is no longer valid after.
DestAccountCode:  
* ViaAddress: IP address:port of the last Via header in REGISTER request.
DestContext: public
* CallID: Content of the Call-ID header in REGISTER request.
DestExten: s
 
DestPriority: 1
=== Example ===
DestUniqueid: 1480670639.51
<pre>
DestLinkedid: 1480670638.49
Event: ContactStatus
DialStatus: NOANSWER
Privilege: system,all
URI: sip:199@172.17.42.1:32942;transport=ws;rtcweb-breaker=no
ContactStatus: Unknown
AOR: 199
EndpointName: 199
RoundtripUsec: 0
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_ContactStatus
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Dial
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Originate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Originate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialBegin


== FullyBooted ==
== ContactStatusDetail ==
Raised when all Asterisk initialization procedures have finished.
Provide details about a contact's status.


Class : SYSTEM
Class: COMMAND
<pre>
<pre>
Event: FullyBooted
Event: ContactStatusDetail
AOR: <value>
URI: <value>
Status: <value>
Status: <value>
Uptime: <value>
RoundtripUsec: <value>
LastReload: <value>
EndpointName: <value>
UserAgent: <value>
RegExpire: <value>
ViaAddress: <value>
CallID: <value>
ID: <value>
AuthenticateQualify: <value>
OutboundProxy: <value>
Path: <value>
QualifyFrequency: <value>
QualifyTimeout: <value>
</pre>
</pre>
* Status : Informational message
* AOR: The AoR that owns this contact.
* Uptime : Seconds since start
* URI: This contact's URI.
* LastReload : Seconds since last reload
* Status: This contact's status.
: Reachable
: Unreachable
* RoundtripUsec: The round trip time in microseconds.
* EndpointName: The name of the endpoint associated with this information.
* UserAgent: Content of the User-Agent header in REGISTER request.
* RegExpire: Absolute time that this contact is no longer valid after.
* ViaAddress: IP address:port of the last Via header in REGISTER request. Will only appear in the event if available.
* CallID: Content of the Call-ID header in REGISTER request. Will only appear in the event if available.
* ID: The sorcery ID of the contact.
* AuthenticationQualify: A boolean indicating whether a qualify should be authenticated.
* OutboundProxy: The contact's outbound proxy.
* Path: The Path header received on the REGISTER.
* QualifyFrequency: The interval in seconds at which the contact will be qualified.
* QualifyTimeout: The elapsed time in decimal seconds after which an OPTIONS message is sent before the contact is considered unavailable.


=== Example ===
=== Example ===
<pre>
<pre>
Event: FullyBooted
Event: ContactStatusDetail
Privilege: system,all
AOR: 199
Uptime: 908581
URI: sip:199@172.17.42.1:36115;transport=ws;rtcweb-breaker=no
LastReload: 908581
UserAgent: IM-client/OMA1.0 sipML5-v1.2016.03.04
Status: Fully Booted
RegExpire: 1512048398
ViaAddress: df7jal23ls0d.invalid
CallID: 0ac22a50-8170-19d0-85fd-5e61c133bd00
Status: Unknown
RoundtripUsec: N/A
EndpointName: 199
ID: 199;@29493f07102d24dcb5054982b064d9ee
AuthenticateQualify: 0
OutboundProxy:
Path:
QualifyFrequency: 0
QualifyTimeout: 3.000
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_FullyBooted
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_ContactStatusDetail
 
== CoreShowChannel ==
Raised in response to a CoreShowChannels command.


== Hangup ==
Class : CALL
채널이 종료되었음을 알려준다.
<pre>
<pre>
Event: Hangup
Event: CoreShowChannel
ActionID: <value>
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 1,946: Line 2,462:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Cause: <value>
BridgeId: <value>
Cause-txt: <value>
Application: <value>
</pre>
ApplicationData: <value>
* Channel
Duration: <value>
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
* ChannelStateDesc : Channel state description 참조.
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* Cause - A numeric cause code for why the channel was hung up.
* Cause-txt - A description of why the channel was hung up.
 
'''Cause'''
<pre>
/*! \name Causes for disconnection (from Q.850/Q.931)
*  These are the internal cause codes used in Asterisk.
*  \ref AstCauses
*/
/*@{ */
#define AST_CAUSE_UNALLOCATED                    1
#define AST_CAUSE_NO_ROUTE_TRANSIT_NET          2
#define AST_CAUSE_NO_ROUTE_DESTINATION          3
#define AST_CAUSE_MISDIALLED_TRUNK_PREFIX        5
#define AST_CAUSE_CHANNEL_UNACCEPTABLE          6
#define AST_CAUSE_CALL_AWARDED_DELIVERED        7
#define AST_CAUSE_PRE_EMPTED                    8
#define AST_CAUSE_NUMBER_PORTED_NOT_HERE        14
#define AST_CAUSE_NORMAL_CLEARING              16
#define AST_CAUSE_USER_BUSY                    17
#define AST_CAUSE_NO_USER_RESPONSE              18
#define AST_CAUSE_NO_ANSWER                    19
#define AST_CAUSE_SUBSCRIBER_ABSENT            20
#define AST_CAUSE_CALL_REJECTED                21
#define AST_CAUSE_NUMBER_CHANGED                22
#define AST_CAUSE_REDIRECTED_TO_NEW_DESTINATION 23
#define AST_CAUSE_ANSWERED_ELSEWHERE            26
#define AST_CAUSE_DESTINATION_OUT_OF_ORDER      27
#define AST_CAUSE_INVALID_NUMBER_FORMAT        28
#define AST_CAUSE_FACILITY_REJECTED            29
#define AST_CAUSE_RESPONSE_TO_STATUS_ENQUIRY    30
#define AST_CAUSE_NORMAL_UNSPECIFIED            31
#define AST_CAUSE_NORMAL_CIRCUIT_CONGESTION    34
#define AST_CAUSE_NETWORK_OUT_OF_ORDER          38
#define AST_CAUSE_NORMAL_TEMPORARY_FAILURE      41
#define AST_CAUSE_SWITCH_CONGESTION            42
#define AST_CAUSE_ACCESS_INFO_DISCARDED        43
#define AST_CAUSE_REQUESTED_CHAN_UNAVAIL        44
#define AST_CAUSE_FACILITY_NOT_SUBSCRIBED      50
#define AST_CAUSE_OUTGOING_CALL_BARRED          52
#define AST_CAUSE_INCOMING_CALL_BARRED          54
#define AST_CAUSE_BEARERCAPABILITY_NOTAUTH      57
#define AST_CAUSE_BEARERCAPABILITY_NOTAVAIL    58
#define AST_CAUSE_BEARERCAPABILITY_NOTIMPL      65
#define AST_CAUSE_CHAN_NOT_IMPLEMENTED          66
#define AST_CAUSE_FACILITY_NOT_IMPLEMENTED      69
#define AST_CAUSE_INVALID_CALL_REFERENCE        81
#define AST_CAUSE_INCOMPATIBLE_DESTINATION      88
#define AST_CAUSE_INVALID_MSG_UNSPECIFIED      95
#define AST_CAUSE_MANDATORY_IE_MISSING          96
#define AST_CAUSE_MESSAGE_TYPE_NONEXIST        97
#define AST_CAUSE_WRONG_MESSAGE                98
#define AST_CAUSE_IE_NONEXIST                  99
#define AST_CAUSE_INVALID_IE_CONTENTS          100
#define AST_CAUSE_WRONG_CALL_STATE            101
#define AST_CAUSE_RECOVERY_ON_TIMER_EXPIRE    102
#define AST_CAUSE_MANDATORY_IE_LENGTH_ERROR    103
#define AST_CAUSE_PROTOCOL_ERROR              111
#define AST_CAUSE_INTERWORKING                127
 
/* Special Asterisk aliases */
#define AST_CAUSE_BUSY          AST_CAUSE_USER_BUSY
#define AST_CAUSE_FAILURE      AST_CAUSE_NETWORK_OUT_OF_ORDER
#define AST_CAUSE_NORMAL        AST_CAUSE_NORMAL_CLEARING
#define AST_CAUSE_NOANSWER      AST_CAUSE_NO_ANSWER
#define AST_CAUSE_CONGESTION    AST_CAUSE_NORMAL_CIRCUIT_CONGESTION
#define AST_CAUSE_UNREGISTERED  AST_CAUSE_SUBSCRIBER_ABSENT
#define AST_CAUSE_NOTDEFINED    0
#define AST_CAUSE_NOSUCHDRIVER  AST_CAUSE_CHAN_NOT_IMPLEMENTED
</pre>
</pre>
* BridgeId: Identifier of the bridge the channel is in, may be empty if not in one.
* Application: Application currently executing on the channel.
* ApplicationData: Data given to the currently executing application.
* Duration: The amount of time the channel has existed.


=== Example ===
=== Example ===
<pre>
<pre>
Event: Hangup
Event: CoreShowChannel
Privilege: call,all
Channel: PJSIP/agent-01-0000000a
Channel: SIP/agent-01-00000003
ChannelState: 6
ChannelState: 6
ChannelStateDesc: Up
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDNum: agent-01
CallerIDName: <unknown>
CallerIDName: agent-01@pluto.pchero21.com
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
ConnectedLineName: <unknown>
Line 2,049: Line 2,487:
Exten: s
Exten: s
Priority: 3
Priority: 3
Uniqueid: 1480425486.6
Uniqueid: 1513280582.21
Linkedid: 1480425486.6
Linkedid: 1513280582.21
Cause: 0
Application: MusicOnHold
Cause-txt: Unknown
ApplicationData:
Duration: 00:00:32
BridgeId:  
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_CoreShowChannel
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newchannel
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerAction_CoreShowChannels
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SoftHangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_CoreShowChannelsComplete
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newstate


== HangupHandlerPop ==
== DBGetResponse ==
Raised when a hangup handler is removed from the handler stack by the CHANNEL() function.
DBGet response message.
<pre>
<pre>
Event: HangupHandlerPop
Event: DBGetResponse
Channel: <value>
Family: <value>
ChannelState: <value>
Key: <value>
ChannelStateDesc: <value>
Val: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Handler: <value>
</pre>
</pre>
* Channel
* Family : Requested DBGet family.
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* Key : Requested DBGet key.
* ChannelStateDesc : Channel state description 참조.
* Val : Stored value.
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Handler : Hangup handler parameter string passed to the Gosub application.


=== See also ===
=== Example ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPop
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPush
Event: DBGetResponse
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL
Family: SIP/Registry
Key: agent-01
Val: 10.1.27.60:49456:600:24816095:sip:47631908@10.1.27.60:49456
ActionID: 956f798b-e55e-46f7-927c-03b19086112b
</pre>
 
== DeviceStateChange ==
Device의 state 가 변경되었음을 나타낸다.
 
ExtensionStatus 이벤트는 dialplan hints 와 연관된 내용에만 발생하는 것에 반해, DeviceStateChange 이벤트는 모든 device state 의 변경에 발생한다는 것이 다르다.
<pre>
Event: DeviceStateChange
Device: <value>
State: <value>
</pre>
* Device : state 가 변경된 device
* State : 변경된 state
 
=== Example ===
<pre>
Event: DeviceStateChange
Privilege: call,all
Device: SIP/trunk_test_1
State: RINGING
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DeviceStateChange
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ExtensionStatus
 
== DialBegin ==
Raised when a dial action has started.


== HangupRequest ==
Class : CALL
Hangup request 가 왔음을 알려준다.
<pre>
<pre>
Event: HangupRequest
Event: DialBegin
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 2,118: Line 2,564:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Cause: <value>
DestChannel: <value>
</pre>
DestChannelState: <value>
 
DestChannelStateDesc: <value>
== LocalBridge ==
DestCallerIDNum: <value>
DestCallerIDName: <value>
DestConnectedLineNum: <value>
DestConnectedLineName: <value>
DestAccountCode: <value>
DestContext: <value>
DestExten: <value>
DestPriority: <value>
DestUniqueid: <value>
DestLinkedid: <value>
DialString: <value>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
* DestChannel
* DestChannelState
* DestChannelStateDesc
* DestAccountCode
* DestContext
* DestExten
* DestUniqueid
* DestLinkedid
* DialString : The non-technology specific device being dialed.
 
=== Example ===
<pre>
<pre>
Event: LocalBridge
Event: DialBegin
Privilege: call,all
Privilege: call,all
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
Channel: SIP/agent-01-0000002d
LocalOneChannelState: 0
ChannelState: 4
LocalOneChannelStateDesc: Down
ChannelStateDesc: Ring
LocalOneCallerIDNum: <unknown>
CallerIDNum: agent-01
LocalOneCallerIDName: <unknown>
CallerIDName: <unknown>
LocalOneConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
LocalOneConnectedLineName: <unknown>
ConnectedLineName: <unknown>
LocalOneLanguage: en
Language: en
LocalOneAccountCode:  
AccountCode:  
LocalOneContext: common-incoming
Context: queue_sales
LocalOneExten: test-04
Exten: s
LocalOnePriority: 1
Priority: 2
LocalOneUniqueid: 1447438716.467
Uniqueid: 1481281260.83
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 1481281260.83
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
DestChannel: SIP/agent-03-0000002e
LocalTwoChannelState: 4
DestChannelState: 0
LocalTwoChannelStateDesc: Ring
DestChannelStateDesc: Down
LocalTwoCallerIDNum: <unknown>
DestCallerIDNum: <unknown>
LocalTwoCallerIDName: <unknown>
DestCallerIDName: <unknown>
LocalTwoConnectedLineNum: <unknown>
DestConnectedLineNum: <unknown>
LocalTwoConnectedLineName: <unknown>
DestConnectedLineName: <unknown>
LocalTwoLanguage: en
DestLanguage: en
LocalTwoAccountCode:  
DestAccountCode:  
LocalTwoContext: common-incoming
DestContext: public
LocalTwoExten: test-04
DestExten:  
LocalTwoPriority: 1
DestPriority: 1
LocalTwoUniqueid: 1447438716.468
DestUniqueid: 1481281261.84
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestLinkedid: 1481281260.83
Context: common-incoming
DialString: sip/agent-03
Exten: test-04
</pre>
LocalOptimization: Yes
 
</pre>
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialBegin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Dial
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Originate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Originate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialEnd
 
== DialEnd ==
Dial 이 종료되었음을 알려준다.


== LocalOptimizationBegin ==
Class : CALL
<pre>
<pre>
Event: LocalOptimizationBegin
Event: DialEnd
Privilege: call,all
Channel: <value>
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
ChannelState: <value>
LocalOneChannelState: 6
ChannelStateDesc: <value>
LocalOneChannelStateDesc: Up
CallerIDNum: <value>
LocalOneCallerIDNum: <unknown>
CallerIDName: <value>
LocalOneCallerIDName: <unknown>
ConnectedLineNum: <value>
LocalOneConnectedLineNum: <unknown>
ConnectedLineName: <value>
LocalOneConnectedLineName: <unknown>
AccountCode: <value>
LocalOneLanguage: en
Context: <value>
LocalOneAccountCode:  
Exten: <value>
LocalOneContext: common-incoming
Priority: <value>
LocalOneExten:  
Uniqueid: <value>
LocalOnePriority: 1
Linkedid: <value>
LocalOneUniqueid: 1447438716.467
DestChannel: <value>
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestChannelState: <value>
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
DestChannelStateDesc: <value>
LocalTwoChannelState: 6
DestCallerIDNum: <value>
LocalTwoChannelStateDesc: Up
DestCallerIDName: <value>
LocalTwoCallerIDNum: <unknown>
DestConnectedLineNum: <value>
LocalTwoCallerIDName: <unknown>
DestConnectedLineName: <value>
LocalTwoConnectedLineNum: <unknown>
DestAccountCode: <value>
LocalTwoConnectedLineName: <unknown>
DestContext: <value>
LocalTwoLanguage: en
DestExten: <value>
LocalTwoAccountCode:  
DestPriority: <value>
LocalTwoContext: common-incoming
DestUniqueid: <value>
LocalTwoExten: test-04
DestLinkedid: <value>
LocalTwoPriority: 1
DialStatus: <value>
LocalTwoUniqueid: 1447438716.468
[Forward:] <value>
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
</pre>
SourceChannel: SIP/test-04-0000019b
* Channel : Channel name.
SourceChannelState: 6
* ChannelState : Channel's state.
SourceChannelStateDesc: Up
* ChannelStateDesc : Channel's state description.
SourceCallerIDNum: test-04
* CallerIDNum :
SourceCallerIDName: <unknown>
* CallerIDName :
SourceConnectedLineNum: <unknown>
* ConnectedLineNum :
SourceConnectedLineName: <unknown>
* ConnectedLineName :
SourceLanguage: en
* AccountCode :
SourceAccountCode:  
* Context :
SourceContext: common-incoming
* Exten :
SourceExten:  
* Priority :
SourcePriority: 1
* Uniqueid :
SourceUniqueid: 1447438716.469
* Linkedid : Uniqueid of the oldest channel associated with this channel.
SourceLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
* DestChannel : Destination channel name.
DestUniqueId: 1447438716.468
* DestChannelState : Destination channel's state.
Id: 5
* DestChannelStateDesc : Destination channel's state description.
</pre>
* DestCallerIDNum :
* DestCallerIDName :
* DestAccountCode :
* DestExten :
* DestPriority :
* DestUniqueid :
* DestLinkedid :
* DialStatus : The result of the dial operation.
: ABORT : The call was aborted.
: ANSWER : The caller answered.
: BUSY : The caller was busy.
: CANCEL : The caller cancelled the call.
: CHANUNAVAIL : The requested channel is unavailable.
: CONGESTION : The called party is congested.
: CONTINUE : The dial completed, but the caller elected to continue in the dialplan.
: GOTO : The dial completed, but the caller jumped to a dialplan location. If konwn, the lcoation the caller is umping to will be appended to the result following a ":".
: NOANSWER : The called party failed to answer.
* Forward : If the call was forwarded, where the call was forward to.


== LocalOptimizationEnd ==
=== Example ===
<pre>
<pre>
Event: LocalOptimizationEnd
Event: DialEnd
Privilege: call,all
Privilege: call,all
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
Channel: SIP/300-00000008
LocalOneChannelState: 6
ChannelState: 4
LocalOneChannelStateDesc: Up
ChannelStateDesc: Ring
LocalOneCallerIDNum: <unknown>
CallerIDNum: 300
LocalOneCallerIDName: <unknown>
CallerIDName: <unknown>
LocalOneConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
LocalOneConnectedLineName: <unknown>
ConnectedLineName: <unknown>
LocalOneLanguage: en
Language: en
LocalOneAccountCode:  
AccountCode:  
LocalOneContext: common-incoming
Context: queue_sales
LocalOneExten:  
Exten: s
LocalOnePriority: 1
Priority: 2
LocalOneUniqueid: 1447438716.467
Uniqueid: 1480668413.15
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 1480668413.15
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
DestChannel: SIP/agent-03-00000009
LocalTwoChannelState: 6
DestChannelState: 6
LocalTwoChannelStateDesc: Up
DestChannelStateDesc: Up
LocalTwoCallerIDNum: <unknown>
DestCallerIDNum: <unknown>
LocalTwoCallerIDName: <unknown>
DestCallerIDName: <unknown>
LocalTwoConnectedLineNum: <unknown>
DestConnectedLineNum: 300
LocalTwoConnectedLineName: <unknown>
DestConnectedLineName: <unknown>
LocalTwoLanguage: en
DestLanguage: en
LocalTwoAccountCode:  
DestAccountCode:  
LocalTwoContext: common-incoming
DestContext: public
LocalTwoExten: test-04
DestExten: s
LocalTwoPriority: 1
DestPriority: 1
LocalTwoUniqueid: 1447438716.468
DestUniqueid: 1480668414.16
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestLinkedid: 1480668413.15
Success: No
DialStatus: ANSWER
Id: 5
</pre>
</pre>
== MusicOnHoldStart ==
채널에서 Music on hold 가 시작되었음을 알려준다.
<pre>
<pre>
Event: MusicOnHoldStart
Event: DialEnd
Channel: <value>
Privilege: call,all
ChannelState: <value>
Channel: SIP/300-0000001b
ChannelStateDesc: <value>
ChannelState: 4
CallerIDNum: <value>
ChannelStateDesc: Ring
CallerIDName: <value>
CallerIDNum: 300
ConnectedLineNum: <value>
CallerIDName: <unknown>
ConnectedLineName: <value>
ConnectedLineNum: <unknown>
AccountCode: <value>
ConnectedLineName: <unknown>
Context: <value>
Language: en
Exten: <value>
AccountCode:  
Priority: <value>
Context: queue_sales
Uniqueid: <value>
Exten: s
Linkedid: <value>
Priority: 2
Class: <value>
Uniqueid: 1480670638.49
Linkedid: 1480670638.49
DestChannel: SIP/agent-02-0000001d
DestChannelState: 5
DestChannelStateDesc: Ringing
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: 300
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode:
DestContext: public
DestExten: s
DestPriority: 1
DestUniqueid: 1480670639.51
DestLinkedid: 1480670638.49
DialStatus: NOANSWER
</pre>
</pre>
* Channel
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* channelStateDesc : Channel state description 참조.
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Class : The class of music being played on the channel.


=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Dial
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Originate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Originate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialBegin
== DialState ==
=== Example ===
=== Example ===
<pre>
<pre>
Event: MusicOnHoldStart
Event: DialState
Privilege: call,all
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
Channel: SIP/agent-01-0000002d
ChannelState: 6
ChannelState: 4
ChannelStateDesc: Up
ChannelStateDesc: Ring
CallerIDNum: <unknown>
CallerIDNum: agent-01
CallerIDName: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
Line 2,291: Line 2,803:
Language: en
Language: en
AccountCode:  
AccountCode:  
Context: from_provider
Context: queue_sales
Exten:  
Exten: s
Priority: 1
Priority: 2
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Uniqueid: 1481281260.83
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 1481281260.83
Class: default
DestChannel: SIP/agent-03-0000002e
DestChannelState: 5
DestChannelStateDesc: Ringing
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: agent-01
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode:
DestContext: public
DestExten: s
DestPriority: 1
DestUniqueid: 1481281261.84
DestLinkedid: 1481281260.83
DialStatus: RINGING
</pre>
</pre>


=== See also ===
== DTMFBegin ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MusicOnHoldStart
=== Example ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MusicOnHoldStop
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_StartMusicOnHold
</pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_MusicOnHold


== Newchannel ==
== EndpointDetail ==
새로운 채널이 생성되었을 때 발생한다.
Provide details about an endpoint section.


Raised when a new channel is created.
Class: COMMAND
<pre>
Event: EndpointDetail
ObjectType: <value>
ObjectName: <value>
Context: <value>
Disallow: <value>
Allow: <value>
DtmfMode: <value>
RtpIpv6: <value>
RtpSymmetric: <value>
IceSupport: <value>
UsePtime: <value>
ForceRport: <value>
RewriteContact: <value>
Transport: <value>
OutboundProxy: <value>
MohSuggest: <value>
100rel: <value>
Timers: <value>
TimersMinSe: <value>
TimersSessExpires: <value>
Auth: <value>
OutboundAuth: <value>
Aors: <value>
MediaAddress: <value>
IdentifyBy: <value>
DirectMedia: <value>
DirectMediaMethod: <value>
ConnectedLineMethod: <value>
DirectMediaGlareMitigation: <value>
DisableDirectMediaOnNat: <value>
Callerid: <value>
CalleridPrivacy: <value>
CalleridTag: <value>
TrustIdInbound: <value>
TrustIdOutbound: <value>
SendPai: <value>
SendRpid: <value>
SendDiversion: <value>
Mailboxes: <value>
AggregateMwi: <value>
MediaEncryption: <value>
MediaEncryptionOptimistic: <value>
UseAvpf: <value>
ForceAvp: <value>
MediaUseReceivedTransport: <value>
OneTouchRecording: <value>
InbandProgress: <value>
CallGroup: <value>
PickupGroup: <value>
NamedCallGroup: <value>
NamedPickupGroup: <value>
DeviceStateBusyAt: <value>
T38Udptl: <value>
T38UdptlEc: <value>
T38UdptlMaxdatagram: <value>
FaxDetect: <value>
T38UdptlNat: <value>
T38UdptlIpv6: <value>
ToneZone: <value>
Language: <value>
RecordOnFeature: <value>
RecordOffFeature: <value>
AllowTransfer: <value>
UserEqPhone: <value>
MohPassthrough: <value>
SdpOwner: <value>
SdpSession: <value>
TosAudio: <value>
TosVideo: <value>
CosAudio: <value>
CosVideo: <value>
AllowSubscribe: <value>
SubMinExpiry: <value>
FromUser: <value>
FromDomain: <value>
MwiFromUser: <value>
RtpEngine: <value>
DtlsVerify: <value>
DtlsRekey: <value>
DtlsCertFile: <value>
DtlsPrivateKey: <value>
DtlsCipher: <value>
DtlsCaFile: <value>
DtlsCaPath: <value>
DtlsSetup: <value>
SrtpTag32: <value>
RedirectMethod: <value>
SetVar: <value>
MessageContext: <value>
Accountcode: <value>
PreferredCodecOnly: <value>
DeviceState: <value>
ActiveChannels: <value>
SubscribeContext: <value>
Allowoverlap: <value>
</pre>
* ObjectType: The object's type. This will always be 'endpoint'.
* ObjectName: The name of this object.
* Context: Dialplan context for inbound sessions.
* Disallow: Media Codec(s) to disallow.
* Allow: Media Codec(s) to allow.
* DtmfMode: DTMF mode.
* RtpIpv6: Allow use of IPv6 for RTP traffic.
* RtpSymmetric: Enforce that RTP must be symmetric.
* IceSupport: Enable the ICE mechanism to help traverse NAT.
* UsePtime: Use Endpoint's requested packetisation interval.
* ForceRport: Force use of return port.
* RewriteContact: Allow Contact header to be rewritten with the source Ip address-port.
* Transport: Desired transport configuration.
* OutboundProxy: Full SIP URI of the outbound proxy used to send requests.
* MohSuggest: Default Music On Hold class.
* 100rel: Allow support for RFC 3262 provisional ACK tags.
* Timers: Session timers for SIP packets.
* TimersMinSe: Minimum session timers expiration period.
* TimersSessExpires: Maximum session timer expiration period.
* Auth: Authentication Object(s) associated with the endpoint.
* OutboundAuth: Authentication object(s) used for outbound requests.
* Aors: AoR(s) to be used with the endpoint.
* MediaAddress: IP address used in SDP for media handling.
* IdentifyBy: Way(s) for Endpoint to be identified.
* DirectMedia: Determines whether media may flow directly between endpoints.
* DirectMediaMethod: Direct Media method type.
* ConnectedLineMethod: Connected line method type.
* DirectMediaGlareMitigation: Mitigation of direct media (re)INVITE glare.
* DisableDirectMediaOnNat: Disable direct media session refreshes when NAT obstructs the media session.
* callerid: CallerID information for the endpoint.
* CalleridPrivacy: Default privacy level.
* CalleridTag: Internal id_tag for the endpoint.
* TrustInbound: Accept identification information received from this endpoint.
* TrustOutbound: Send private identification details to the endpoint.
* SendPai: Send the P-Asserted-Identity header.
* SendRpid: Send the Remote-Party-ID header.
* SendDiversion: Send the Diversion header, conveying the diversion information to the called user agent.
* Mailboxes: NOTIFY the endpoint when state changes for any of the specified mailboxes.
* AggregateMwi: Condense MWI notifications into a single NOTIFY.
* MediaEncryption: Determines whether re_pjsip will use and enforce usage of media encryption for this endpoint.
* MediaEncryptionOptimistic: Determines whether encryption should be used if possible but does not terminate the session if not achieved.
* UseAvpf: Determines whether res_pjsip will use and enforce usage of AVPF for this endpoint.
* ForceAvp: Determines whether res_pjsip will use and enforce usage of AVP, regardless of the RTP profile in use for this endpoint.
* MediaUseReceivedTransport: Determines whether res_pjsip will use the media transport received in the offer SDP in the corresponding answer SDP.
* OneTouchRecording: Determines whether one-touch recording is allowed for this endpoint.
* InbandProgress: Determines whether chan_pjsip will indicate ringing using inband progress.
* CallGroup: The numeric pickup groups for a channel.
* PickupGroup: The numeric pickup groups that a channel can pickup
* NamedCallGroup: The named pickup groups for a channel.
* NamedPickupGroup: The named pickup groups that a channel can pickup.
* DeviceStateButyAt: The number of in-use channels which will cause busy to be returned as device state.
* T38Udptl: Whether T.38 UDPTL supports is enabled or not.
* TUdptlEc: T.38 UDPTL error correction method.
* T38UdptlMaxdatagram: T.38 UDPTL maximum datagram size.


Class : CALL
=== Example ===
<pre>
<pre>
Event: Newchannel
Event: EndpointDetail
Channel: <value>
ObjectType: endpoint
ChannelState: <value>
ObjectName: 199
ChannelStateDesc: <value>
RpidImmediate: false
CallerIDNum: <value>
Webrtc: no
CallerIDName: <value>
DeviceStateBusyAt: 0
ConnectedLineNum: <value>
T38UdptlMaxdatagram: 0
ConnectedLineName: <value>
DtlsRekey: 0
AccountCode: <value>
NamedPickupGroup:
Context: <value>
DirectMediaMethod: invite
Exten: <value>
SendRpid: false
Priority: <value>
PickupGroup:
Uniqueid: <value>
SdpSession: Asterisk
Linkedid: <value>
DtlsVerify: Yes
MessageContext:
Mailboxes:
RecordOnFeature: automixmon
DtlsPrivateKey:
DtlsFingerprint: SHA-256
FromDomain:
TimersSessExpires: 1800
NamedCallGroup:
DtlsCipher:
MediaEncryptionOptimistic: false
Aors: 199
IdentifyBy: username
CalleridPrivacy: allowed_not_screened
MwiSubscribeReplacesUnsolicited: false
CosAudio: 0
Context: default
RtpSymmetric: false
Transport:
MohSuggest: default
T38Udptl: false
FaxDetect: false
TosVideo: 0
SrtpTag32: false
ReferBlindProgress: true
MaxAudioStreams: 1
Bundle: false
UseAvpf: true
CallGroup:
FaxDetectTimeout: 0
SdpOwner: -
ForceRport: true
CalleridTag:
RtpTimeoutHold: 0
UsePtime: false
MediaAddress:
VoicemailExtension:
RtpTimeout: 0
SetVar:
ContactAcl:
PreferredCodecOnly: false
ForceAvp: false
RecordOffFeature: automixmon
FromUser:
SendDiversion: true
T38UdptlIpv6: false
ToneZone:
Language:
AllowSubscribe: true
RtpIpv6: false
Callerid: <unknown>
MohPassthrough: false
CosVideo: 0
AsymmetricRtpCodec: false
IceSupport: true
AggregateMwi: true
OneTouchRecording: false
MwiFromUser:
Accountcode:
Allow: (opus|ulaw)
RewriteContact: false
UserEqPhone: false
RtpEngine: asterisk
SubscribeContext:
NotifyEarlyInuseRinging: false
IncomingMwiMailbox:
Auth: 199
DirectMediaGlareMitigation: none
TrustIdInbound: false
BindRtpToMediaAddress: false
DisableDirectMediaOnNat: false
MediaEncryption: dtls
MediaUseReceivedTransport: true
AllowOverlap: true
DtmfMode: rfc4733
OutboundAuth:
TosAudio: 0
DtlsCertFile: /etc/asterisk/keys/asterisk.pem
DtlsCaPath:
DtlsSetup: actpass
ConnectedLineMethod: invite
G726NonStandard: false
100rel: yes
Timers: yes
DirectMedia: true
Acl:
TimersMinSe: 90
TrustIdOutbound: false
SubMinExpiry: 0
RtcpMux: true
MaxVideoStreams: 1
SendPai: false
RtpKeepalive: 0
T38UdptlEc: none
T38UdptlNat: false
AllowTransfer: true
DtlsCaFile: /etc/asterisk/keys/ca.crt
OutboundProxy:  
InbandProgress: false
DeviceState: Not in use
ActiveChannels:
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_EndpointDetail
 
== EndpointList ==
Provide details about a contact's status.
 
Class : COMMAND
<pre>
Event: EndpointList
ObjectType: <value>
ObjectName: <value>
Transport: <value>
Aor: <value>
Auths: <value>
OutboundAuths: <value>
DeviceState: <value>
ActiveChannels: <value>
</pre>
</pre>
* ObjectType: The Object's type. This will always be 'endpoint'.
* ObjectName: The name of this object.
* Transport: The transport configurations associated with this endpoint.
* Aor: The aor configurations associated with this endpoint.
* Auths: The inbound authentication configurations associated with this endpoint.
* OutboundAuths: The outbound authentication configurations associated with this endpoint.
* DeviceState: The aggregate device state for this endpoint.
* ActiveChannels: The number of active channels associated with this endpoint.


=== Example ===
=== Example ===
<pre>
<pre>
Event: Newchannel
Event: EndpointList
Privilege: call,all
ObjectType: endpoint
Channel: SIP/trunk_test_1-0000019a
ObjectName: 199
ChannelState: 0
Transport:
ChannelStateDesc: Down
Aor: 199
CallerIDNum: <unknown>
Auths: 199
CallerIDName: <unknown>
OutboundAuths:  
ConnectedLineNum: <unknown>
Contacts: 199/sip:199@172.17.42.1:32942;transport=ws;rtcweb-breaker=no,
ConnectedLineName: <unknown>
DeviceState: Not in use
Language: en
ActiveChannels:  
AccountCode:
</pre>
Context: from_provider
 
Exten: s
=== See also ===
Priority: 1
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_EndpointList
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
 
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
== EndpointDetailComplete ==
Provide final information about endpoint details.
 
Class: COMMAND
<pre>
Event: EndpointDetailComplete
EventList: <value>
ListItems: <value>
</pre>
* EventList
* ListItems
 
=== Example ===
<pre>
Event: EndpointDetailComplete
EventList: Complete
ListItems: 4
</pre>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newchannel
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_EndpointDetailComplete
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newstate
 
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup
== ExtensionStatus ==
Raised when a hint changes due to a device state change.


== Newexten ==
Class : CALL
채널이 새로운 context, extension, priority 로 진입했을 때 발생한다.
<pre>
<pre>
Event: NewExten
Event: ExtensionStatus
Channel: <value>
Exten: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Context: <value>
Exten: <value>
Hint: <value>
Priority: <value>
Status: <value>
Uniqueid: <value>
StatusText: <value>
Linkedid: <value>
Extension: <value>
Application: <value>
AppData: <value>
</pre>
</pre>
* Channel
* Extension : Name of the extension.
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* Context : Context that owns the extension.
* ChannelStateDesc : Channel state description 참조.
* Hint : Hint set for the extension.
* CallerIDNum
* Status : Numerical value of the extension status. Extension status is determined by the combined device state of all items contained in the hint.
* CallerIDName
: -2 : The extension was removed from the dialplan.
* ConnectedLineNum
: -1 : The extension's hint was removed from the dialplan.
* ConnectedLineName
: 0 : Idle. Related device(s) are in an idle state.
* AccountCode
: 1 : InUse. Related device(s) are in active calls but may take any more calls.
* Context
: 2 : Busy. Related device(s) are in active calls and may not take any more calls.
* Exten
: 4 : Unavailable. Related device(s) are not reachable.
* Priority
: 8 : Ringing. Related device(s) are currently ringing.
* Uniqueid
: 9 : InUse&Ringing. Related device(s) are currently ringing and in activce calls.
* Linkedid : Uniqueid of the oldest channel associated with this channel.
: 16 : Hold. Related device(s) are currently on hold.
* Extension : Deprecated in 12, but kept for backward compatibility. Please use 'Exten' instead.
: 17 : InUse&Hold. Related device(s) are currently on hold and in active calls.
* Application : The application about to be executed.
* StatusText : Text representation of Status.
* AppData : The data to be passed to the application.
: Idle
: InUse
: Busy
: Unavailable
: Ringing
: InUse&Ringing
: Hold
: InUse&Hold
: Unknown : Status does not match any of the above values.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ExtensionStatus
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_ExtensionState
 
== FullyBooted ==
Raised when all Asterisk initialization procedures have finished.
 
Class : SYSTEM
<pre>
Event: FullyBooted
Status: <value>
Uptime: <value>
LastReload: <value>
</pre>
* Status : Informational message
* Uptime : Seconds since start
* LastReload : Seconds since last reload


=== Example ===
=== Example ===
<pre>
<pre>
Event: Newexten
Event: FullyBooted
Privilege: call,all
Privilege: system,all
Channel: SIP/trunk_test_1-0000019a
Uptime: 908581
ChannelState: 0
LastReload: 908581
ChannelStateDesc: Down
Status: Fully Booted
CallerIDNum: <unknown>
</pre>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: from_provider
Exten:
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Extension:
Application: AppDial2
AppData: (Outgoing Line)
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_NewExten
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_FullyBooted


== Newstate ==
== Hangup ==
Channel 의 state 의 변경되었음을 알려준다.
채널이 종료되었음을 알려준다.
<pre>
<pre>
Event: Newstate
Event: Hangup
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 2,447: Line 3,254:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Cause: <value>
Cause-txt: <value>
</pre>
</pre>
* Channel
* Channel
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
* ChannelStateDesc : Channel state description 참조.
* ChannelStateDesc : Channel state description 참조.
* CallerIDNum
* CallerIDNum
Line 2,460: Line 3,269:
* Priority
* Priority
* Uniqueid
* Uniqueid
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* Cause - A numeric cause code for why the channel was hung up. See detail [[#Hangup cause]] above.
* Cause-txt - A description of why the channel was hung up.


=== Example ===
=== Example ===
<pre>
<pre>
Event: Newstate
Event: Hangup
Privilege: call,all
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
Channel: SIP/agent-01-00000003
ChannelState: 6
ChannelState: 6
ChannelStateDesc: Up
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDNum: agent-01
CallerIDName: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
Line 2,475: Line 3,286:
Language: en
Language: en
AccountCode:  
AccountCode:  
Context: from_provider
Context: sample_musiconhold
Exten:  
Exten: s
Priority: 1
Priority: 3
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Uniqueid: 1480425486.6
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 1480425486.6
Cause: 0
Cause-txt: Unknown
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newchannel
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SoftHangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newstate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newstate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newchannel
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup


== OriginateResponse ==
== HangupHandlerPop ==
Raised when a hangup handler is removed from the handler stack by the CHANNEL() function.
<pre>
<pre>
Event: OriginateResponse
Event: HangupHandlerPop
[ActionID:] <value>
Response: <value>
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Context: <value>
Exten: <value>
Exten: <value>
Reason: <value>
Priority: <value>
Uniqueid: <value>
Uniqueid: <value>
CallerIDNum: <value>
Linkedid: <value>
CallerIDName: <value>
Handler: <value>
</pre>
</pre>
* ActionID
* Response
* * Failure
* * Success
* Channel
* Channel
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* ChannelStateDesc : Channel state description 참조.
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Context
* Exten
* Exten
* Reason
* Priority
* Uniqueid
* Uniqueid
* CallerIDNum
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* CallerIDName
* Handler : Hangup handler parameter string passed to the Gosub application.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPop
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPush
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL


'''Reason'''
== HangupHandlerPush ==
Raised when a hangup handler is added to the handler stack by the CHANNEL() function.


Reason code 내용은 다음과 같다(asterisk/frame.h).
Class : DIALPLAN
<pre>
<pre>
AST_CONTROL_HANGUP = 1, /*!< Other end has hungup */
Event: HangupHandlerPush
AST_CONTROL_RING = 2, /*!< Local ring */
Channel: <value>
AST_CONTROL_RINGING = 3, /*!< Remote end is ringing */
ChannelState: <value>
AST_CONTROL_ANSWER = 4, /*!< Remote end has answered */
ChannelStateDesc: <value>
AST_CONTROL_BUSY = 5, /*!< Remote end is busy */
CallerIDNum: <value>
AST_CONTROL_TAKEOFFHOOK = 6, /*!< Make it go off hook */
CallerIDName: <value>
AST_CONTROL_OFFHOOK = 7, /*!< Line is off hook */
ConnectedLineNum: <value>
AST_CONTROL_CONGESTION = 8, /*!< Congestion (circuits busy) */
ConnectedLineName: <value>
AST_CONTROL_FLASH = 9, /*!< Flash hook */
AccountCode: <value>
AST_CONTROL_WINK = 10, /*!< Wink */
Context: <value>
AST_CONTROL_OPTION = 11, /*!< Set a low-level option */
Exten: <value>
AST_CONTROL_RADIO_KEY = 12, /*!< Key Radio */
Priority: <value>
AST_CONTROL_RADIO_UNKEY = 13, /*!< Un-Key Radio */
Uniqueid: <value>
AST_CONTROL_PROGRESS = 14, /*!< Indicate PROGRESS */
Linkedid: <value>
AST_CONTROL_PROCEEDING = 15, /*!< Indicate CALL PROCEEDING */
Handler: <value>
AST_CONTROL_HOLD = 16, /*!< Indicate call is placed on hold */
</pre>
AST_CONTROL_UNHOLD = 17, /*!< Indicate call is left from hold */
* Channel
AST_CONTROL_VIDUPDATE = 18, /*!< Indicate video frame update */
* ChannelState
_XXX_AST_CONTROL_T38 = 19, /*!< T38 state change request/notification \deprecated This is no longer supported. Use AST_CONTROL_T38_PARAMETERS instead. */
* ChannelStateDesc
AST_CONTROL_SRCUPDATE = 20, /*!< Indicate source of media has changed */
* CallerIDNum
AST_CONTROL_TRANSFER = 21, /*!< Indicate status of a transfer request */
* CallerIDName
AST_CONTROL_CONNECTED_LINE = 22,/*!< Indicate connected line has changed */
* ConnectedLineNum
AST_CONTROL_REDIRECTING = 23, /*!< Indicate redirecting id has changed */
* ConnectedLineName
AST_CONTROL_T38_PARAMETERS = 24,/*!< T38 state change request/notification with parameters */
* AccountCode
AST_CONTROL_CC = 25, /*!< Indication that Call completion service is possible */
* Context
AST_CONTROL_SRCCHANGE = 26, /*!< Media source has changed and requires a new RTP SSRC */
* Exten
AST_CONTROL_READ_ACTION = 27, /*!< Tell ast_read to take a specific action */
* Priority
AST_CONTROL_AOC = 28, /*!< Advice of Charge with encoded generic AOC payload */
* Uniqueid
AST_CONTROL_END_OF_Q = 29, /*!< Indicate that this position was the end of the channel queue for a softhangup. */
* Linkedid
AST_CONTROL_INCOMPLETE = 30, /*!< Indication that the extension dialed is incomplete */
* Handler : Hangup handler parameter string passed to the Gosub application.
AST_CONTROL_MCID = 31, /*!< Indicate that the caller is being malicious. */
AST_CONTROL_UPDATE_RTP_PEER = 32, /*!< Interrupt the bridge and have it update the peer */
AST_CONTROL_PVT_CAUSE_CODE = 33, /*!< Contains an update to the protocol-specific cause-code stored for branching dials */
AST_CONTROL_MASQUERADE_NOTIFY = 34, /*!< A masquerade is about to begin/end. (Never sent as a frame but directly with ast_indicate_data().) */


/*
=== See also ===
  * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPush
  *
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPop
  * IAX2 sends these values out over the wire. To prevent future
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL
  * incompatibilities, pick the next value in the enum from whatever
  * is on the current trunk. If you lose the merge race you need to
  * fix the previous branches to match what is on trunk. In addition
  * you need to change chan_iax2 to explicitly allow the control
  * frame over the wire if it makes sense for the frame to be passed
  * to another Asterisk instance.
  *
  * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
  */


/* Control frames used to manipulate a stream on a channel. The values for these
== HangupHandlerRun ==
  * must be greater than the allowed value for a 8-bit char, so that they avoid
Raised when a hangup handler is about to be called.
  * conflicts with DTMF values. */
AST_CONTROL_STREAM_STOP = 1000, /*!< Indicate to a channel in playback to stop the stream */
AST_CONTROL_STREAM_SUSPEND = 1001, /*!< Indicate to a channel in playback to suspend the stream */
AST_CONTROL_STREAM_RESTART = 1002, /*!< Indicate to a channel in playback to restart the stream */
AST_CONTROL_STREAM_REVERSE = 1003, /*!< Indicate to a channel in playback to rewind */
AST_CONTROL_STREAM_FORWARD = 1004, /*!< Indicate to a channel in playback to fast forward */
/* Control frames to manipulate recording on a channel. */
AST_CONTROL_RECORD_CANCEL = 1100, /*!< Indicated to a channel in record to stop recording and discard the file */
AST_CONTROL_RECORD_STOP = 1101, /*!< Indicated to a channel in record to stop recording */
AST_CONTROL_RECORD_SUSPEND = 1102, /*!< Indicated to a channel in record to suspend/unsuspend recording */
AST_CONTROL_RECORD_MUTE = 1103, /*!< Indicated to a channel in record to mute/unmute (i.e. write silence) recording */
</pre>


'''Example'''
Class : DIALPLAN
<pre>
<pre>
"event": "OriginateResponse",
Event: HangupHandlerRun
"privilege": "call,all",
Channel: <value>
"response": "Failure",
ChannelState: <value>
"channel": "SIP/111-111-0004@trunk_test_1",
ChannelStateDesc: <value>
"reason": "5",
CallerIDNum: <value>
"uniqueid": "<null>",
CallerIDName: <value>
"calleridname": "<unknown>",
ConnectedLineNum: <value>
"context": "",
ConnectedLineName: <value>
"exten": "",
AccountCode: <value>
"calleridnum": "<unknown>"
Context: <value>
 
Exten: <value>
"event": "OriginateResponse",
Priority: <value>
"privilege": "call,all",
Uniqueid: <value>
"response": "Success",
Linkedid: <value>
"channel": "SIP/trunk_test_1-00000000",
Handler: <value>
"reason": "4",
"uniqueid": "dd420b95-c52d-467a-8f65-63efaa094eb6",
"calleridname": "<unknown>",
"context": "",
"exten": "",
"calleridnum": "<unknown>"
</pre>
</pre>
 
* Channel
== ParkedCall ==
* ChannelState
Channel 이 parked 되었을 때 발생한다.
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
* Handler
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerRun
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL
 
== HangupRequest ==
Hangup request 가 왔음을 알려준다.
 
Raised when a hangup is requested.
 
Class : CALL
<pre>
<pre>
Event: ParkedCall
Event: HangupRequest
ParkeeChannel: <value>
Channel: <value>
ParkeeChannelState: <value>
ChannelState: <value>
ParkeeChannelStateDesc: <value>
ChannelStateDesc: <value>
ParkeeCallerIDNum: <value>
CallerIDNum: <value>
ParkeeCallerIDName: <value>
CallerIDName: <value>
ParkeeConnectedLineNum: <value>
ConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
ConnectedLineName: <value>
ParkeeAccountCode: <value>
AccountCode: <value>
ParkeeContext: <value>
Context: <value>
ParkeeExten: <value>
Exten: <value>
ParkeePriority: <value>
Priority: <value>
ParkeeUniqueid: <value>
Uniqueid: <value>
ParkeeLinkedid: <value>
Linkedid: <value>
ParkerDialString: <value>
Cause: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
</pre>
</pre>
* ParkeeChannel : Parked 된 채널 이름
* Channel
* ParkeeChannelState : A numeric code for the channel's current state, related to ParkeeChannelStateDesc.
* ChannelState
* ParkeeChannelStateDesc : Channel state description 참조.
* ChannelStateDesc
* ParkeeCallerIDNum
* CallerIDNum
* ParkeeCallerIDName
* CallerIDName
* ParkeeConnectedLineNum
* ConnectedLineNum
* ParkeeConnectedLineName
* ConnectedLineName
* ParkeeAccountCode
* AccountCode
* ParkeeContext
* Context
* ParkeeExten
* Exten
* ParkeePriority
* Priority
* ParkeeUniqueid
* Uniqueid
* ParkeeLinkedid : Uniqueid of the oldest channel associated with this channel.
* Linkedid
* ParkeeDialString : Dial String that can be used to call back the parker on ParkingTimout.
* Cause : A numeirc cause code for why the channel was hung up. See detail [[Asterisk_status_code#Hangup_code]].
* Parkinglot : Name of the parking lot that the parked in.
* ParkingSpace : Parking Space that the parkee is parked in.
* ParkingTimeout : Time remaining until the parkee is forcefully removed from parking in seconds.
* ParkingDuration : Time the parkee has been in the parking bridge(in seconds)


=== Example ===
=== Example ===
<pre>
<pre>
Event: ParkedCall
Event: HangupRequest
Privilege: call,all
Privilege: call,all
ParkeeChannel: SIP/agent-01-00000001
Channel: SIP/agent-01-0000002b
ParkeeChannelState: 6
ChannelState: 6
ParkeeChannelStateDesc: Up
ChannelStateDesc: Up
ParkeeCallerIDNum: agent-01
CallerIDNum: agent-01
ParkeeCallerIDName: <unknown>
CallerIDName: <unknown>
ParkeeConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
ParkeeConnectedLineName: <unknown>
ConnectedLineName: <unknown>
ParkeeLanguage: en
Language: en
ParkeeAccountCode:  
AccountCode:  
ParkeeContext: sample_park
Context: sample_musiconhold
ParkeeExten: s
Exten: s
ParkeePriority: 2
Priority: 3
ParkeeUniqueid: 1480409788.2
Uniqueid: 1481278514.79
ParkeeLinkedid: 1480409788.2
Linkedid: 1481278514.79
ParkerDialString: SIP/agent-01
Parkinglot: default
ParkingSpace: 701
ParkingTimeout: 45
ParkingDuration: 0
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ParkedCall
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SoftHangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup
 
== Hold ==
채널이 Hold 상태가 되었음을 알려준다. (ex. Device 에서 Hold 기능을 사용했을 경우)
 
Raised when a channel goes on hold.


== ParkedCallGiveUp ==
Class : CALL
=== Example ===
<pre>
<pre>
Event: ParkedCallGiveUp
Event: Hold
Privilege: call,all
Channel: <value>
ParkeeChannel: SIP/agent-01-00000026
ChannelState: <value>
ParkeeChannelState: 6
ChannelStateDesc: <value>
ParkeeChannelStateDesc: Up
CallerIDNum: <value>
ParkeeCallerIDNum: agent-01
CallerIDName: <value>
ParkeeCallerIDName: <unknown>
ConnectedLineNum: <value>
ParkeeConnectedLineNum: <unknown>
ConnectedLineName: <value>
ParkeeConnectedLineName: <unknown>
AccountCode: <value>
ParkeeLanguage: en
Context: <value>
ParkeeAccountCode:  
Exten: <value>
ParkeeContext: sample_park
Priority: <value>
ParkeeExten: s
Uniqueid: <value>
ParkeePriority: 2
Linkedid: <value>
ParkeeUniqueid: 1480935251.69
MusicClass: <value>
ParkeeLinkedid: 1480935251.69
ParkerDialString: SIP/agent-01
Parkinglot: default
ParkingSpace: 701
ParkingTimeout: 35
ParkingDuration: 10
</pre>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
* MusicClass : The suggested MusicClass, if provided.


== PeerStatus ==
=== Example ===
Peer 의 state 가 변경되었음을 알려준다.
<pre>
<pre>
Event: PeerStatus
Event: Hold
ChannelType: <value>
Privilege: call,all
Peer: <value>
Channel: SIP/agent-01-0000000c
PeerStatus: <value>
ChannelState: 6
Cause: <value>
ChannelStateDesc: Up
Address: <value>
CallerIDNum: agent-01
Port: <value>
CallerIDName: agent-01@earth.pchero21.com
Time: <value>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample_park
Exten: s
Priority: 2
Uniqueid: 1487768728.23
Linkedid: 1487768728.23
</pre>
</pre>
* ChannelType : The channel technology of the peer.
* Peer : The name of the peer(including channel technology).
* PeerStatus : New status of the peer.
: Unknown
: Registered
: Unregistered
: Rejected
: Lagged
* Cause : The reason the status has changed.
* Address : New address of the peer.
* Port : New port for the peer.
* Time : Time it takes to reach the peer and receive a response.


=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hold
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Unhold
== InboundRegistrationDetail ==
=== Example ===
=== Example ===
<pre>
<pre>
Event: PeerStatus
Event: InboundRegistrationDetail
Privilege: system,all
ObjectType: aor
ChannelType: SIP
ObjectName: agent-01
Peer: SIP/agent-01
MinimumExpiration: 60
PeerStatus: Registered
DefaultExpiration: 3600
Address: 192.168.200.50:5060
QualifyTimeout: 3.000000
Mailboxes:
SupportPath: false
VoicemailExtension:
MaxContacts: 1
AuthenticateQualify: false
Contact: agent-01/sip:65387014@10.1.27.127:60668
MaximumExpiration: 7200
QualifyFrequency: 0
RemoveExisting: true
OutboundProxy:  
Contacts: agent-01/sip:65387014@10.1.27.127:60668,
</pre>
 
== IdentifyDetail ==
Provide details about an identify section.
 
Class : COMMAND
<pre>
Event: IdentifyDetail
ObjectType: <value>
ObjectName: <value>
Endpoint: <value>
Match: <value>
EndpointName: <value>
</pre>
</pre>
* ObjectType : The object's type. This will always be "identify".
* ObjectName : The name of this object.
* Endpoint : Nameof Endpoint.
* Match : IP addresses or networks to match against.
* EndpointName : The name of the endpoint associated with this information.


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_PeerStatus
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_IdentifyDetail
 
== InvalidAccountID ==
Raised when a request fails an authentication check due to an invalid account ID.


== QueueCallerAbandon ==
Class : SECURITY
Queue 에 인입된 콜이 분배되기 전 Hangup 되었을 때 발생하는 이벤트이다.
<pre>
<pre>
Event: QueueCallerAbandon
Event: InvalidAccountID
Channel: <value>
EventTV: <value>
ChannelState: <value>
Severity: <value>
ChannelStateDesc: <value>
Service: <value>
CallerIDNum: <value>
EventVersion: <value>
CallerIDName: <value>
AccountID: <value>
ConnectedLineNum: <value>
SessionID: <value>
ConnectedLineName: <value>
LocalAddress: <value>
AccountCode: <value>
RemoteAddress: <value>
Context: <value>
[Module:] <value>
Exten: <value>
[SessionTV:] <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Queue: <value>
Position: <value>
OriginalPosition: <value>
HoldTime: <value>
</pre>
</pre>
* EventTV : The time the event was detected.
* Severity : A relative severity of the security event.
: Informational
: Error
* Service : The Asterisk service that raised the security event.
* EventVersion : The version of this event.
* AccountID : The Service account associated with the security event notification.
* SessionID : A unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.


* Channel
=== Example ===
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
<pre>
* ChannelStateDesc : Channel state description 참조.
Event: InvalidAccountID
* CallerIDNum
Privilege: security,all
* CallerIDName
EventTV: 2017-03-22T14:35:31.838+0000
* ConnectedLineNum
Severity: Error
* ConnectedLineName
Service: AMI
* AccountCode
EventVersion: 1
* Context
AccountID: test
* Exten
SessionID: 0x7f49878ee3b0
* Priority
LocalAddress: IPV4/TCP/0.0.0.0/5038
* Uniqueid
RemoteAddress: IPV4/TCP/127.0.0.1/49117
* Linkedid - Uniqueid of the oldest channel associated with this channel.
SessionTV: 1970-01-01T00:00:00.000+0000
* Queue - The name of the queue.
</pre>
* Position - This channel's current position in the queue.
 
* OriginalPosition - The channel's original position in the queue.
=== See also ===
* HoldTime - The time the channel was in the queue, expressed in seconds since 00:00, Jan 1, 1970 UTC.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_InvalidAccountID
 
== InvalidPassword ==
Raised when a request provides an invalid password during an invalid password during an authentication attempt.


== QueueCallerJoin ==
Class : SECURITY
Queue 에 콜이 인입될 때 발생하는 이벤트이다.
<pre>
<pre>
Event: QueueCallerJoin
Event: InvalidPassword
Channel: <value>
EventTV: <value>
ChannelState: <value>
Severity: <value>
ChannelStateDesc: <value>
Service: <value>
CallerIDNum: <value>
EventVersion: <value>
CallerIDName: <value>
AccountID: <value>
ConnectedLineNum: <value>
SessionID: <value>
ConnectedLineName: <value>
LocalAddress: <value>
AccountCode: <value>
RemoteAddress: <value>
Context: <value>
[Module:] <value>
Exten: <value>
[SessionTV:] <value>
Priority: <value>
[Challenge:] <value>
Uniqueid: <value>
[ReceivedChallenge:] <value>
Linkedid: <value>
[RecievedHash:] <value>
Queue: <value>
Position: <value>
Count: <value>
</pre>
</pre>
 
* EventTV : The time the event was detected.
* Channel
* Severity : A relative severity of the security event.
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
: Informational
* ChannelStateDesc : Channel state description 참조.
: Error
* CallerIDNum
* Service : The asterisk service that raised the security event.
* CallerIDName
* EventVersion : The version of this event.
* ConnectedLineNum
* AccountID : The Service account associated with the security event notification.
* ConnectedLineName
* SessionID : A unique identifier for the session in the service that raised the event.
* AccountCode
* LocalAddress : The address of the Asterisk service that raised the security event.
* Context
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* Exten
* Module : If available, the name of the module that raised the event.
* Priority
* SessionTV : The timestamp reported by the session.
* Uniqueid
* Challenge : The challenge that was sent.
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* ReceivedChallenge : The challenge that was received.
* Queue - The name of the queue.
* RecievedHash : The hash that was received.
* Position - This channel's current position in the queue.
* Count - The total number of channels in the queue.


=== Example ===
=== Example ===
<pre>
<pre>
Event: QueueCallerJoin
Event: InvalidPassword
Privilege: agent,all
Privilege: security,all
Channel: SIP/trunk_test_1-0000019a
EventTV: 2017-03-22T13:15:50.525+0000
ChannelState: 6
Severity: Error
ChannelStateDesc: Up
Service: SIP
CallerIDNum: <unknown>
EventVersion: 2
CallerIDName: <unknown>
AccountID: 999999
ConnectedLineNum: <unknown>
SessionID: 0x7f49b4cc6bd8
ConnectedLineName: <unknown>
LocalAddress: IPV4/UDP/127.0.0.1/5060
Language: en
RemoteAddress: IPV4/UDP/209.126.120.180/5183
AccountCode:
Challenge: 1538bbe1
Context: from_provider
ReceivedChallenge: 1538bbe1
Exten:
ReceivedHash: c022076148e01693420c417d2edcbc53
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Queue: TestQueue
Count: 1
Position: 1
</pre>
</pre>


== QueueCallerLeave ==
=== See also ===
Queue 에 인입된 콜이 빠져나갈 때 발생하는 이벤트이다.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_InvalidPassword
 
== InvalidTransport ==
Raised when a request attempts to use a transport not allowed by the Asterisk service.
 
Class : SECURITY
<pre>
<pre>
Event: QueueCallerLeave
Event: InvalidTransport
Channel: <value>
EventTV: <value>
ChannelState: <value>
Severity: <value>
ChannelStateDesc: <value>
Service: <value>
CallerIDNum: <value>
EventVersion: <value>
CallerIDName: <value>
AccountID: <value>
ConnectedLineNum: <value>
SessionID: <value>
ConnectedLineName: <value>
LocalAddress: <value>
AccountCode: <value>
RemoteAddress: <value>
Context: <value>
AttemptedTransport: <value>
Exten: <value>
[Module:] <value>
Priority: <value>
[SessionTV:] <value>
Uniqueid: <value>
Linkedid: <value>
Queue: <value>
Count: <value>
Position: <value>
</pre>
</pre>
* EventTV : The time the event was detected.
* Severity : A relative severity of the security event.
: Informational
: Error
* Service : The Asterisk service that raised the security event.
* EventVersion : The version of this event.
* AccountID : The service account associated with the security event notification.
* SessionID : A unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* AttemptedTransfer : The transport type that the request attempted to use.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.


* Channel
=== See also ===
* ChannelState - A numeric code for the channel's current state, related to ChannelStateDesc
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_InvalidTransport
* ChannelStateDesc : Channel state description 참조.
 
* CallerIDNum
== LoadAverageLimit ==
* CallerIDName
Raised when a request fails because a configured load average limit has been reached.
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* Queue - The name of the queue.
* Count - The total number of channels in the queue.
* Position - This channel's current position in the queue.


=== Example ===
Class : SECURITY
<pre>
<pre>
Event: QueueCallerLeave
Event: LoadAverageLimit
Privilege: agent,all
EventTV: <value>
Channel: SIP/trunk_test_1-0000019a
Severity: <value>
ChannelState: 6
Service: <value>
ChannelStateDesc: Up
EventVersion: <value>
CallerIDNum: <unknown>
AccountID: <value>
CallerIDName: <unknown>
SessionID: <value>
ConnectedLineNum: <unknown>
LocalAddress: <value>
ConnectedLineName: <unknown>
RemoteAddress: <value>
Language: en
[Module:] <value>
AccountCode:  
[SessionTV:] <value>
Context: from_provider
Exten:
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Queue: TestQueue
Count: 0
Position: 1
</pre>
</pre>
* EventTV : The time the event was detected.
* Severity : A relative severity of the security event.
: Informational
: Error
* Service : The Asterisk that raised the security event.
* EventVersion : The version of this event.
* AccountID : The service account associated with the security event notification.
* SessionID : A unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LoadAverageLimit


== QueueMemberAdded ==
== LocalBridge ==
Queue 에 새롭게 멤버가 등록되었을 때 발생하는 이벤트 메시지이다.
Raised when two halves of a Local Channel form a bridge.
 
Class : CALL
<pre>
<pre>
Event: QueueMemberAdded
Event: LocalBridge
Privilege: agent,all
LocalOneChannel: <value>
Queue: Dragon
LocalOneChannelState: <value>
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
LocalOneChannelStateDesc: <value>
MemberName: Local/603-test-mac_address-what-ever-002-1@DialLine/n
LocalOneCallerIDNum: <value>
Membership: dynamic
LocalOneCallerIDName: <value>
Penalty: 0
LocalOneConnectedLineNum: <value>
CallsTaken: 0
LocalOneConnectedLineName: <value>
LastCall: 0
LocalOneAccountCode: <value>
Status: 1
LocalOneContext: <value>
Paused: 0
LocalOneExten: <value>
LocalOnePriority: <value>
LocalOneUniqueid: <value>
LocalOneLinkedid: <value>
LocalTwoChannel: <value>
LocalTwoChannelState: <value>
LocalTwoChannelStateDesc: <value>
LocalTwoCallerIDNum: <value>
LocalTwoCallerIDName: <value>
LocalTwoConnectedLineNum: <value>
LocalTwoConnectedLineName: <value>
LocalTwoAccountCode: <value>
LocalTwoContext: <value>
LocalTwoExten: <value>
LocalTwoPriority: <value>
LocalTwoUniqueid: <value>
LocalTwoLinkedid: <value>
Context: <value>
Exten: <value>
LocalOptimization: <value>
</pre>
</pre>
* LocalOneChannel
* LocalOneChannelState
* LocalOneChannelStateDesc
* LocalOneCallerIDNum
* LocalOneCallerIDName
* LocalOneAccountCode
* LocalOneContext
* LocalOneExten
* LocalOnePriority
* LocalOneUniqueid
* LocalOneLinkedid
* LocalTwoChannel
* LocalTwoChannelState
* LocalTwoChannelStateDesc
* LocalTwoCallerIDNum
* LocalTwoCallerIDName
* LocalTwoConnectedLineNum
* LocalTwoConnectedLineName
* LocalTwoAccountCode
* LocalTwoContext
* LocalTwoExten
* LocalTwoPriority
* LocalTwoUniqueid
* LocalTwoLinkedid
* Context : The context in the dialplan that Channel2 starts in.
* Exten : The extension in the dialplan that Channel2 starts in.
* LocalOptimization
: Yes
: No


== QueueMemberPause ==
=== Example ===
Queue 멤버가 Pause 되었을 때 발생하는 이벤트이다.
<pre>
<pre>
Event: QueueMemberPaused
Event: LocalBridge
Privilege: agent,all
Privilege: call,all
Queue: Dragon
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
LocalOneChannelState: 0
MemberName: dummy_name
LocalOneChannelStateDesc: Down
Paused: 0
LocalOneCallerIDNum: <unknown>
Reason: Test pause
LocalOneCallerIDName: <unknown>
LocalOneConnectedLineNum: <unknown>
LocalOneConnectedLineName: <unknown>
LocalOneLanguage: en
LocalOneAccountCode:
LocalOneContext: common-incoming
LocalOneExten: test-04
LocalOnePriority: 1
LocalOneUniqueid: 1447438716.467
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
LocalTwoChannelState: 4
LocalTwoChannelStateDesc: Ring
LocalTwoCallerIDNum: <unknown>
LocalTwoCallerIDName: <unknown>
LocalTwoConnectedLineNum: <unknown>
LocalTwoConnectedLineName: <unknown>
LocalTwoLanguage: en
LocalTwoAccountCode:
LocalTwoContext: common-incoming
LocalTwoExten: test-04
LocalTwoPriority: 1
LocalTwoUniqueid: 1447438716.468
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Context: common-incoming
Exten: test-04
LocalOptimization: Yes
</pre>
</pre>


== QueueMemberPenalty ==
=== See also ===
Queue 멤버의 Penalty 값이 조정되었을 때 발생하는 이벤트이다.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LocalBridge
 
== LocalOptimizationBegin ==
Raised when two halves of a Local Channel begin to optimize themselves out of the media path.


'''Example'''
Class : CALL
<pre>
<pre>
Event: QueueMemberPenalty
Event: LocalOptimizationBegin
Privilege: agent,all
LocalOneChannel: <value>
Queue: Dragon
LocalOneChannelState: <value>
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
LocalOneChannelStateDesc: <value>
Penalty: 100
LocalOneCallerIDNum: <value>
LocalOneCallerIDName: <value>
LocalOneConnectedLineNum: <value>
LocalOneConnectedLineName: <value>
LocalOneAccountCode: <value>
LocalOneContext: <value>
LocalOneExten: <value>
LocalOnePriority: <value>
LocalOneUniqueid: <value>
LocalOneLinkedid: <value>
LocalTwoChannel: <value>
LocalTwoChannelState: <value>
LocalTwoChannelStateDesc: <value>
LocalTwoCallerIDNum: <value>
LocalTwoCallerIDName: <value>
LocalTwoConnectedLineNum: <value>
LocalTwoConnectedLineName: <value>
LocalTwoAccountCode: <value>
LocalTwoContext: <value>
LocalTwoExten: <value>
LocalTwoPriority: <value>
LocalTwoUniqueid: <value>
LocalTwoLinkedid: <value>
SourceChannel: <value>
SourceChannelState: <value>
SourceChannelStateDesc: <value>
SourceCallerIDNum: <value>
SourceCallerIDName: <value>
SourceConnectedLineNum: <value>
SourceConnectedLineName: <value>
SourceAccountCode: <value>
SourceContext: <value>
SourceExten: <value>
SourcePriority: <value>
SourceUniqueid: <value>
SourceLinkedid: <value>
DestUniqueId: <value>
Id: <value>
</pre>
</pre>
* SourceLinkedid : Uniqeid of the oldest channel associated with this channel.
* DestUniqueid : The unique ID of the bridge into which the local channel is optimizing.
* Id : Identification for the optimization operation.


== QueueMemberRemoved ==
=== Example ===
Queue 에서 멤버가 Leave(삭제) 되었을 때 발생하는 이벤트이다.
 
'''Example'''
<pre>
<pre>
Event: QueueMemberRemoved
Event: LocalOptimizationBegin
Privilege: agent,all
Privilege: call,all
Queue: Dragon
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
LocalOneChannelState: 6
MemberName: dummy_name
LocalOneChannelStateDesc: Up
</pre>
LocalOneCallerIDNum: <unknown>
 
LocalOneCallerIDName: <unknown>
== QueueMemberRinginuse ==
LocalOneConnectedLineNum: <unknown>
== QueueMemberStatus ==
LocalOneConnectedLineName: <unknown>
Queue 의 멤버 상태 정보가 변경되었을 때, 발생한다.
LocalOneLanguage: en
LocalOneAccountCode:
LocalOneContext: common-incoming
LocalOneExten:
LocalOnePriority: 1
LocalOneUniqueid: 1447438716.467
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
LocalTwoChannelState: 6
LocalTwoChannelStateDesc: Up
LocalTwoCallerIDNum: <unknown>
LocalTwoCallerIDName: <unknown>
LocalTwoConnectedLineNum: <unknown>
LocalTwoConnectedLineName: <unknown>
LocalTwoLanguage: en
LocalTwoAccountCode:
LocalTwoContext: common-incoming
LocalTwoExten: test-04
LocalTwoPriority: 1
LocalTwoUniqueid: 1447438716.468
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
SourceChannel: SIP/test-04-0000019b
SourceChannelState: 6
SourceChannelStateDesc: Up
SourceCallerIDNum: test-04
SourceCallerIDName: <unknown>
SourceConnectedLineNum: <unknown>
SourceConnectedLineName: <unknown>
SourceLanguage: en
SourceAccountCode:
SourceContext: common-incoming
SourceExten:
SourcePriority: 1
SourceUniqueid: 1447438716.469
SourceLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestUniqueId: 1447438716.468
Id: 5
</pre>


Class : AGENT
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LocalOptimizationBegin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LocalOptimizationEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_LocalOptimizeAway
 
== LocalOptimizationEnd ==
Raised when two halves of a Local Channel have finished optimizing themselves out of the media path.
 
Class : CALL
<pre>
<pre>
Event: QueueMemberStatus
Event: LocalOptimizationEnd
Queue: <value>
LocalOneChannel: <value>
MemberName: <value>
LocalOneChannelState: <value>
Interface: <value>
LocalOneChannelStateDesc: <value>
StateInterface: <value>
LocalOneCallerIDNum: <value>
Membership: <value>
LocalOneCallerIDName: <value>
Penalty: <value>
LocalOneConnectedLineNum: <value>
CallsTaken: <value>
LocalOneConnectedLineName: <value>
LastCall: <value>
LocalOneAccountCode: <value>
Status: <value>
LocalOneContext: <value>
Paused: <value>
LocalOneExten: <value>
Ringinuse: <value>
LocalOnePriority: <value>
</pre>
LocalOneUniqueid: <value>
* Queue : The name of the queue.
LocalOneLinkedid: <value>
* MemberName : The name of the queue member.
LocalTwoChannel: <value>
* Interface : The queue member's channel technology or location.
LocalTwoChannelState: <value>
* StateInterface : Channel technology or location from which to read device state changes.
LocalTwoChannelStateDesc: <value>
* Membership
LocalTwoCallerIDNum: <value>
: dynamic
LocalTwoCallerIDName: <value>
: realtime
LocalTwoConnectedLineNum: <value>
: static
LocalTwoConnectedLineName: <value>
* Penalty : The penalty associated with the queue member.
LocalTwoAccountCode: <value>
* CallsTaken : The number of calls this queue member has serviced.
LocalTwoContext: <value>
* LastCall : The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
LocalTwoExten: <value>
* LastPause : The time when started last paused the queue member.
LocalTwoPriority: <value>
* InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
LocalTwoUniqueid: <value>
: 0
LocalTwoLinkedid: <value>
: 1
Success: <value>
* Status - The numeric device state status of the queue member.
Id: <value>
: 0 : AST_DEVICE_UNKNOWN
</pre>
: 1 : AST_DEVICE_NOT_INUSE
* Success : Indicates whether the local optimization succeeded.
: 2 : AST_DEVICE_INUSE
* Id : Identification for the optimization operation. Matches the id from a previous LocalOptimizationBegin.
: 3 : AST_DEVICE_BUSY
: 4 : AST_DEVICE_INVALID
: 5 : AST_DEVICE_UNAVAILABLE
: 6 : AST_DEVICE_RINGING
: 7 : AST_DEVICE_RINGINUSE
: 8 : AST_DEVICE_ONHOLD
* Paused
: 0 : Not paused.
: 1 : Paused.
* PauseReason : If set when paused, the reason the queue member was paused.
* Ringinuse
: 0
: 1


=== Example ===
=== Example ===
<pre>
<pre>
Event: QueueMemberStatus
Event: LocalOptimizationEnd
Privilege: agent,all
Privilege: call,all
PausedReason:  
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
MemberName: sip/agent-01
LocalOneChannelState: 6
InCall: 0
LocalOneChannelStateDesc: Up
Queue: sales_1
LocalOneCallerIDNum: <unknown>
Status: 1
LocalOneCallerIDName: <unknown>
Membership: dynamic
LocalOneConnectedLineNum: <unknown>
Interface: sip/agent-01
LocalOneConnectedLineName: <unknown>
StateInterface: sip/agent-01
LocalOneLanguage: en
Ringinuse: 1
LocalOneAccountCode:  
Penalty: 0
LocalOneContext: common-incoming
CallsTaken: 1
LocalOneExten:
LastCall: 1480670890
LocalOnePriority: 1
LastPause: 0
LocalOneUniqueid: 1447438716.467
Paused: 0
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
LocalTwoChannelState: 6
LocalTwoChannelStateDesc: Up
LocalTwoCallerIDNum: <unknown>
LocalTwoCallerIDName: <unknown>
LocalTwoConnectedLineNum: <unknown>
LocalTwoConnectedLineName: <unknown>
LocalTwoLanguage: en
LocalTwoAccountCode:
LocalTwoContext: common-incoming
LocalTwoExten: test-04
LocalTwoPriority: 1
LocalTwoUniqueid: 1447438716.468
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Success: No
Id: 5
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueMemberStatus
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LocalOptimizationEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LocalOptimizationBegin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_LocalOptimizeAway
 
== LogChannel ==
Raised when a logging channel is enabled/disabled.


== RequestBadFormat ==
Class : SYSTEM
Raised when a request is received with bad formatting.
 
Class : SECURITY
<pre>
<pre>
Event: RequestBadFormat
Event: LogChannel
EventTV: <value>
Channel: <value>
Severity: <value>
Enabled: <value>
Service: <value>
Reason: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
RequestType: <value>
[Module:] <value>
[SessionTV:] <value>
[AccountID:] <value>
[RequestParams:] <value>
</pre>
</pre>
* EventTV : The time the event was detected.
* Channel : The name of the logging channel.
* Severity : A relative severity of the security event.
* Enabled
: Informational
* Reason
: Error
 
* Service : The Asterisk service that raised the security event.
=== See also ===
* EventVersion : The version of this event.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LogChannel
* AccountID : The Service account associated with the security event notification.
 
* SessionID : A unique identifier for the session in the service that raised the event.
== MCID ==
* LocalAddress : The address of the Asterisk service that raised the security event.
Published when a malicious call ID request arrives.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* RequestType : The type of request attempted.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.
* AccountID : The account ID associated with the rejected request.
* RequestParams : Parameters provided to the rejected request.


=== Example ===
Class : CALL
<pre>
<pre>
Event: RequestBadFormat
Event: MCID
Privilege: security,all
Channel: <value>
EventTV: 2016-12-09T10:09:07.294+0000
ChannelState: <value>
Severity: Error
ChannelStateDesc: <value>
Service: AMI
CallerIDNum: <value>
EventVersion: 1
CallerIDName: <value>
SessionID: 0x1290100
ConnectedLineNum: <value>
LocalAddress: IPV4/TCP/0.0.0.0/5038
ConnectedLineName: <value>
RemoteAddress: IPV4/TCP/127.0.0.1/55100
AccountCode: <value>
RequestType: Action: NONE
Context: <value>
SessionTV: 2016-12-09T09:40:31.714+0000
Exten: <value>
AccountID: admin
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
MCallerIDNumValid: <value>
MCallerIDNum: <value>
MCallerIDton: <value>
MCallerIDNumPlan: <value>
MCallerIDNumPres: <value>
MCallerIDNameValid: <value>
MCallerIDName: <value>
MCallerIDNameCharSet: <value>
MCallerIDNamePres: <value>
MCallerIDSubaddr: <value>
MCallerIDSubaddrType: <value>
MCallerIDSubaddrOdd: <value>
MCallerIDPres: <value>
MConnectedIDNumValid: <value>
MConnectedIDNum: <value>
MConnectedIDton: <value>
MConnectedIDNumPlan: <value>
MConnectedIDNumPres: <value>
MConnectedIDNameValid: <value>
MConnectedIDName: <value>
MConnectedIDNameCharSet: <value>
MConnectedIDNamePres: <value>
MConnectedIDSubaddr: <value>
MConnectedIDSubaddrType: <value>
MConnectedIDSubaddrOdd: <value>
MConnectedIDPres: <value>
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_RequestBadFormat
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MCID
 
== MeetmeEnd ==
Raised when a MeetMe conference ends.
 
Class : CALL
<pre>
Event: MeetmeEnd
Meetme: <value>
</pre>
* Meetme : The identifier for the MeetMe conference.


== RequestNotAllowed ==
=== See also ===
전송한 Action Request 를 수행할 권한이 없음을 알려준다.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeJoin


AMI Action request 를 전송했는데, 만약 접속중인 계정에 해당 명령어를 수행할 권한이 없을 경우 발생하게 된다.
== MeetmeJoin ==
Raised when a user joins a MeetMe conference.


Class : SECURITY
Class : CALL
<pre>
<pre>
Event: RequestNotAllowed
Event: MeetmeJoin
EventTV: <value>
Meetme: <value>
Severity: <value>
Usernum: <value>
Service: <value>
Channel: <value>
EventVersion: <value>
ChannelState: <value>
AccountID: <value>
ChannelStateDesc: <value>
SessionID: <value>
CallerIDNum: <value>
LocalAddress: <value>
CallerIDName: <value>
RemoteAddress: <value>
ConnectedLineNum: <value>
RequestType: <value>
ConnectedLineName: <value>
[Module:] <value>
AccountCode: <value>
[SessionTV:] <value>
Context: <value>
[RequestParams:] <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
</pre>
</pre>
* EventTV : The time the event was detected.
* Meetme : The identifier for the MeetME conference.
* Severity : A relative severity of the security event.
* Usernum : The identifier of the MeetME user who joined.
: Informational
 
: Error
=== See also ===
* Service : The Asterisk service that raised the security event.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeJoin
* EventVersion : The version of this event.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeLeave
* AccountID : The Service account associated with the security event notification.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_MeetMe
* SessionID : A unique identifier for the session in the service that raised the event.
 
* LocalAddress : The address of the Asterisk service that raised the security event.
== MeetmeLeave ==
* RemoteAddress : The remote address of the enitty that caused the security event to be raised.
Raised when a user leaves a MeetMe conference.
* RequestType : The type of request attempted.
* SessionTV : The timestamp reported by the session.
* RequestParams : Parameters provided to the rejected request.


=== Example ===
Class : CALL
<pre>
<pre>
Event: RequestNotAllowed
Event: MeetmeLeave
Privilege: security,all
Meetme: <value>
EventTV: 2016-12-08T12:36:39.885+0000
Usernum: <value>
Severity: Error
Channel: <value>
Service: AMI
ChannelState: <value>
EventVersion: 1
ChannelStateDesc: <value>
AccountID: test
CallerIDNum: <value>
SessionID: 0x76309870
CallerIDName: <value>
LocalAddress: IPV4/TCP/0.0.0.0/5038
ConnectedLineNum: <value>
RemoteAddress: IPV4/TCP/127.0.0.1/55096
ConnectedLineName: <value>
RequestType: Action: Originate
AccountCode: <value>
SessionTV: 2016-12-08T11:28:24.934+0000
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Duration: <value>
</pre>
</pre>
* Meetme : The identifier for the MeetMe conference.
* Usernum : The identifier of the MeetMe user who joined.
* Duration : The length of time in seconds that the Meetme user was in the conference.


== RTCPReceived ==
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeLeave
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeJoin
 
== MeetmeMute ==
Raised when a MeetMe user is muted or unmuted.
 
Class : CALL
<pre>
<pre>
Event: RTCPReceived
Event: MeetmeMute
Privilege: reporting,all
Meetme: <value>
Channel: SIP/test-04-0000019b
Usernum: <value>
ChannelState: 6
Channel: <value>
ChannelStateDesc: Up
ChannelState: <value>
CallerIDNum: test-04
ChannelStateDesc: <value>
CallerIDName: <unknown>
CallerIDNum: <value>
ConnectedLineNum: <unknown>
CallerIDName: <value>
ConnectedLineName: <unknown>
ConnectedLineNum: <value>
Language: en
ConnectedLineName: <value>
AccountCode:  
AccountCode: <value>
Context: common-incoming
Context: <value>
Exten:  
Exten: <value>
Priority: 1
Priority: <value>
Uniqueid: 1447438716.469
Uniqueid: <value>
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: <value>
To: 127.0.1.1:0
Duration: <value>
From: 192.168.200.1:27223
Status: <value>
RTT: 0.0000
SSRC: 0x00f17974
PT: 201(RR)
ReportCount: 1
Report0SourceSSRC: 0x34634503
Report0FractionLost: 0
Report0CumulativeLost: 0
Report0HighestSequence: 41649
Report0SequenceNumberCycles: 0
Report0IAJitter: 0
Report0LSR: 0
Report0DLSR: 0.0000
</pre>
</pre>
* Meetme : The identifier for the MeetMe conference.
* Usernum : The idenitifer of the MeetMe user who joined.
* Duration : The length of time in seconds that the Meetme user has been in the conference at the time of this event.
* Status
: on
: off
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeMute


== SoftHangupRequest ==
== MeetmeTalking ==
Raised when a MeeMe user begins or ends talking.
 
Class : CALL
<pre>
<pre>
Event: SoftHangupRequest
Event: MeetmeTalking
Privilege: call,all
Meetme: <value>
Channel: Local/test-04@common-incoming-0000000a;2
Usernum: <value>
ChannelState: 6
Channel: <value>
ChannelStateDesc: Up
ChannelState: <value>
CallerIDNum: <unknown>
ChannelStateDesc: <value>
CallerIDName: <unknown>
CallerIDNum: <value>
ConnectedLineNum: <unknown>
CallerIDName: <value>
ConnectedLineName: <unknown>
ConnectedLineNum: <value>
Language: en
ConnectedLineName: <value>
AccountCode:  
AccountCode: <value>
Context: common-incoming
Context: <value>
Exten: test-04
Exten: <value>
Priority: 1
Priority: <value>
Uniqueid: 1447438716.468
Uniqueid: <value>
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: <value>
Cause: 16
Duration: <value>
Status: <value>
</pre>
</pre>
* Meetme : The identifier for the MeetMe conference.
* Usernum : The identifier of the MeetMe user who joined.
* Duration : The length of time in seconds that the Meetme user has been in the conference at the time of this event.
* Status
: on
: off


== Status ==
=== See also ===
Raised in response to Status command.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeTalking
 
== MeetmeTalkRequest ==
Raised when a MeetMe user has started talking.
 
Class : CALL
<pre>
<pre>
Event: Status
Event: MeetmeTalkRequest
[ActionID:] <value>
Meetme: <value>
Usernum: <value>
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 3,210: Line 4,285:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Type: <value>
Duration: <value>
DNID: <value>
Status: <value>
TimeToHangup: <value>
BridgeID: <value>
Linkedid: <value>
Application: <value>
Data: <value>
Nativeformats: <value>
Readformat: <value>
Readtrans: <value>
Writeformat: <value>
Writetrans: <value>
Callgroup: <value>
Pickupgroup: <value>
Seconds: <value>
</pre>
</pre>
* Meetme : The identifier for the MeetMe conference.
* Usernum : The idenitifer of the MeetMe user who joined.
* Duration : The length of time in seconds that the Meetme user has been in the conference at the time of this event.
* Status
: on
: off


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Status
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeTalkRequest


== SussessfulAuth ==
== MemoryLimit ==
Raised when a request successfully authenticates with a service.
Raised when a request fails due to an internal memory allocation failure.


Class : SECURITY
Class : SECURITY
<pre>
<pre>
Event: SuccessfulAuth
Event: MemoryLimit
EventTV: <value>
EventTV: <value>
Severity: <value>
Severity: <value>
Line 3,244: Line 4,312:
LocalAddress: <value>
LocalAddress: <value>
RemoteAddress: <value>
RemoteAddress: <value>
UsingPassword: <value>
[Module:] <value>
[Module:] <value>
[SessionTV:] <value>
[SessionTV:] <value>
Line 3,255: Line 4,322:
* EventVersion : The version of this event.
* EventVersion : The version of this event.
* AccountID : The Service account associated with the security event notification.
* AccountID : The Service account associated with the security event notification.
* SessionID : A unique identifier for the session in the service that raised the event.
* SessionID : A Unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* UsingPassword : Whether or not the authentication attempt included a password.
* Module : If available, the name of the module that raised the event.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.
* SessionTV : The timestamp reported by the session.
=== Example ===
<pre>
Event: SuccessfulAuth
Privilege: security,all
EventTV: 2016-12-09T09:40:31.714+0000
Severity: Informational
Service: AMI
EventVersion: 1
AccountID: admin
SessionID: 0x1290100
LocalAddress: IPV4/TCP/0.0.0.0/5038
RemoteAddress: IPV4/TCP/127.0.0.1/55100
UsingPassword: 0
SessionTV: 2016-12-09T09:40:31.714+0000
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SuccessfulAuth
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MemoryLimit


== UnParkedCall ==
== MessageWaiting ==
Raised when a chaneel leaves a parking lot because it was retrieved from the parking lot and reconnected.
Raised when the state of messages in a voicemail mailbox has changed or when a channel has finished interacting with a mailbox.


Class : Call
Class : CALL
<pre>
<pre>
Event: UnParkedCall
Event: MessageWaiting
ParkeeChannel: <value>
Channel: <value>
ParkeeChannelState: <value>
ChannelState: <value>
ParkeeChannelStateDesc: <value>
ChannelStateDesc: <value>
ParkeeCallerIDNum: <value>
CallerIDNum: <value>
ParkeeCallerIDName: <value>
CallerIDName: <value>
ParkeeConnectedLineNum: <value>
ConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
ConnectedLineName: <value>
ParkeeAccountCode: <value>
AccountCode: <value>
ParkeeContext: <value>
Context: <value>
ParkeeExten: <value>
Exten: <value>
ParkeePriority: <value>
Priority: <value>
ParkeeUniqueid: <value>
Uniqueid: <value>
ParkeeLinkedid: <value>
Linkedid: <value>
ParkerChannel: <value>
Mailbox: <value>
ParkerChannelState: <value>
Waiting: <value>
ParkerChannelStateDesc: <value>
New: <value>
ParkerCallerIDNum: <value>
Old: <value>
ParkerCallerIDName: <value>
ParkerConnectedLineNum: <value>
ParkerConnectedLineName: <value>
ParkerAccountCode: <value>
ParkerContext: <value>
ParkerExten: <value>
ParkerPriority: <value>
ParkerUniqueid: <value>
ParkerLinkedid: <value>
ParkerDialString: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
RetrieverChannel: <value>
RetrieverChannelState: <value>
RetrieverChannelStateDesc: <value>
RetrieverCallerIDNum: <value>
RetrieverCallerIDName: <value>
RetrieverConnectedLineNum: <value>
RetrieverConnectedLineName: <value>
RetrieverAccountCode: <value>
RetrieverContext: <value>
RetrieverExten: <value>
RetrieverPriority: <value>
RetrieverUniqueid: <value>
RetrieverLinkedid: <value>
</pre>
</pre>
* ParkeeChannel
 
* ParkeeChannelState
=== Example ===
* ParkeeChannelStateDesc
<pre>
* ParkeeCallerIDNum
Event: MessageWaiting
* ParkeeCallerIDName
Privilege: call,all
* ParkeeConnectedLineNum
Channel: SIP/agent-01-00000001
* ParkeeConnectedLineName
ChannelState: 6
* ParkeeAccountCode
ChannelStateDesc: Up
* ParkeeContext
CallerIDNum: agent-01
* ParkeeExten
CallerIDName: agent-01
* ParkeePriority
ConnectedLineNum: <unknown>
* ParkeeUniqueid
ConnectedLineName: <unknown>
* ParkeeLinkedid
Language: en
* ParkerChannel
AccountCode:
* ParkerChannelState
Context: public
* ParkerChannelStateDesc
Exten: 6001
* ParkerCallerIDNum
Priority: 2
* ParkerCallerIDName
Uniqueid: 1512317522.2
* ParkerConnectedLineNum
Linkedid: 1512317522.2
Mailbox: 6001@vm-demo
Waiting: 1
New: 2
Old: 1
</pre>
 
== MonitorStart ==
Raised when monitoring has started on a channel.
 
Class : CALL
<pre>
Event: MonitorStart
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
 
=== Example ===
<pre>
Event: MonitorStart
Privilege: call,all
Channel: SIP/300-00000000
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 300
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample_musiconhold
Exten: s
Priority: 3
Uniqueid: 1481880386.0
Linkedid: 1481880386.0
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MonitorStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MonitorStop
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Monitor
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Monitor
 
== MonitorStop ==
Raised when monitoring has stopped on a channel.
 
Class : CALL
<pre>
Event: MonitorStop
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
 
=== Example ===
<pre>
Event: MonitorStop
Privilege: call,all
Channel: SIP/300-00000000
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 300
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample_musiconhold
Exten: s
Priority: 3
Uniqueid: 1481880386.0
Linkedid: 1481880386.0
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MonitorStop
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MonitorStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_StopMonitor
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_StopMonitor
 
== MusicOnHoldStart ==
채널에서 Music on hold 가 시작되었음을 알려준다.
<pre>
Event: MusicOnHoldStart
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Class: <value>
</pre>
* Channel
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* channelStateDesc : Channel state description 참조.
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Class : The class of music being played on the channel.
 
=== Example ===
<pre>
Event: MusicOnHoldStart
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: from_provider
Exten:
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Class: default
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MusicOnHoldStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MusicOnHoldStop
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_StartMusicOnHold
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_MusicOnHold
 
== MusicOnHoldStop ==
=== Example ===
<pre>
Event: MusicOnHoldStop
Privilege: call,all
Channel: SIP/agent-01-0000002b
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample_musiconhold
Exten: s
Priority: 3
Uniqueid: 1481278514.79
Linkedid: 1481278514.79
</pre>
 
== Newchannel ==
새로운 채널이 생성되었을 때 발생한다.
 
Raised when a new channel is created.
 
Class : CALL
<pre>
Event: Newchannel
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
</pre>
 
=== Example ===
<pre>
Event: Newchannel
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: from_provider
Exten: s
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newchannel
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newstate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup
 
== NewConnectedLine ==
Raised when a channel's connected line information is changed.
 
Class : CALL
<pre>
Event: NewConnectedLine
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
 
=== Example ===
<pre>
Event: NewConnectedLine
Privilege: call,all
Channel: SIP/agent-03-0000002e
ChannelState: 5
ChannelStateDesc: Ringing
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: agent-01
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: public
Exten: s
Priority: 1
Uniqueid: 1481281261.84
Linkedid: 1481281260.83
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_NewConnectedLine
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CONNECTEDLINE
 
== Newexten ==
채널이 새로운 context, extension, priority 로 진입했을 때 발생한다.
<pre>
Event: NewExten
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Extension: <value>
Application: <value>
AppData: <value>
</pre>
* Channel
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* ChannelStateDesc : Channel state description 참조.
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Extension : Deprecated in 12, but kept for backward compatibility. Please use 'Exten' instead.
* Application : The application about to be executed.
* AppData : The data to be passed to the application.
 
=== Example ===
<pre>
Event: Newexten
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: from_provider
Exten:
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Extension:
Application: AppDial2
AppData: (Outgoing Line)
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_NewExten
 
== Newstate ==
Channel 의 state 의 변경되었음을 알려준다.
<pre>
Event: Newstate
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
</pre>
* Channel
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* ChannelStateDesc : Channel state description 참조.
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid : Uniqueid of the oldest channel associated with this channel.
 
=== Example ===
<pre>
Event: Newstate
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: from_provider
Exten:
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newstate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newchannel
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup
 
== OriginateResponse ==
Raised in response to an Originate command.
 
Class : CALL
<pre>
Event: OriginateResponse
[ActionID:] <value>
Response: <value>
Channel: <value>
Context: <value>
Exten: <value>
Reason: <value>
Uniqueid: <value>
CallerIDNum: <value>
CallerIDName: <value>
</pre>
* ActionID
* Response
: Failure
: Success
* Channel
* Context
* Exten
* Reason
: 자세한 내용은 [[Asterisk_status_code#Originate_response_reason]] 참조.
* Uniqueid
* CallerIDNum
* CallerIDName
 
=== Example ===
==== Normal ====
<pre>
"event": "OriginateResponse",
"privilege": "call,all",
"response": "Success",
"channel": "SIP/trunk_test_1-00000000",
"reason": "4",
"uniqueid": "dd420b95-c52d-467a-8f65-63efaa094eb6",
"calleridname": "<unknown>",
"context": "",
"exten": "",
"calleridnum": "<unknown>"
</pre>
 
==== Failed ====
<pre>
"event": "OriginateResponse",
"privilege": "call,all",
"response": "Failure",
"channel": "SIP/111-111-0004@trunk_test_1",
"reason": "5",
"uniqueid": "<null>",
"calleridname": "<unknown>",
"context": "",
"exten": "",
"calleridnum": "<unknown>"
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_OriginateResponse
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Originate
 
== OutboundRegistrationDetail ==
=== Example ===
==== Normal ====
<pre>
Event: OutboundRegistrationDetail
ObjectType: registration
ObjectName: test12345
MaxRetries: 10
ClientUri: sip:test12345.test.com
AuthRejectionPermanent: true
ServerUri: sip:sip.test.com
SupportPath: false
RetryInterval: 60
Expiration: 3600
Transport:
Line: false
ContactUser:
Endpoint:
ForbiddenRetryInterval: 0
OutboundAuth: test12345
OutboundProxy:
FatalRetryInterval: 0
Status: Rejected
NextReg: 0
</pre>
 
== OutboundRegistrationDetailComplete ==
=== Example ===
==== Normal ====
<pre>
Event: OutboundRegistrationDetailComplete
EventList: Complete
ListItems: 1
Registered: 0
NotRegistered: 1
</pre>
 
== ParkedCall ==
Channel 이 parked 되었을 때 발생한다.
 
Raised when a channel is parked.
 
Class : CALL
<pre>
Event: ParkedCall
ParkeeChannel: <value>
ParkeeChannelState: <value>
ParkeeChannelStateDesc: <value>
ParkeeCallerIDNum: <value>
ParkeeCallerIDName: <value>
ParkeeConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
ParkeeAccountCode: <value>
ParkeeContext: <value>
ParkeeExten: <value>
ParkeePriority: <value>
ParkeeUniqueid: <value>
ParkeeLinkedid: <value>
ParkerDialString: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
</pre>
* ParkeeChannel
* ParkeeChannelState
* ParkeeChannelStateDesc
* ParkeeCallerIDNum
* ParkeeCallerIDName
* ParkeeConnectedLineNum
* ParkeeConnectedLineName
* ParkeeAccountCode
* ParkeeContext
* ParkeeExten
* ParkeePriority
* ParkeeUniqueid
* ParkeeLinkedid : Unique of the oldest channel associated with this channel.
* ParkerDialString : Dial string that can be used to call back the parker on ParkingTimeout.
* Parkinglot : Name of the parking lot that the parkee is parked in.
* ParkingSpace : Parking Space that the parkee is parked in.
* ParkingTimeout : time remaining until the parkee is forcefully removed from parking in seconds.
* ParkingDuration : Time the parkee has been in the parking bridge(in seconds).
 
=== Example ===
<pre>
Event: ParkedCall
Privilege: call,all
ParkeeChannel: SIP/agent-01-00000009
ParkeeChannelState: 6
ParkeeChannelStateDesc: Up
ParkeeCallerIDNum: agent-01
ParkeeCallerIDName: <unknown>
ParkeeConnectedLineNum: <unknown>
ParkeeConnectedLineName: <unknown>
ParkeeLanguage: en
ParkeeAccountCode:
ParkeeContext: sample_park
ParkeeExten: s
ParkeePriority: 2
ParkeeUniqueid: 1486373739.14
ParkeeLinkedid: 1486373739.14
ParkerDialString: SIP/agent-01
Parkinglot: default
ParkingSpace: 701
ParkingTimeout: 45
ParkingDuration: 0
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ParkedCall
 
== ParkedCallGiveUp ==
Parking lot 에서 대기중인 채널이 다른 곳으로 redirect/bridge/hangup 될 경우 발생한다.
 
Raised when a channel leaves a parking lot because it hung up without being answer.
 
Class : CALL
<pre>
Event: ParkedCallGiveUp
ParkeeChannel: <value>
ParkeeChannelState: <value>
ParkeeChannelStateDesc: <value>
ParkeeCallerIDNum: <value>
ParkeeCallerIDName: <value>
ParkeeConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
ParkeeAccountCode: <value>
ParkeeContext: <value>
ParkeeExten: <value>
ParkeePriority: <value>
ParkeeUniqueid: <value>
ParkeeLinkedid: <value>
ParkerChannel: <value>
ParkerChannelState: <value>
ParkerChannelStateDesc: <value>
ParkerCallerIDNum: <value>
ParkerCallerIDName: <value>
ParkerConnectedLineNum: <value>
ParkerConnectedLineName: <value>
ParkerAccountCode: <value>
ParkerContext: <value>
ParkerExten: <value>
ParkerPriority: <value>
ParkerUniqueid: <value>
ParkerLinkedid: <value>
ParkerDialString: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
</pre>
* ParkeeChannel
* ParkeeChannelState
* ParkeeChannelStateDesc
* ParkeeCallerIDNum
* ParkeeCallerIDName
* ParkeeConnectedLineNum
* ParkeeConnectedLineName
* ParkeeAccountCode
* ParkeeContext
* ParkeeExten
* ParkeePriority
* ParkeeUniqueid
* ParkeeLinkedid
* ParkerChannel
* ParkerChannelState
* ParkerChannelStateDesc
* ParkerCallerIDNum
* ParkerCallerIDName
* ParkerConnectedLineNum
* ParkerConnectedLineName
* ParkerConnectedLineName
* ParkerAccountCode
* ParkerAccountCode
* ParkerContext
* ParkerContext
* ParkerExten
* ParkerExten
* ParkerPriority
* ParkerPriority
* ParkerUniqueid
* ParkerUniqueid
* ParkerLinkedid
* ParkerLinkedid
* ParkerDialString
* ParkerDialString : Dial String that can be used to call back the parker on Parking Timeout.
* Parkinglot
* Parkinglot : Name of the parking lot that the parkee is parked in.
* ParkingSpace
* ParkingSpace : Parking Space that the parkee is parked in.
* ParkingTimeout
* ParkingTimeout : Time remaining until the parkee is forcefully removed from parking in seconds.
* ParkingDuration
* ParkingDuration : Time the parkee has been in the parking bridge (in seconds).
* RetrieverChannel
 
* RetrieverChannelState
=== Example ===
* RetrieverChannelStateDesc
<pre>
* RetrieverCallerIDNum
Event: ParkedCallGiveUp
* RetrieverCallerIDName
Privilege: call,all
* RetrieverConnectedLineNum
ParkeeChannel: SIP/agent-01-00000026
* RetrieverConnectedLineName
ParkeeChannelState: 6
* RetrieverAccountCode
ParkeeChannelStateDesc: Up
* RetrieverContext
ParkeeCallerIDNum: agent-01
* RetrieverExten
ParkeeCallerIDName: <unknown>
* RetrieverPriority
ParkeeConnectedLineNum: <unknown>
* RetrieverUniqueid
ParkeeConnectedLineName: <unknown>
* RetrieverLinkedid
ParkeeLanguage: en
 
ParkeeAccountCode:
 
ParkeeContext: sample_park
== VarSet ==
ParkeeExten: s
'''Example'''
ParkeePriority: 2
ParkeeUniqueid: 1480935251.69
ParkeeLinkedid: 1480935251.69
ParkerDialString: SIP/agent-01
Parkinglot: default
ParkingSpace: 701
ParkingTimeout: 35
ParkingDuration: 10
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ParkedCallGiveUp
 
== ParkedCallSwap ==
Raised when a channel takes the place of a previously parked channel.
 
This event is raised when a channel initially parked in the parking lot is swapped out with a different channel. The most common case for this is when an attended transfer to a parking lot occurs. The Parkee information in the event will indicate the party that was swapped into the parking lot.
 
Class : CALL
<pre>
Event: ParkedCallSwap
ParkeeChannel: <value>
ParkeeChannelState: <value>
ParkeeChannelStateDesc: <value>
ParkeeCallerIDNum: <value>
ParkeeCallerIDName: <value>
ParkeeConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
ParkeeAccountCode: <value>
ParkeeContext: <value>
ParkeeExten: <value>
ParkeePriority: <value>
ParkeeUniqueid: <value>
ParkeeLinkedid: <value>
ParkerChannel: <value>
ParkerChannelState: <value>
ParkerChannelStateDesc: <value>
ParkerCallerIDNum: <value>
ParkerCallerIDName: <value>
ParkerConnectedLineNum: <value>
ParkerConnectedLineName: <value>
ParkerAccountCode: <value>
ParkerContext: <value>
ParkerExten: <value>
ParkerPriority: <value>
ParkerUniqueid: <value>
ParkerLinkedid: <value>
ParkerDialString: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
</pre>
* ParkeeChannel
* ParkeeChannelState
* ParkeeChannelStateDesc
* ParkeeCallerIDNum
* ParkeeCallerIDName
* ParkeeConnectedLineNum
* ParkeeConnectedLineName
* ParkeeAccountCode
* ParkeeContext
* ParkeeExten
* ParkeePriority
* ParkeeUniqueid
* ParkeeLinkedid : Uniqueid of the oldest channel associated with this channel.
* ParkerChannel
* ParkerChannelState
* ParkerChannelStateDesc
* ParkerCallerIDNum
* ParkerCallerIDName
* ParkerConnectedLineNum
* ParkerConnectedLineName
* ParkerAccountCode
* ParkerContext
* ParkerExten
* ParkerPriority
* ParkerUniqueid
* ParkerLinkedid : Uniqueid of the oldest channel associated with this channel.
* ParkerDialString : Dial string that can be used to call back the parker on ParkingTimeout.
* Parkinglot : Name of the parking lot that the parkee is parked in.
* ParkingSpace : Parking space that the parkee is parked in.
* ParkingTimeout : Time remaining until the parkee is forcefully removed from parking in seconds.
* OarkingDuration : Time the parkee has been in the parking bridge(in seconds).
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ParkedCallSwap
 
== ParkedCallTimeOut ==
Raised when a channel leaves a parking lot due to reaching the time limit of being parked.
 
Class : CALL
<pre>
Event: ParkedCallTimeOut
ParkeeChannel: <value>
ParkeeChannelState: <value>
ParkeeChannelStateDesc: <value>
ParkeeCallerIDNum: <value>
ParkeeCallerIDName: <value>
ParkeeConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
ParkeeAccountCode: <value>
ParkeeContext: <value>
ParkeeExten: <value>
ParkeePriority: <value>
ParkeeUniqueid: <value>
ParkeeLinkedid: <value>
ParkerChannel: <value>
ParkerChannelState: <value>
ParkerChannelStateDesc: <value>
ParkerCallerIDNum: <value>
ParkerCallerIDName: <value>
ParkerConnectedLineNum: <value>
ParkerConnectedLineName: <value>
ParkerAccountCode: <value>
ParkerContext: <value>
ParkerExten: <value>
ParkerPriority: <value>
ParkerUniqueid: <value>
ParkerLinkedid: <value>
ParkerDialString: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
</pre>
 
=== Example ===
<pre>
Event: ParkedCallTimeOut
Privilege: call,all
ParkeeChannel: SIP/agent-02-00000007
ParkeeChannelState: 6
ParkeeChannelStateDesc: Up
ParkeeCallerIDNum: agent-02
ParkeeCallerIDName: <unknown>
ParkeeConnectedLineNum: <unknown>
ParkeeConnectedLineName: <unknown>
ParkeeLanguage: en
ParkeeAccountCode:
ParkeeContext: park-dial
ParkeeExten: SIP_agent-02
ParkeePriority: 1
ParkeeUniqueid: 1491606713.17
ParkeeLinkedid: 1491606713.17
ParkerDialString: SIP/agent-02
Parkinglot: default
ParkingSpace: 701
ParkingTimeout: 0
ParkingDuration: 45
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ParkedCallTimeOut
 
== Parkinglot ==
Action: Parkinglots response message.
 
=== Example ===
<pre>
Event: Parkinglot
Name: default
StartSpace: 701
StopSpace: 720
Timeout: 45
</pre>
 
== PeerEntry ==
Action: SIPpeers response message.
<pre>
Event: PeerEntry
Channeltype: <value>
ObjectName: <value>
ChanObjectType: <value>
IPaddress: <value>
IPport: <value>
Dynamic: <value>
AutoForcerport: <value>
Forcerport: <value>
AutoComedia: <value>
Comedia: <value>
VideoSupport: <value>
TextSupport: <value>
ACL: <value>
Status: <value>
RealtimeDevice: <value>
Description: [value]
Accountcode: [value]
</pre>
 
=== Example ===
<pre>
Event: PeerEntry
Channeltype: SIP
ObjectName: client-02
ChanObjectType: peer
IPaddress: -none-
IPport: 0
Dynamic: yes
AutoForcerport: yes
Forcerport: no
AutoComedia: no
Comedia: no
VideoSupport: no
TextSupport: no
ACL: no
Status: Unmonitored
RealtimeDevice: no
Description:
Accountcode:
</pre>
 
== PeerlistComplete ==
Action: SIPpeers response message.
<pre>
Event: PeerlistComplete
EventList: Complete
ListItems: <value>
</pre>
 
=== Example ===
<pre>
Event: PeerlistComplete
EventList: Complete
ListItems: 12
</pre>
 
== PeerStatus ==
Peer 의 state 가 변경되었음을 알려준다.
<pre>
Event: PeerStatus
ChannelType: <value>
Peer: <value>
PeerStatus: <value>
Cause: <value>
Address: <value>
Port: <value>
Time: <value>
</pre>
* ChannelType : The channel technology of the peer.
* Peer : The name of the peer(including channel technology).
* PeerStatus : New status of the peer.
: Unknown
: Registered
: Unregistered
: Rejected
: Lagged
* Cause : The reason the status has changed.
* Address : New address of the peer.
* Port : New port for the peer.
* Time : Time it takes to reach the peer and receive a response.
 
=== Example ===
<pre>
Event: PeerStatus
Privilege: system,all
ChannelType: SIP
Peer: SIP/agent-01
PeerStatus: Registered
Address: 192.168.200.50:5060
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_PeerStatus
 
== SIPpeerstatusComplete ==
Action: SIPpeerstatus response message
<pre>
Event: SIPpeerstatusComplete
EventList: Complete
ListItems: <value>
</pre>
 
=== Example ===
<pre>
Event: SIPpeerstatusComplete
EventList: Complete
ListItems: 1
</pre>
 
== QueueCallerAbandon ==
Queue 에 인입된 콜이 분배되기 전 Hangup 되었을 때 발생하는 이벤트이다.
<pre>
Event: QueueCallerAbandon
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Queue: <value>
Position: <value>
OriginalPosition: <value>
HoldTime: <value>
</pre>
* Channel
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
* ChannelStateDesc : Channel state description 참조.
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* Queue - The name of the queue.
* Position - This channel's current position in the queue.
* OriginalPosition - The channel's original position in the queue.
* HoldTime - The time the channel was in the queue, expressed in seconds since 00:00, Jan 1, 1970 UTC.
 
=== Example ===
<pre>
Event: QueueCallerLeave
Privilege: agent,all
Channel: SIP/agent-01-00007314
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: agent-01
CallerIDName: agent-01@earth.pchero21.com
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: queue_sales
Exten: s
Priority: 2
Uniqueid: 1491823927.30389
Linkedid: 1491823927.30389
Queue: sales_1
Position: 1
Count: 0
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueCallerAbandon
 
== QueueCallerJoin ==
Queue 에 콜이 인입될 때 발생하는 이벤트이다.
<pre>
Event: QueueCallerJoin
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Queue: <value>
Position: <value>
Count: <value>
</pre>
 
* Channel
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
* ChannelStateDesc : Channel state description 참조.
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* Queue - The name of the queue.
* Position - This channel's current position in the queue.
* Count - The total number of channels in the queue.
 
=== Example ===
<pre>
Event: QueueCallerJoin
Privilege: agent,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: from_provider
Exten:
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Queue: TestQueue
Count: 1
Position: 1
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueCallerJoin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueCallerLeave
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Queue
 
== QueueCallerLeave ==
Queue 에 인입된 콜이 빠져나갈 때 발생하는 이벤트이다.
<pre>
Event: QueueCallerLeave
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Queue: <value>
Count: <value>
Position: <value>
</pre>
 
* Channel
* ChannelState - A numeric code for the channel's current state, related to ChannelStateDesc
* ChannelStateDesc : Channel state description 참조.
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* Queue - The name of the queue.
* Count - The total number of channels in the queue.
* Position - This channel's current position in the queue.
 
=== Example ===
<pre>
Event: QueueCallerLeave
Privilege: agent,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: from_provider
Exten:
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Queue: TestQueue
Count: 0
Position: 1
</pre>
 
== QueueEntry ==
Action: QueueStatus response message.
 
Queue 에서 대기중인 콜이 있을 경우 표시된다.
<pre>
Event: QueueEntry
Queue: <value>
Position: <value>
Channel: <value>
Uniqueid: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
Wait: <value>
</pre>
* Queue : Queue name
* Position : Priority number of entry from the queue.
* Channel : Channel name
* Uniqueid : Unique id of Asterisk
* CallerIDNum : Caller's number
* CallerIDName : Caller's name
* ConnectedLineNum : 현재 이 콜과 연결된(통화중인) number
* ConnectedLineName : 현재 이 콜과 연결된(통화중인) name
* Wait : 이 큐에서 대기한 시간(초)
 
=== Example ===
<pre>
Event: QueueEntry
Queue: sales_1
Position: 1
Channel: SIP/agent-01-0000000f
Uniqueid: 1486480869.26
CallerIDNum: agent-01
CallerIDName: unknown
ConnectedLineNum: unknown
ConnectedLineName: unknown
Wait: 11
</pre>
 
== QueueMember ==
Action: QueueStatus 의 response message 중 하나이다. Queue 에 속해있는 멤버의 정보를 표시한다.
<pre>
Event: QueueMember
Queue: <value>
Name: <value>
Location: <value>
StateInterface: <value>
Membership: <value>
Penalty: <value>
CallsTaken: <value>
LastCall: <value>
LastPause: <value>
InCall: <value>
Status: <value>
Paused: <value>
PausedReason: <value>
</pre>
* Name : Member name
* Status : 멤버의 상태 번호
: 0:AST_DEVICE_UNKNOWN
: 1:AST_DEVICE_NOT_INUSE
: 2:AST_DEVICE_INUSE
: 3:AST_DEVICE_BUSY
: 4:AST_DEVICE_INVALID
: 5:AST_DEVICE_UNAVAILABLE
: 6:AST_DEVICE_RINGING
: 7:AST_DEVICE_RINGINUSE
: 8:AST_DEVICE_ONHOLD
* Location : 멤버의 Channel 정보 혹은 위치 정보
* StateInterface : 멤버의 상태 정보를 확인하는 장치 정보.
* Membership : 멤버의 등록 방법(dynamic|realtime|static).
: dynamic : 동적 등록. AMI, Dialplan 등으로 등록된 방식.
: static : 정적 등록. queues.conf 에 명시적으로 등록하여 등록된 방식.
: static :
* Penalty : 패널티 정보(높은 패널티를 가지게 되면 상대적으로 콜을 분배받기 어려워진다.)
* CallsTaken : 분배받은 콜의 숫자
* LastCall : 마지막으로 받은 콜의 시간. Unix 타임을 사용한다.
* Paused : Paused 여부. (1:Paused 상태, 0:Normal 상태)
* PausedReason :
 
=== Example ===
<pre>
Event: QueueMember
Queue: sales_1
Name: sip/agent-01
Location: sip/agent-01
StateInterface: sip/agent-01
Membership: dynamic
Penalty: 0
CallsTaken: 0
LastCall: 0
LastPause: 0
InCall: 0
Status: 5
Paused: 0
PausedReason:
</pre>
 
== QueueMemberAdded ==
Queue 에 새롭게 멤버가 등록되었을 때 발생하는 이벤트 메시지이다.
 
Raised when a member is added to the queue.
 
Class : AGENT
<pre>
Event: QueueMemberAdded
Queue: <value>
MemberName: <value>
Interface: <value>
StateInterface: <value>
Membership: <value>
Penalty: <value>
CallsTaken: <value>
LastCall: <value>
LastPause: <value>
InCall: <value>
Status: <value>
Paused: <value>
PausedReason: <value>
Ringinuse: <value>
</pre>
* Queue : The name of the queue.
* MemberName : The name of the queue member.
* Interface : The queue member's channel technology or location.
* StateInterface : Channel technology or location from which to read device state changes.
* Membership
: dynamic
: realtime
: static
* Penalty : The penalty associated with the queue member.
* CallsTaken : The number of calls this queue member has serviced.
* LastCall : The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
* LastPause : The time when started last paused the queue member.
* InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
: 0
: 1
* Status : The numberic device state status of the queue member.
: 0 : AST_DEVICE_UNKNOWN.
: 1 : AST_DEVICE_NOT_INUSE.
: 2 : AST_DEVICE_INUSE.
: 3 : AST_DEVICE_BUSY.
: 4 : AST_DEVICE_INVALID.
: 5 : AST_DEVICE_UNAVAILABLE.
: 6 : AST_DEVICE_RINGING.
: 7 : AST_DEVICE_RINGINUSE.
: 8 : AST_DEVICE_ONHOLD.
* Paused
: 0
: 1
* PauseReason : If set when paused, the reason the queue member was paused.
* Ringinuse
: 0
: 1
 
=== Example ===
<pre>
Event: QueueMemberAdded
Privilege: agent,all
StateInterface: sip/agent-01
Queue: sales_1
Status: 5
Interface: sip/agent-01
MemberName: sip/agent-01
LastPause: 0
CallsTaken: 0
Membership: dynamic
Penalty: 0
LastCall: 0
PausedReason:
Paused: 0
InCall: 0
Ringinuse: 1
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueMemberAdded
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueMemberRemoved
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AddQueueMember
 
== QueueMemberPause ==
Queue 멤버가 Pause 되었을 때 발생하는 이벤트이다.
 
Raised when a member is paused/unpaused in the queue.
 
Class : AGENT
<pre>
Event: QueueMemberPause
Queue: <value>
MemberName: <value>
Interface: <value>
StateInterface: <value>
Membership: <value>
Penalty: <value>
CallsTaken: <value>
LastCall: <value>
LastPause: <value>
InCall: <value>
Status: <value>
Paused: <value>
PausedReason: <value>
Ringinuse: <value>
Reason: <value>
</pre>
* Queue : The name of the queue.
* MemberName : The name of the queue member.
* Interface : The queue member's channel technology or location.
* StateInterface : Channel technology or location from which to read device state changes.
* Membership
: dynamic
: realtime
: static
* Penalty : The penalty associated with the queue member.
* CallsTaken : The number of calls this queue member has serviced.
* LastCall : The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
: LastPause : The time when started last paused the queue member.
* InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
: 0
: 1
* Status : The numeric device state status of the queue member. See detail [[Asterisk_status_code#Device_status]].
* Paused
: 0
: 1
* PausedReason : If set when paused, the reason the queue member was paused.
* Ringinuse
: 0
: 1
* Reason : The reason a member was paused.
 
=== Example ===
<pre>
Event: QueueMemberPause
Privilege: agent,all
Queue: sales_1
MemberName: sip/agent-01
StateInterface: sip/agent-01
Reason: test
Interface: sip/agent-01
Membership: dynamic
Penalty: 0
LastCall: 1489264221
Ringinuse: 1
CallsTaken: 18
Paused: 1
LastPause: 1489269763
InCall: 0
Status: 1
PausedReason: test
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueMemberPause
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_PauseQueueMember
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_UnpauseQueueMember
 
== QueueMemberPenalty ==
Queue 멤버의 Penalty 값이 조정되었을 때 발생하는 이벤트이다.
 
Riased when a member's penalty is changed.
 
Class : AGENT
<pre>
Event: QueueMemberPenalty
Queue: <value>
MemberName: <value>
Interface: <value>
StateInterface: <value>
Membership: <value>
Penalty: <value>
CallsTaken: <value>
LastCall: <value>
LastPause: <value>
InCall: <value>
Status: <value>
Paused: <value>
PausedReason: <value>
Ringinuse: <value>
</pre>
* Queue : The name of the queue.
* MemberName : The name of the queue member.
* Interface : The queue member's channel technology or location.
* StateInterface : Channel technology or location from which to read device state changes.
* Membership
: dynamic
: realtime
: static
* Penalty : The penalty associated with the queue member.
* CallsTaken : The number of calls this queue member has serviced.
* LastCall : The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
* LastPause : The time when started last paused the queue member.
* InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
: 0
: 1
* Status : The numeric device state status of the queue member. See detail [Asterisk_status_code#status_define]
: 0 : AST_DEVICE_UNKNOWN
: 1 : AST_DEVICE_NOT_INUSE
: 2 : AST_DEVICE_INUSE
: 3 : AST_DEVICE_BUSY
: 4 : AST_DEVICE_INVALID
: 5 : AST_DEVICE_UNAVAILABLE
: 6 : AST_DEVICE_RINGING
: 7 : AST_DEVICE_RINGINUSE
: 8 : AST_DEVICE_ONHOLD
* Paused
: 0
: 1
* PausedReason : If set when paused, the reason the queue member was paused.
* Ringinuse
: 0
: 1
 
=== Example ===
<pre>
Event: QueueMemberPenalty
Privilege: agent,all
StateInterface: sip/agent-01
Queue: sales_1
Status: 5
Interface: sip/agent-01
MemberName: sip/agent-01
LastPause: 0
CallsTaken: 0
Membership: dynamic
Penalty: 10
LastCall: 0
PausedReason:
Paused: 0
InCall: 0
Ringinuse: 1
 
Event: QueueMemberPenalty
Privilege: agent,all
Queue: sales_1
MemberName: sip/agent-01
StateInterface: sip/agent-01
Interface: sip/agent-01
Membership: dynamic
Penalty: 10
LastCall: 1489264221
Ringinuse: 1
CallsTaken: 18
Paused: 1
LastPause: 1489269763
InCall: 0
Status: 1
PausedReason: test
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueMemberPenalty
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_QUEUE_MEMBER
 
== QueueMemberRemoved ==
Queue 에서 멤버가 Leave(삭제) 되었을 때 발생하는 이벤트이다.
 
Raised when a member is removed from the queue.
 
Class : AGENT
<pre>
Event: QueueMemberRemoved
Queue: <value>
MemberName: <value>
Interface: <value>
StateInterface: <value>
Membership: <value>
Penalty: <value>
CallsTaken: <value>
LastCall: <value>
LastPause: <value>
InCall: <value>
Status: <value>
Paused: <value>
PausedReason: <value>
Ringinuse: <value>
</pre>
* Queue : The name of the queue.
* MemberName : The name of the queue member.
* Interface : The queue member's channel technology or location.
* StateInterface : Channel technology or location from which to read device state changes.
* Membership
: dynamic
: realtime
: static
* Penalty : The penalty associated with the queue member.
* CallsTaken : The number of calls this queue member has serviced.
* LastCall : The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
* LastPause : The time when started last paused the queue member.
* InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
: 0 : Not in a call now.
: 1 : In a call now.
* Status : The numeric device state status of the queue member. See detail [Asterisk_status_code#status_define].
* Paused
: 0 : Not paused.
: 1 : Paused.
* PausedReason : If set wehn paused, the reason the queue member was paused.
* Ringinuse : Settings of RingInUse option.
: 0
: 1
 
=== Example ===
<pre>
Event: QueueMemberRemoved
Privilege: agent,all
StateInterface: sip/agent-01
Queue: sales_1
Status: 5
Interface: sip/agent-01
MemberName: sip/agent-01
LastPause: 0
CallsTaken: 0
Membership: dynamic
Penalty: 10
LastCall: 0
PausedReason:
Paused: 0
InCall: 0
Ringinuse: 1
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueMemberRemoved
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueMemberAdded
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_RemoveQueueMember
 
== QueueMemberRinginuse ==
Raised when a member's ringinuse setting is changed.
 
Class : AGENT
<pre>
Event: QueueMemberRinginuse
Queue: <value>
MemberName: <value>
Interface: <value>
StateInterface: <value>
Membership: <value>
Penalty: <value>
CallsTaken: <value>
LastCall: <value>
LastPause: <value>
InCall: <value>
Status: <value>
Paused: <value>
PausedReason: <value>
Ringinuse: <value>
</pre>
* Queue : The name of the queue.
* MemberName : The name of the queue member.
* Interface : The queue member's channel technology  or location.
* StateInterface : Channel technology or location from which to read device state changes.
* Membership
: dynamic
: realtime
: static
* Penalty : The penalty associated with the queue member.
* CallsTaken : The number of calls this queue member has serviced.
* LastCall : The time this member last took a call, expressed in secods since 00:00, Jan 1, 1970 UTC.
* LastPause : The time when started last paused the queue member.
* InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
: 0
: 1
* Status : The numeric device state status of the queue member.
: 0 : AST_DEVICE_UNKNOWN
: 1 : AST_DEVICE_NOT_INUSE
: 2 : AST_DEVICE_INUSE
: 3 : AST_DEVICE_BUSY
: 4 : AST_DEVICE_INVALID
: 5 : AST_DEVICE_UNAVAILABLE
: 6 : AST_DEVICE_RINGING
: 7 : AST_DEVICE_RINGINUSE
: 8 : AST_DEVICE_ONHOLD
* Paused
: 0
: 1
* PausedReason : If set when paused, the reason the queue member was paused.
* Ringinuse
: 0
: 1
 
=== Example ===
<pre>
Event: QueueMemberRinginuse
Privilege: agent,all
Queue: sales_1
MemberName: sip/agent-01
StateInterface: sip/agent-01
Interface: sip/agent-01
Membership: dynamic
Penalty: 10
LastCall: 1489264221
Ringinuse: 1
CallsTaken: 18
Paused: 1
LastPause: 1489269763
InCall: 0
Status: 1
PausedReason: test
</pre>
 
== QueueMemberStatus ==
Queue 의 멤버 상태 정보가 변경되었을 때, 발생한다.
 
Class : AGENT
<pre>
Event: QueueMemberStatus
Queue: <value>
MemberName: <value>
Interface: <value>
StateInterface: <value>
Membership: <value>
Penalty: <value>
CallsTaken: <value>
LastCall: <value>
Status: <value>
Paused: <value>
Ringinuse: <value>
</pre>
* Queue : The name of the queue.
* MemberName : The name of the queue member.
* Interface : The queue member's channel technology or location.
* StateInterface : Channel technology or location from which to read device state changes.
* Membership
: dynamic
: realtime
: static
* Penalty : The penalty associated with the queue member.
* CallsTaken : The number of calls this queue member has serviced.
* LastCall : The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
* LastPause : The time when started last paused the queue member.
* InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
: 0
: 1
* Status - The numeric device state status of the queue member.
: 0 : AST_DEVICE_UNKNOWN
: 1 : AST_DEVICE_NOT_INUSE
: 2 : AST_DEVICE_INUSE
: 3 : AST_DEVICE_BUSY
: 4 : AST_DEVICE_INVALID
: 5 : AST_DEVICE_UNAVAILABLE
: 6 : AST_DEVICE_RINGING
: 7 : AST_DEVICE_RINGINUSE
: 8 : AST_DEVICE_ONHOLD
* Paused
: 0 : Not paused.
: 1 : Paused.
* PauseReason : If set when paused, the reason the queue member was paused.
* Ringinuse
: 0
: 1
 
=== Example ===
<pre>
Event: QueueMemberStatus
Privilege: agent,all
PausedReason:
MemberName: sip/agent-01
InCall: 0
Queue: sales_1
Status: 1
Membership: dynamic
Interface: sip/agent-01
StateInterface: sip/agent-01
Ringinuse: 1
Penalty: 0
CallsTaken: 1
LastCall: 1480670890
LastPause: 0
Paused: 0
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueMemberStatus
 
== QueueParams ==
Action: QueueStatus response message.
 
Queue 의 parameter 를 표시한다.
<pre>
Event: QueueParams
Queue: <value>
Max: <value>
Strategy: <value>
Calls: <value>
Holdtime: <value>
TalkTime: <value>
Completed: <value>
Abandoned: <value>
ServiceLevel: <value>
ServicelevelPerf: <value>
Weight: <value>
</pre>
* Queue : Queue name.
* Max : Queue에서 허용 가능한 최대 콜 수.
* Strategy : 콜 분배 방식(rignall|roundrobin|leastrecent|fewestcalls|random|rrmemory|linear|wrandom).
* Calls : 현재 큐에서 대기중인 콜의 갯수.
* HoldTime : 현재 평균 큐 대기 시간(Seconds). Exponential average 방식을 사용해서 평균 시간을 계산하기 때문에 일반적인 평균 구하는 시간과는 다를 수 있다.
* Weight : 큐의 우선 순위. 높은(많은) 우선순위를 가진 큐의 콜이 낮은(적은) 우선순위를 가진 큐보다 먼저 분배될 확률이 높아진다.
* ServiceLevel : ServiceLevelPerf 를 확인하는 Interval time(sec).
* ServicelevelPerf : SerivceLevel 시간동안의 콜 응답률(%). 응답 콜 /전체 인입 콜 * 100.
* Abandoned : 큐에서 대기중에 분배되지 못하고 끊어진 콜.
* TalkTikme : 분배 후 평균 통화시간(Seconds). Exponential average 방식을 사용해서 평균 시간을 계산하기 때문에 일반적인 평균 구하는 시간과는 다를 수 있다.
* Completed : 정상적으로 분배 완료된 콜 갯수.
 
=== Example ===
<pre>
Event: QueueParams
Queue: sales_1
Max: 0
Strategy: ringall
Calls: 0
Holdtime: 0
TalkTime: 0
Completed: 0
Abandoned: 0
ServiceLevel: 0
ServicelevelPerf: 0.0
Weight: 0
</pre>
 
== QueueSummary ==
Action: QueueSummary response message.
 
Queue의 통계를 표시한다.
<pre>
Event: QueueSummary
Queue: <value>
LoggedIn: <value>
Available: <value>
Callers: <value>
HoldTime: <value>
TalkTime: <value>
LongestHoldTime: <value>
</pre>
* Queue : Queue name.
* LoggedIn : 현재 log in 되어 있는 Queue member count.
* Available : 현재 Queue 에서 대기중인 Queue member count.
* Callers : 현재 큐에 인입되어 대기중인 콜 갯수.
* HoldTime : 콜에 큐에 인입되어 분배되기 까지의 평균 대기 시간.
* TalkTime : 콜이 큐에 인입되어 분배되고 난 후의 평균 통화 시간.
* LongestHoldTime : 큐에서 가장 오래 대기한 콜의 대기 시간.
 
=== Example ===
<pre>
Event: QueueSummary
Queue: sales_1
LoggedIn: 3
Available: 0
Callers: 1
HoldTime: 0
TalkTime: 0
LongestHoldTime: 29
</pre>
 
== ReceiveFAX ==
Raised when a receive fax operation has completed.
 
Class : CALL
<pre>
Event: ReceiveFAX
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
LocalStationID: <value>
RemoteStationID: <value>
PagesTransferred: <value>
Resolution: <value>
TransferRate: <value>
FileName: <value>
</pre>
* LocaStationID : The value of the LOCALSTATIONID channel variable.
* RemoteStationID : The value of the REMOTESTATIONID channel variable.
* PagesTransferred : The number of pages that have been transferred.
* Resolution : The negotiated resolution.
* TransferRate : The negotiated transfer rate.
* FileName : The files being affected by the fax operation.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ReceiveFAX
 
== Registry ==
Raised when an outbound registration completes.
 
Class : SYSTEM
<pre>
Event: Registry
ChannelType: <value>
Username: <value>
Domain: <value>
Status: <value>
Cause: <value>
</pre>
* ChannelType : The type of channel that was registered (or not).
* Username : The username portion of the registration.
* Domain : The address portion of the registration.
* Status : The status of the registration request.
: Registered
: Unregistered
: Rejected
: Failed
* Cause : What caused the rejection of the request, if available.
 
=== Example ===
<pre>
Event: Registry
Privilege: system,all
ChannelType: SIP
Username: 1234
Domain: mysipprovider.com
Status: Request Sent
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Registry
 
== RegistryEntry ==
Action: SIPshowregistry Response message.
 
=== Example ===
<pre>
Event: RegistryEntry
Host: mysipprovider.com
Port: 5060
Username: 3456
Domain: mydomain
DomainPort: 5082
Refresh: 120
State: Request Sent
RegistrationTime: 0
</pre>
 
== Reload ==
Raised when a module has been reloaded in Asterisk.
 
Class : SYSTEM
<pre>
Event: Reload
Module: <value>
Status: <value>
</pre>
* Module : The name of the module that was reloaded, or All if all modules were reloaded.
* Status : The numeric status code denoting the success or failure of the reload request.
: 0 : Success.
: 1 : Request queued.
: 2 : Module not found.
: 3 : Error.
: 4 : Reload already in progress.
: 5 : Module uninitialized.
: 6 : Reload not supported.
 
=== Example ===
<pre>
Event: Reload
Privilege: system,all
Module: chan_sip
Status: 0
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Reload
 
== Rename ==
Raised when the name of a channel is changed.
 
Class : CALL
<pre>
Event: Rename
Channel: <value>
Newname: <value>
Uniqueid: <value>
</pre>
* Channel
* Newname
* Uniqueid
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Rename
 
== RequestBadFormat ==
Raised when a request is received with bad formatting.
 
Class : SECURITY
<pre>
Event: RequestBadFormat
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
RequestType: <value>
[Module:] <value>
[SessionTV:] <value>
[AccountID:] <value>
[RequestParams:] <value>
</pre>
* EventTV : The time the event was detected.
* Severity : A relative severity of the security event.
: Informational
: Error
* Service : The Asterisk service that raised the security event.
* EventVersion : The version of this event.
* AccountID : The Service account associated with the security event notification.
* SessionID : A unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* RequestType : The type of request attempted.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.
* AccountID : The account ID associated with the rejected request.
* RequestParams : Parameters provided to the rejected request.
 
=== Example ===
<pre>
Event: RequestBadFormat
Privilege: security,all
EventTV: 2016-12-09T10:09:07.294+0000
Severity: Error
Service: AMI
EventVersion: 1
SessionID: 0x1290100
LocalAddress: IPV4/TCP/0.0.0.0/5038
RemoteAddress: IPV4/TCP/127.0.0.1/55100
RequestType: Action: NONE
SessionTV: 2016-12-09T09:40:31.714+0000
AccountID: admin
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_RequestBadFormat
 
== RequestNotAllowed ==
전송한 Action Request 를 수행할 권한이 없음을 알려준다.
 
AMI Action request 를 전송했는데, 만약 접속중인 계정에 해당 명령어를 수행할 권한이 없을 경우 발생하게 된다.
 
Class : SECURITY
<pre>
Event: RequestNotAllowed
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
RequestType: <value>
[Module:] <value>
[SessionTV:] <value>
[RequestParams:] <value>
</pre>
* EventTV : The time the event was detected.
* Severity : A relative severity of the security event.
: Informational
: Error
* Service : The Asterisk service that raised the security event.
* EventVersion : The version of this event.
* AccountID : The Service account associated with the security event notification.
* SessionID : A unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the enitty that caused the security event to be raised.
* RequestType : The type of request attempted.
* SessionTV : The timestamp reported by the session.
* RequestParams : Parameters provided to the rejected request.
 
=== Example ===
<pre>
Event: RequestNotAllowed
Privilege: security,all
EventTV: 2016-12-08T12:36:39.885+0000
Severity: Error
Service: AMI
EventVersion: 1
AccountID: test
SessionID: 0x76309870
LocalAddress: IPV4/TCP/0.0.0.0/5038
RemoteAddress: IPV4/TCP/127.0.0.1/55096
RequestType: Action: Originate
SessionTV: 2016-12-08T11:28:24.934+0000
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_RequestNotAllowed
 
== RequestNotSupported ==
Raised when a request fails due to some aspect of the requested item not being supported by the service.
 
Class : SECURITY
<pre>
Event: RequestNotSupported
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
RequestType: <value>
[Module:] <value>
[SessionTV:] <value>
</pre>
* EventTV : The time the event was detected.
* Severity : A relative of the security event.
: Informational
: Error
* Service : The Asterisk service that raised the security event.
* EventVersion : The version of this event.
* AccountID : The Service account associated with the security event notification.
* SessionID : A unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* RequestType : The type of request attempted.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_RequestNotSupported
 
== RTCPReceived ==
Raised when an RTCP packet is received.
 
Class : REPORTING
<pre>
Event: RTCPReceived
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
SSRC: <value>
PT: <value>
From: <value>
RTT: <value>
ReportCount: <value>
[SentNTP:] <value>
[SentRTP:] <value>
[SentPackets:] <value>
[SentOctets:] <value>
ReportXSourceSSRC: <value>
ReportXFractionLost: <value>
ReportXCumulativeLost: <value>
ReportXHighestSequence: <value>
ReportXSequenceNumberCycles: <value>
ReportXIAJitter: <value>
ReportXLSR: <value>
ReportXDLSR: <value>
</pre>
* SSRC : The SSRC identifier for the remote system.
* PT : The type of packet for this RTCP report.
: 200(SR)
: 201(RR)
* From : The address the report was received from.
* RTT : Calculated Round-Trip Time in seconds.
* ReportCount : The number of reports that were received. The report count determines the number ReportX headers in the message. The X for each set of report headers will range from 0 to ReportCount -1.
* SentNTP : The time the sender generated the report. Only valid when PT is 200(SR).
* SentRTP : The sender's last RTP timestamp. Only valid when PT is 200(SR).
* SentPackets : The number of packets the sender has sent. Only valid when PT is 200(SR).
* SentOctets : The number of bytes the sender has sent. Only valid when PT is 200(SR).
* ReportXSourceSSRC : The SSRC for the source of this report block.
* ReportXFractionLost : The fraction of RTP data packets from ReportXSourceSSRC  lost since the previous SR or RR report was sent.
* ReportXCumulativeLost : The total number of RTP data packets from ReportXSourceSSRC lost since the beginning of reception.
* ReportXHighestSequence : The highest sequence number received in an RTP data packet from ReportXSourceSSRC.
* ReportXSequenceNumberCycles : The number of sequence number cycles seen for the RTP data received from ReportXSourceSSRC.
* ReportXIAJitter : An estimate of the statistical variance of the RTP data packet interarrival time, measured in timestamp units.
* ReportXLSR : The last SR timestamp received from ReportXSourceSSRC. If no SR has been received from ReportXSourceSSRC, then 0.
* ReportXDLSR : The delay, expressed in units of 1/65536 seconds, between receiving the last SR packet from ReportXSourceSSRC and sending this report.
 
=== Example ===
<pre>
Event: RTCPReceived
Privilege: reporting,all
Channel: SIP/test-04-0000019b
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: test-04
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: common-incoming
Exten:
Priority: 1
Uniqueid: 1447438716.469
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
To: 127.0.1.1:0
From: 192.168.200.1:27223
RTT: 0.0000
SSRC: 0x00f17974
PT: 201(RR)
ReportCount: 1
Report0SourceSSRC: 0x34634503
Report0FractionLost: 0
Report0CumulativeLost: 0
Report0HighestSequence: 41649
Report0SequenceNumberCycles: 0
Report0IAJitter: 0
Report0LSR: 0
Report0DLSR: 0.0000
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_RTCPReceived
 
== RTCPSent ==
Raised when an RTCP packet is sent.
 
Class : REPORTING
<pre>
Event: RTCPSent
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
SSRC: <value>
PT: <value>
To: <value>
ReportCount: <value>
[SentNTP:] <value>
[SentRTP:] <value>
[SentPackets:] <value>
[SentOctets:] <value>
ReportXSourceSSRC: <value>
ReportXFractionLost: <value>
ReportXCumulativeLost: <value>
ReportXHighestSequence: <value>
ReportXSequenceNumberCycles: <value>
ReportXIAJitter: <value>
ReportXLSR: <value>
ReportXDLSR: <value>
</pre>
* SSRC : The SSRC identifier for our stream.
* PT : The type of packet for this RTCP report.
: 200(SR)
: 201(RR)
* To : The address the report is sent to.
* ReportCount : The number of reports that were sent. The report count determines the number ReportX headers in the message. The X for each set of report headers will range from 0 to ReportCount - 1.
* SentNTP : The time the sender generated the report. Only valid when PT is 200(SR).
* SentRTP : The sender's last RTP timestamp. Only valid with when PT is 200(SR).
* SentPackets : The number of packets the sender has sent. Only valid with when PT is 200(SR).
* SentOctets : The number of bytes the sender has sent. Only valid when PT is 200(SR).
* ReportXSourceSSRC : The SSRC for the source of this report block.
* ReportXFractionLost : The fraction of RTP data packets from ReportXSourceSSRC lost since the previous SR or RR report was sent.
* ReportXCumulativeLost : The total number of RTP data packets from ReportXSourceSSRC lost since the beginning of reception.
* ReportXHighestSequence : The highest sequence number received in an RTP data packet from ReportXSourceSSRC.
* ReportXSequenceNumberCycles : The number of sequence number cycles seen for the RTP data received from ReportXSourceSSRC.
* ReportXIAJitter : An estimate of the statistical variance of the RTP data packet interarrival time, measured in timestamp units.
* ReportXLSR : The last SR timestamp received from ReportXSourceSSRC. If noSR has been received from ReportXSourceSSRC, then 0.
* ReportXDLSR : The delay, expressed in units of 1/65536 seconds, between receiving the last SR packet from ReportXSourceSSRC and sending this report.
 
=== Example ===
<pre>
Event: RTCPSent
Privilege: reporting,all
Channel: SIP/agent-01-0000002b
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample_musiconhold
Exten: s
Priority: 3
Uniqueid: 1481278514.79
Linkedid: 1481278514.79
To: 10.1.27.60:17237
From: 10.12.118.11:10471
SSRC: 0x3ed6cf9a
PT: 200(SR)
ReportCount: 1
SentNTP: 1481278524.3491024896
SentRTP: 79840
SentPackets: 499
SentOctets: 79840
Report0SourceSSRC: 0x59bdc23f
Report0FractionLost: 0
Report0CumulativeLost: 0
Report0HighestSequence: 31833
Report0SequenceNumberCycles: 0
Report0IAJitter: 4
Report0LSR: 45871016
Report0DLSR: 1.0370
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_RTCPSent
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_RTCPReceived
 
== SendFAX ==
Raised when a send fax operation has completed.
 
Class : CALL
<pre>
Event: SendFAX
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
LocalStationID: <value>
RemoteStationID: <value>
PagesTransferred: <value>
Resolution: <value>
TransferRate: <value>
FileName: <value>
</pre>
* LocalStationID : The value of the LOCALSTATIONID channel variable.
* RemoteStationID : The value of the REMOTESTATIONID channel variable.
* PagesTransferred : The number of pages that have been transferred.
* Resolution : The negotiated resolution.
* TransferRate : The negotiated transfer rate.
* FileName : The files being affected by the fax operation.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SendFAX
 
== SessionLimit ==
Raised when a request fails due to exceeding the number of allowed concurrent sessions for that service.
 
Class : SECURITY
<pre>
Event: SessionLimit
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
[Module:] <value>
[SessionTV:] <value>
</pre>
* EventTV : The time the event was detected.
* Severity : A relative severity of the security event.
: Informational
: Error
* Service : The Asterisk service that raised the security event.
* EventVersion : The version of this event.
* AccountID : The Service account associated with the security event notification.
* SessionID : A unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* Module : If availalbe, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SessionLimit
 
== SessionTimeout ==
Raised when a SIP session times out.
 
Class : CALL
<pre>
Event: SessionTimeout
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Source: <value>
</pre>
* Source : The source of the session timeout.
: RTPTimeout
: SIPSessionTimer
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SessionTimeout
 
== ShowDialPlan ==
Action: ShowDialPlan response message
<pre>
Event: ListDialplan
Context: <value>
Extension: <value>
Priority: <value>
Application: <value>
AppData: <value>
Registrar: <value>
</pre>
 
=== Example ===
<pre>
Event: ListDialplan
Context: demo
Extension: 4000
Priority: 1
Application: Goto
AppData: sample_musiconhold,s,1
Registrar: pbx_config
</pre>
 
== ShowDialPlanComplete ==
Action: ShowDialPlan response message.
<pre>
Event: ShowDialPlanComplete
EventList: Complete
ListItems: <value>
ListExtensions: <value>
ListPriorities: <value>
ListContexts: <value>
</pre>
 
=== Example ===
<pre>
Event: ShowDialPlanComplete
EventList: Complete
ListItems: 8
ListExtensions: 2
ListPriorities: 8
ListContexts: 2
</pre>
 
== Shutdown ==
Raised when Asterisk is shutdown or restarted.
 
Class : SYSTEM
<pre>
Event: Shutdown
Shutdown: <value>
Restart: <value>
</pre>
* Shutdown : Whether the shutdown is proceeding cleanly (all channels were hungup successfully) or uncleanly (channels will be terminated).
: Uncleanly
: Cleanly
* Restart : Where or not a restart will occur.
: True
: False
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Shutdown
 
== SIPQualifyPeerDone ==
Raised when SIPQualifyPeer has finished qualifying the specified peer.
 
Class : CALL
<pre>
Event: SIPQualifyPeerDone
Peer: <value>
ActionID: <value>
</pre>
* Peer : The name of the peer.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SIPQualifyPeerDone
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_SIPqualifypeer
 
== SoftHangupRequest ==
Raised when a soft hangup is requested with specific cause code.
 
Class : CALL
<pre>
Event: SoftHangupRequest
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Cause: <value>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
* Cause : A numeric cause code for why the channel was hung up.
 
=== Example ===
<pre>
Event: SoftHangupRequest
Privilege: call,all
Channel: Local/test-04@common-incoming-0000000a;2
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: common-incoming
Exten: test-04
Priority: 1
Uniqueid: 1447438716.468
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Cause: 16
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SoftHangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup
 
== SpanAlarm ==
Raised when an alarm is set on a DAHDI span.
 
Class : SYSTEM
<pre>
Event: SpanAlarm
Span: <value>
Alarm: <value>
</pre>
* Span : The span on which the alarm occurred.
* Alarm : A textual description of the alarm that occurred.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SpanAlarm
 
== SpanAlarmClear ==
Raised when an alarm is cleared on a DAHDI span.
 
Class : SYSTEM
<pre>
Event: SpanAlarmClear
Span: <value>
</pre>
* span : The span on which alarm was cleared.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SpanAlarmClear
 
== Status ==
Action: Status response message.
 
Class : CALL
<pre>
Event: Status
[ActionID:] <value>
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Type: <value>
DNID: <value>
TimeToHangup: <value>
BridgeID: <value>
Linkedid: <value>
Application: <value>
Data: <value>
Nativeformats: <value>
Readformat: <value>
Readtrans: <value>
Writeformat: <value>
Writetrans: <value>
Callgroup: <value>
Pickupgroup: <value>
Seconds: <value>
</pre>
* ActionID
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
* Type : Type of channel.
* DNID : Dialed number identifier.
* TimeToHangup : Absolute lifetime of the channel.
* BridgeID : Identifier of the bridge the channel is in, may be empty if not in one.
* Linkedid
* Application : Application currently executing on the channel.
* Data : Data given to the currently executing channel.
* Nativeformats : Media formats the connected party is willing to send or receive.
* Readformat : Media formats that frames from the channel are received in.
* Readtrans : Translation path for media received in native formats.
* Writeformat : Media formats that frames to the channel are accepted in.
* Writetrans : Translation path for media sent to the connected party.
* Callgroup : Configured call group on the channel.
* Pickupgroup : Configured pickup group on the channel.
* Seconds : Number of seconds the channel has been active.
 
=== Example ===
<pre>
Event: Status
Privilege: Call
Channel: SIP/300-0000000d
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 300
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample_park
Exten: s
Priority: 2
Uniqueid: 1481806807.29
Linkedid: 1481806807.29
Type: SIP
DNID: 4001
EffectiveConnectedLineNum: <unknown>
EffectiveConnectedLineName: <unknown>
TimeToHangup: 0
BridgeID: 299de6ea-1dc7-4144-9e46-d6513723333e
Linkedid: 1481806807.29
Application: Park
Data:
Nativeformats: (ulaw)
Readformat: ulaw
Readtrans:
Writeformat: slin
Writetrans: (slin@8000)->(ulaw@8000)
Callgroup: 0
Pickupgroup: 0
Seconds: 9
Variable: SIPCALLID=996831924@pluto.pchero21.com
Variable: SIPDOMAIN=pluto.pchero21.com
Variable: SIPURI=sip:300@10.1.27.60:5060
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Status
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Status
 
== StatusComplete ==
Raised in response to a Status command.
 
Class : CALL
<pre>
Event: StatusComplete
Items: <value>
</pre>
* Items : Number of Status events returned.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_StatusComplete
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Status
 
== SuccessfulAuth ==
Raised when a request successfully authenticates with a service.
 
Class : SECURITY
<pre>
Event: SuccessfulAuth
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
UsingPassword: <value>
[Module:] <value>
[SessionTV:] <value>
</pre>
* EventTV : The time the event was detected.
* Severity : A relative severity of the security event.
: Informational
: Error
* Service : The Asterisk service that raised the security event.
* EventVersion : The version of this event.
* AccountID : The Service account associated with the security event notification.
* SessionID : A unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* UsingPassword : Whether or not the authentication attempt included a password.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.
 
=== Example ===
<pre>
Event: SuccessfulAuth
Privilege: security,all
EventTV: 2016-12-09T09:40:31.714+0000
Severity: Informational
Service: AMI
EventVersion: 1
AccountID: admin
SessionID: 0x1290100
LocalAddress: IPV4/TCP/0.0.0.0/5038
RemoteAddress: IPV4/TCP/127.0.0.1/55100
UsingPassword: 0
SessionTV: 2016-12-09T09:40:31.714+0000
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SuccessfulAuth
 
== TransportDetail ==
Provide details about an authentication section.
 
Class : COMMAND
<pre>
Event: TransportDetail
ObjectType: <value>
ObjectName: <value>
Protocol: <value>
Bind: <value>
AsycOperations: <value>
CaListFile: <value>
CaListPath: <value>
CertFile: <value>
PrivKeyFile: <value>
Password: <value>
ExternalSignalingAddress: <value>
ExternalSignalingPort: <value>
ExternalMediaAddress: <value>
Domain: <value>
VerifyServer: <value>
VerifyClient: <value>
RequireClientCert: <value>
Method: <value>
Cipher: <value>
LocalNet: <value>
Tos: <value>
Cos: <value>
WebsocketWriteTimeout: <value>
EndpointName: <value>
</pre>
* ObjectType : The object's type. This will always be "transport".
* ObjectName : The name of this object.
* Protocol : Protocol to use for SIP traffic.
* Bind : IP Address and optional port to bind to for this transport.
* AsycOperation : Number of simultaneous Asynchronous Operations.
* CaListFile : File containing a list of certificate to read (TLS ONLY).
* CaListPath : Path to directory containing a list of certificates to read (TLS ONLY).
* CertFile : Certificate file for endpoint (TLS ONLY).
* PrivKeyFile : Certificate file for endpoint (TLS ONLY).
* Password : Password required for transport.
* ExternalSignalingAddress : External address for SIP signaling.
* ExternalSignalingPort : External port for SIP signalling.
* ExternalMediaAddress : External IP address to use in RTP handling.
* Domain : Domain the transport comes from.
* VerifyServer : Require verification of server certificate (TLS ONLY).
* VerifyClient : Require verification of client certificate (TLS ONLY).
* RequireClientCert : Require client certificate (TLS ONLY).
* Method : Method of SSL transport (TLS ONLY).
* Cipher : Preferred cryptography cipher names (TLS ONLY).
* LocalNet : Network to consider local (used for NAT purpose).
* Tos : Enable TOS for the signalling sent over this transport.
* Cos : Enable COS for the signalling sent over this transport.
* WebsocketWriteTimeout : The timeout (in milliseconds) to set on WebSocket connections.
* EndpointName : The name of the endpoint associated with this information.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_TransportDetail
 
== UnexpectedAddress ==
Raised when a request has a different source address then what is expected for asession already in progress with a service.
 
Class : SECURITY
<pre>
Event: UnexpectedAddress
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
ExpectedAddress: <value>
[Module:] <value>
[SessionTV:] <value>
</pre>
* EventTV : The time the event was detected.
* Severity : A relative severity of the security event.
: Informational
: Error
* Service : The Asterisk service that raised the security event.
* EventVersion : The version of this event.
: AccountID : The Service account associated with the security event notification.
* SessionID : A unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* ExpectedAddress : The address that the request was expected to use.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_UnexpectedAddress
 
== Unhold ==
Raised when a channel goes off hold.
 
Class : CALL
<pre>
Event: Unhold
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
 
=== Example ===
<pre>
Event: Unhold
Privilege: call,all
Channel: SIP/agent-01-00000002
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample_park
Exten: s
Priority: 2
Uniqueid: 1481705835.4
Linkedid: 1481705835.4
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Unhold
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hold
 
== UnParkedCall ==
Raised when a chaneel leaves a parking lot because it was retrieved from the parking lot and reconnected.
 
Class : Call
<pre>
Event: UnParkedCall
ParkeeChannel: <value>
ParkeeChannelState: <value>
ParkeeChannelStateDesc: <value>
ParkeeCallerIDNum: <value>
ParkeeCallerIDName: <value>
ParkeeConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
ParkeeAccountCode: <value>
ParkeeContext: <value>
ParkeeExten: <value>
ParkeePriority: <value>
ParkeeUniqueid: <value>
ParkeeLinkedid: <value>
ParkerChannel: <value>
ParkerChannelState: <value>
ParkerChannelStateDesc: <value>
ParkerCallerIDNum: <value>
ParkerCallerIDName: <value>
ParkerConnectedLineNum: <value>
ParkerConnectedLineName: <value>
ParkerAccountCode: <value>
ParkerContext: <value>
ParkerExten: <value>
ParkerPriority: <value>
ParkerUniqueid: <value>
ParkerLinkedid: <value>
ParkerDialString: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
RetrieverChannel: <value>
RetrieverChannelState: <value>
RetrieverChannelStateDesc: <value>
RetrieverCallerIDNum: <value>
RetrieverCallerIDName: <value>
RetrieverConnectedLineNum: <value>
RetrieverConnectedLineName: <value>
RetrieverAccountCode: <value>
RetrieverContext: <value>
RetrieverExten: <value>
RetrieverPriority: <value>
RetrieverUniqueid: <value>
RetrieverLinkedid: <value>
</pre>
* ParkeeChannel
* ParkeeChannelState
* ParkeeChannelStateDesc
* ParkeeCallerIDNum
* ParkeeCallerIDName
* ParkeeConnectedLineNum
* ParkeeConnectedLineName
* ParkeeAccountCode
* ParkeeContext
* ParkeeExten
* ParkeePriority
* ParkeeUniqueid
* ParkeeLinkedid
* ParkerChannel
* ParkerChannelState
* ParkerChannelStateDesc
* ParkerCallerIDNum
* ParkerCallerIDName
* ParkerConnectedLineNum
* ParkerConnectedLineName
* ParkerAccountCode
* ParkerContext
* ParkerExten
* ParkerPriority
* ParkerUniqueid
* ParkerLinkedid
* ParkerDialString
* Parkinglot
* ParkingSpace
* ParkingTimeout
* ParkingDuration
* RetrieverChannel
* RetrieverChannelState
* RetrieverChannelStateDesc
* RetrieverCallerIDNum
* RetrieverCallerIDName
* RetrieverConnectedLineNum
* RetrieverConnectedLineName
* RetrieverAccountCode
* RetrieverContext
* RetrieverExten
* RetrieverPriority
* RetrieverUniqueid
* RetrieverLinkedid
 
=== Example ===
<pre>
Event: UnParkedCall
Privilege: call,all
ParkeeChannel: SIP/agent-01-0000002e
ParkeeChannelState: 6
ParkeeChannelStateDesc: Up
ParkeeCallerIDNum: agent-01
ParkeeCallerIDName: <unknown>
ParkeeConnectedLineNum: <unknown>
ParkeeConnectedLineName: <unknown>
ParkeeLanguage: en
ParkeeAccountCode:
ParkeeContext: sample_park
ParkeeExten: s
ParkeePriority: 2
ParkeeUniqueid: 1491518062.92
ParkeeLinkedid: 1491518062.92
RetrieverChannel: SIP/agent-02-0000002f
RetrieverChannelState: 6
RetrieverChannelStateDesc: Up
RetrieverCallerIDNum: agent-02
RetrieverCallerIDName: <unknown>
RetrieverConnectedLineNum: <unknown>
RetrieverConnectedLineName: <unknown>
RetrieverLanguage: en
RetrieverAccountCode:
RetrieverContext: sample_unpark
RetrieverExten: s
RetrieverPriority: 2
RetrieverUniqueid: 1491518066.93
RetrieverLinkedid: 1491518066.93
ParkerDialString: SIP/agent-01
Parkinglot: default
ParkingSpace: 701
ParkingTimeout: 40
ParkingDuration: 5
</pre>
 
== UserEvent ==
A user defined event raised from the dialplan.
 
Class : USER
<pre>
Event: UserEvent
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
UserEvent: <value>
</pre>
* UserEvent : The event name, as specified in the dialplan.
 
=== Example ===
 
==== Simple UserEvent ====
Send hangup Userevent.
 
<pre>
[CallHangup]
exten => s,1,NoOp(CallHangup)
 
; Hangup channel
  ; Find and set from:
  same => n(Hangup),Set(From=${InternalNumber})
  same => n,ExecIf(${ISNULL(${From})}?Set(From=${CALLERID(num)})) ; If From is still empty, set it to CALLERID(num)
 
  ; Gather misc. values for this event:
  same => n,Set(CdrHangupCause=${HANGUPCAUSE})
  same => n,Set(CallStart=${SHARED(CdrCallStartTime,${CdrMasterChannel})})
  same => n,ExecIf(${ISNULL(${CallStart})}?Set(CallStart=${CdrCallStartTime})) ; If not set, try to retrieve from normal variable...
  same => n,Set(ToFullName=${DB(LocalNumber${CalledNumber}/Name)})
  same => n,Set(ToUser=${DB(LocalNumber${CalledNumber}/User)})
 
  ; Build UserEvent string for the Hangup event:
  same => n,UserEvent(TEST-USEREVENT,TestType: Hangup,CdrChannel: ${CHANNEL},CdrUniqueID: ${UniqueID},CdrTimestamp: ${EPOCH})
  same => n,Return(OK)
</pre>
 
<pre>
Event: UserEvent
Privilege: user,all
UserEvent: TEST-USEREVENT
TestType: Hangup
CdrChannel: Local/502-1@DialLine-6ed0;2
CdrUniqueID: 1493978932.3635
CdrTimestamp: 1493978933
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_UserEvent
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_UserEvent
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_UserEvent
 
== VarSet ==
Raised when a variable local to the gosub stack frame is set due to a subroutine call.
 
Class : DIALPLAN
<pre>
Event: VarSet
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Variable: <value>
Value: <value>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
* Variable : The LOCAL variable being set. The variable name will always be enclosed with LOCAL().
* Value : The new value of the variable.
 
=== Example ===
<pre>
Event: VarSet
Privilege: dialplan,all
Channel: SIP/agent-01-0000002b
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: agent-01
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: public
Exten: 4000
Priority: 1
Uniqueid: 1481278514.79
Linkedid: 1481278514.79
Variable: SIPURI
Value: sip:agent-01@10.1.27.60:5060
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_VarSet
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Gosub
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+AGICommand_gosub
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_LOCAL
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_LOCAL_PEEK
 
== VoicemailUserEntry ==
Response message of "Action: VoicemailUsersList".
<pre>
Event: VoicemailUserEntry
VMContext: <value>
VoiceMailbox: <value>
Fullname: <value>
Email: <value>
Pager: <value>
ServerEmail: <value>
FromString: <value>
MailCommand: <value>
Language: <value>
TimeZone: <value>
Callback: <value>
Dialout: <value>
UniqueID: <value>
ExitContext: <value>
SayDurationMinimum: <value>
SayEnvelope: <value>
SayCID: <value>
AttachMessage: <value>
AttachmentFormat: <value>
DeleteMessage: <value>
VolumeGain: <value>
CanReview: <value>
CallOperator: <value>
MaxMessageCount: <value>
MaxMessageLength: <value>
NewMessageCount: <value>
[OldMessageCount:] <value>
[IMAPUser:] <value>
[IMAPServer:] <value>
[IMAPPort:] <value>
[IMAPFlags:] <value>
</pre>
 
=== Example ===
<pre>
<pre>
Event: VarSet
Event: VoicemailUserEntry
Privilege: dialplan,all
VMContext: default
Channel: SIP/trunk_test_1-0000019a
VoiceMailbox: 1234
ChannelState: 0
Fullname: Example Mailbox
ChannelStateDesc: Down
Email: root@localhost
CallerIDNum: <unknown>
Pager:
CallerIDName: <unknown>
ServerEmail: asterisk
ConnectedLineNum: <unknown>
FromString:
ConnectedLineName: <unknown>
MailCommand: /usr/sbin/sendmail -t
Language: en
Language:
AccountCode:  
TimeZone:
Context: from_provider
Callback:  
Exten: s
Dialout:  
Priority: 1
UniqueID:  
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
ExitContext:  
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
SayDurationMinimum: 2
Variable: SIPCALLID
SayEnvelope: Yes
Value: 2bfd10aa59fd6d695ef6f5393b5e9286@10.0.2.15:5060
SayCID: No
AttachMessage: Yes
AttachmentFormat:  
DeleteMessage: No
VolumeGain: 0.00
CanReview: No
CallOperator: No
MaxMessageCount: 100
MaxMessageLength: 0
NewMessageCount: 6
</pre>
</pre>



Latest revision as of 09:46, 30 July 2020

Overview

Asterisk AMI event 메시지 내용 정리. Asterisk-13, Asterisk-14 버전 기준.

Example 항목의 대부분은 Raspberry pi 3 에서 테스트 한 내용이다. 하지만 Asterisk 특성 상, Raspberry pi 에서 정상적으로 테스트가 되지않는 메시지들도 있었기 때문에 Example 은 단지 참고용으로 사용해야 한다.

Common

ami-event 공통적으로 사용되는 내용 정리.

Channel state description

Reference: include/asterisk/channelstate.h

Down
Rsrvd
OffHook
Dialing
Ring
Ringing
Up
Busy
Dialing Offhook
Pre-ring
Mute
Unknown
  • Down: Channel is down and available.
  • Rsrvd: Channel is down, but reserved.
  • OffHook: Channel is off hook.
  • Dialing: Digits (or equivalent) have been dialed.
  • Ring: Line is ringing.
  • Ringing: Remote end is ringing.
  • Up: Line is up.
  • Busy: LIne is busy.
  • Dialing Offhook: Digits (or equivalent) have been dialed while offhook.
  • Pre-ring: Channel has detected and incoming call and waiting for ring.
  • Mute: Do not transmit voice data.

Dial result status

Dial 명령 후 설정되는 Dial result status.

ABORT
ANSWER
BUSY
CANCEL
CHANUNAVAIL
CONGESTION
CONTINUE
GOTO
NOANSWER
  • ABORT : The call was aborted.
  • ANSWER : The called party was answered.
  • BUSY : The called party was busy.
  • CANCEL : The caller cancelled the call.
  • CHANUNAVAIL : The requested channel is unavailable.
  • CONGESTION : The called party is congested.
  • CONTINUE : The dial completed, but the caller elected to continue in the dialplan.
  • GOTO : The dial completed, but the caller jumped to a dialplan location. If known, the location the caller is jumping to will be appended to the result following a ":".
  • NOANSWER : The called party failed to answer.

Hangup cause

See Asterisk_hangup_code

AgentCalled

Queue에서 대기중인 Agent 에게 현재 대기중인 콜이 있다는 알림을 줄때 발생한다.

Class : AGENT

Event: AgentCalled
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
DestChannel: <value>
DestChannelState: <value>
DestChannelStateDesc: <value>
DestCallerIDNum: <value>
DestCallerIDName: <value>
DestConnectedLineNum: <value>
DestConnectedLineName: <value>
DestAccountCode: <value>
DestContext: <value>
DestExten: <value>
DestPriority: <value>
DestUniqueid: <value>
DestLinkedid: <value>
Queue: <value>
MemberName: <value>
Interface: <value>
  • Channel
  • ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
  • ChannelStateDesc : 채널의 상태를 나타낸다. Channel state description 참조.
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid : Uniqueid of the oldest channel associated with this channel.
  • DestChannel :
  • DestChannelState : A numeric code for the channel's current state, related to DestChannelStateDesc.
  • DestChannelStateDesc : 목적지 채널의 상태 정보를 나타낸다. Channel state description 참조.
  • DestCallerIDNum
  • DestCallerIDName
  • DestConnectedLineNum
  • DestConnectedLineName
  • DestAccountCode
  • DestContext
  • DestExten
  • DestPriority
  • DestUniqueid
  • DestLinkedid : Uniqueid of the oldest channel associated with this channel.
  • Queue : The name of the queue.
  • MemberName : The name of the queue member.
  • Interface : The queue member's channel technology or location.

Example

Event: AgentCalled
Privilege: agent,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: from_provider
Exten: 
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestChannel: Local/test-04@common-incoming-0000000a;1
DestChannelState: 0
DestChannelStateDesc: Down
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: <unknown>
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode: 
DestContext: common-incoming
DestExten: 
DestPriority: 1
DestUniqueid: 1447438716.467
DestLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Queue: TestQueue
Interface: Local/test-04@common-incoming
MemberName: test 04

See also

AgentComplete

Queue member 가 Queue 로 부터 할당받은 고객과의 통화가 끝났음을 알려준다.

Class : AGENT

Event: AgentComplete
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
DestChannel: <value>
DestChannelState: <value>
DestChannelStateDesc: <value>
DestCallerIDNum: <value>
DestCallerIDName: <value>
DestConnectedLineNum: <value>
DestConnectedLineName: <value>
DestAccountCode: <value>
DestContext: <value>
DestExten: <value>
DestPriority: <value>
DestUniqueid: <value>
DestLinkedid: <value>
Queue: <value>
MemberName: <value>
Interface: <value>
HoldTime: <value>
TalkTime: <value>
Reason: <value>
  • Channel
  • ChannelState - A numeric code for the channel's current state, related to ChannelStateDesc
  • ChannelStateDesc : Channel state description 참조.
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid - Uniqueid of the oldest channel associated with this channel.
  • DestChannel
  • DestChannelState - A numeric code for the channel's current state, related to DestChannelStateDesc
  • DestChannelStateDesc : Channel state description 참조.
  • DestCallerIDNum
  • DestCallerIDName
  • DestConnectedLineNum
  • DestConnectedLineName
  • DestAccountCode
  • DestContext
  • DestExten
  • DestPriority
  • DestUniqueid
  • DestLinkedid - Uniqueid of the oldest channel associated with this channel.
  • Queue - The name of the queue.
  • MemberName - The name of the queue member.
  • Interface - The queue member's channel technology or location.
  • HoldTime - The time the channel was in the queue, expressed in seconds since 00:00, Jan 1, 1970 UTC.
  • TalkTime - The time the queue member talked with the caller in the queue, expressed in seconds since 00:00, Jan 1, 1970 UTC.
  • Reason
caller
agent
transfer

Example

Event: AgentComplete
Privilege: agent,all
Channel: SIP/300-00000008
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 300
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: queue_sales
Exten: s
Priority: 2
Uniqueid: 1480668413.15
Linkedid: 1480668413.15
DestChannel: SIP/agent-03-00000009
DestChannelState: 6
DestChannelStateDesc: Up
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: 300
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode: 
DestContext: public
DestExten: s
DestPriority: 1
DestUniqueid: 1480668414.16
DestLinkedid: 1480668413.15
Reason: caller
MemberName: sip/agent-03
Queue: sales_1
HoldTime: 3
Interface: sip/agent-03
TalkTime: 7

See also

AgentConnect

Queue member 가 answer 를 한 후, 대기 중인 콜과 bridge 되었을 때 발생한다.

Class : AGENT

Event: AgentConnect
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
DestChannel: <value>
DestChannelState: <value>
DestChannelStateDesc: <value>
DestCallerIDNum: <value>
DestCallerIDName: <value>
DestConnectedLineNum: <value>
DestConnectedLineName: <value>
DestAccountCode: <value>
DestContext: <value>
DestExten: <value>
DestPriority: <value>
DestUniqueid: <value>
DestLinkedid: <value>
Queue: <value>
MemberName: <value>
Interface: <value>
RingTime: <value>
HoldTime: <value>

Example

Event: AgentConnect
Privilege: agent,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: from_provider
Exten: 
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestChannel: Local/test-04@common-incoming-0000000a;1
DestChannelState: 6
DestChannelStateDesc: Up
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: <unknown>
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode: 
DestContext: common-incoming
DestExten: 
DestPriority: 1
DestUniqueid: 1447438716.467
DestLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Queue: TestQueue
Interface: Local/test-04@common-incoming
MemberName: test 04
HoldTime: 4
RingTime: 3

See also

AgentDump

Raised when a queue member hangs up on a caller in the queue.

Class : AGENT

Event: AgentDump
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
DestChannel: <value>
DestChannelState: <value>
DestChannelStateDesc: <value>
DestCallerIDNum: <value>
DestCallerIDName: <value>
DestConnectedLineNum: <value>
DestConnectedLineName: <value>
DestAccountCode: <value>
DestContext: <value>
DestExten: <value>
DestPriority: <value>
DestUniqueid: <value>
DestLinkedid: <value>
Queue: <value>
MemberName: <value>
Interface: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • DestChannel
  • DestChannelState
  • DestChannelStateDesc
  • DestCallerIDNum
  • DestCallerIDName
  • DestAccountCode
  • DestPriority
  • DestUniqueid
  • DestLinkedid
  • Queue : The name of the queue.
  • MemberName : The name of the queue member.
  • Interface : The queue member's channel technology or location.

See also

AgentLogin

Raised when an Agent has logged in.

Class : AGENT

Event: AgentLogin
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Agent: <value>
  • Agent : Agent ID of the agent.

Example

Event: AgentLogin
Privilege: agent,all
Channel: SIP/agent-01-00000002
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: agent-01@pluto.pchero21.com
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample_agent
Exten: s
Priority: 2
Uniqueid: 1488792387.4
Linkedid: 1488792387.4
Agent: 10001

See also

AgentLogoff

Agent 가 logoff 되었음을 알려준다.

Raised whn an Agent has logged off.

Class : AGENT

Event: AgentLogoff
Agent: <value>
Logintime: <value>
  • Agent : Agent ID of the agent.
  • Logintime : The number of seconds the agent was logged in.

Example

Event: AgentLogoff
Privilege: agent,all
Channel: SIP/agent-01-00000004
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: agent-01@pluto.pchero21.com
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample_agent
Exten: s
Priority: 2
Uniqueid: 1488794579.8
Linkedid: 1488794579.8
Agent: 10001
Logintime: 32

See also

AgentRingNoAnswer

Raised when a queue member is notified of a caller in the queue and fails to answer.

Class : AGENT

Event: AgentRingNoAnswer
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
DestChannel: <value>
DestChannelState: <value>
DestChannelStateDesc: <value>
DestCallerIDNum: <value>
DestCallerIDName: <value>
DestConnectedLineNum: <value>
DestConnectedLineName: <value>
DestAccountCode: <value>
DestContext: <value>
DestExten: <value>
DestPriority: <value>
DestUniqueid: <value>
DestLinkedid: <value>
Queue: <value>
MemberName: <value>
Interface: <value>
RingTime: <value>
  • Channel :
  • ChannelState : Current channel's state.
  • ChannelStateDesc : Channel's state description.
  • CallerIDNum :
  • CallerIDName :
  • ConnectedLineNum :
  • ConnectedLineName :
  • AccountCode :
  • Context :
  • Exten :
  • Priority :
  • Uniqueid :
  • Linkedid : Uniqueid of the oldest associated with this channel.
  • DestChannel :
  • DestChannelState : Destination channel's state.
  • DestChannelStateDesc : Destination channel's state description.
  • DestCallerIDNum :
  • DestCallerIDName :
  • DestConnectedLineNum :
  • DestConnectedLineName :
  • DestAccountCode :
  • DestContext :
  • DestExten :
  • DestPriority :
  • DestLinkedid :
  • Queue : The name of the queue.
  • MemberName : The name of the queue member.
  • Interface : The queue member's channel technology or location.
  • RingTime : The time the queue member was rung(ms).

Example

Event: AgentRingNoAnswer
Privilege: agent,all
Channel: SIP/300-00000014
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: 300
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: queue_sales
Exten: s
Priority: 2
Uniqueid: 1480669135.36
Linkedid: 1480669135.36
DestChannel: SIP/agent-03-00000015
DestChannelState: 5
DestChannelStateDesc: Ringing
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: 300
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode: 
DestContext: public
DestExten: s
DestPriority: 1
DestUniqueid: 1480669136.37
DestLinkedid: 1480669135.36
MemberName: sip/agent-03
Queue: sales_1
Interface: sip/agent-03
RingTime: 8000

See also

Agents

Response event in a series to the Agents AMI Action containing information about a defined agent.

The channel snapshot is present if the Status value is AGENT_IDLE or AGENT_ONCALL.

Class : AGENT

Event: Agents
Agent: <value>
Name: <value>
Status: <value>
TalkingToChan: <value>
CallStarted: <value>
LoggedInTime: <value>
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
ActionID: <value>
  • Agent : Agent ID of the agent.
  • Name : User friendly name of the agent.
  • Status : Current status of the agent.
AGENT_LOGGEDOFF
AGENT_IDLE
AGENT_ONCALL
  • TalkingToChan : BRIDGEPEER value on agent channel. Present if Status value is AGENT_ONCALL.
  • CallStarted : Epoche time when the agent started talking with the caller. Present if Status value is AGENT_ONCALL.
  • LoggedInTime : Epoche time when the agent logged in. Present if Status value is AGENT_IDLE or AGENT_ONCALL.
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • ActionID

Example

Event: Agents
Agent: 10001
Name: agent 10001
Status: AGENT_LOGGEDOFF
Event: Agents
Agent: 10001
Name: agent 10001
Status: AGENT_IDLE
LoggedInTime: 1488794919
Channel: SIP/agent-01-00000006
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: agent-01@pluto.pchero21.com
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample_agent
Exten: s
Priority: 2
Uniqueid: 1488794919.12
Linkedid: 1488794919.12

See also

AgentsComplete

Final response event in a series of events to the Agents AMI action.

Class : AGENT

Event: AgentsComplete
ActionID: <value>

See also

AGIExecEnd

Raised when a received AGI command completes processing.

Class : AGI

Event: AGIExecEnd
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Command: <value>
CommandId: <value>
ResultCode: <value>
Result: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • Command : The AGI command as received from the external source.
  • CommandId : Random identification number assined to the execution of this command.
  • ResultCode : The numeric result code from AGI.
  • Result : The text result rason from AGI.

Example

Event: AGIExecEnd
Privilege: agi,all
Channel: PJSIP/pjagent-02-00000006
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: pjagent-02
CallerIDName: pjagent-02
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample-agi-async
Exten: s
Priority: 2
Uniqueid: 1516568222.6
Linkedid: 1516568222.6
CommandId: 1492281484
Command: Answer
ResultCode: 200
Result: Success

See also

AGIExecStart

Raised when a received AGI command starts processing.

Class : AGI

Event: AGIExecStart
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Command: <value>
CommandId: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • Command : The AGI command as received from the external source.
  • CommandId : Random identification number assigned to the execution of this command.

Example

Event: AGIExecStart
Privilege: agi,all
Channel: PJSIP/pjagent-02-00000006
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: pjagent-02
CallerIDName: pjagent-02
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample-agi-async
Exten: s
Priority: 2
Uniqueid: 1516568222.6
Linkedid: 1516568222.6
CommandId: 1492281484
Command: Answer
Event: AsyncAGIStart
Privilege: agi,all
Channel: PJSIP/199-00000038
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: 199
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: demo
Exten: 5000
Priority: 2
Uniqueid: 1523491570.91
Linkedid: 1523491570.91
Env: agi_request%3A%20async%0Aagi_channel%3A%20PJSIP%2F199-00000038%0Aagi_language%3A%20en%0Aagi_type%3A%20PJSIP%0Aagi_uniqueid%3A%201523491570.91%0Aagi_version%3A%2015.3.0%0Aagi_callerid%3A%20199%0Aagi_calleridname%3A%20unknown%0Aagi_callingpres%3A%200%0Aagi_callingani2%3A%200%0Aagi_callington%3A%200%0Aagi_callingtns%3A%200%0Aagi_dnid%3A%205000%0Aagi_rdnis%3A%20unknown%0Aagi_context%3A%20demo%0Aagi_extension%3A%205000%0Aagi_priority%3A%202%0Aagi_enhanced%3A%200.0%0Aagi_accountcode%3A%20%0Aagi_threadid%3A%20139751619557120%0Aagi_arg_1%3A%20jade_dialplan%0Aagi_arg_2%3A%20a099b914-e427-4455-848f-73d796b359df%0A%0A

See also

Alarm

Raised when an alarm is set on a DAHDI channel.

Class : SYSTEM

Event: Alarm
DAHDIChannel: <value>
Alarm: <value>
  • DAHDIChannel : The channel on which the alarm occurred(Asterisk channel identifier 가 아니다).
  • Alarm : A textual description an the alarm that occurred.

See also

AlarmClear

Raised when an alarm is cleared on a DAHDI channel.

Class : SYSTEM

Event: AlarmClear
DAHDIChannel: <value>
  • DAHDIChannel : The DAHDI channel on which the alarm was cleared(Asterisk channel identifier 가 아니다).

See also

AOC-D

Raised when an Advice of Charge message is sent during a call.

Class : AOC

Event: AOC-D
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Charge: <value>
Type: <value>
BillingID: <value>
TotalType: <value>
Currency: <value>
Name: <value>
Cost: <value>
Multiplier: <value>
Units: <value>
NumberOf: <value>
TypeOf: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • Charge
  • Type
NotAvailable
Free
Currency
Units
  • BillingID
Normal
Reverse
CreditCard
CallForwardingUnconditional
CallForwardingBusy
CallForwardingNoReply
CallTransfer
NotAvailable
  • TotalType
SubTotal
Total
  • Currency
  • Name
  • Cost
  • Multiplier
1/1000
1/100
1/10
1
10
100
1000
  • Units
  • NumberOf
  • TypeOf

See also

AOC-E

Raised when an Advice of Charge message is sent at the end of a call.

Class : AOC

Event: AOC-E
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
ChargingAssociation: <value>
Number: <value>
Plan: <value>
ID: <value>
Charge: <value>
Type: <value>
BillingID: <value>
TotalType: <value>
Currency: <value>
Name: <value>
Cost: <value>
Multiplier: <value>
Units: <value>
NumberOf: <value>
TypeOf: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • ChargingAssociation
  • Number
  • Plan
  • ID
  • Charge
  • Type
NotAvailable
Free
Currency
Units
  • BillingID
Normal
Reverse
CreditCard
CallForwardingUnconditional
CallForwardingBusy
CallForwardingNoReply
CallDeflection
CallTransfer
NotAvailable
  • TotalType
SubTotal
Total
  • Currency
  • Name
  • Cost
  • Multiplier
1/1000
1/100
1/10
1
10
100
1000
  • Units
  • NumberOf
  • TypeOf

See also

AOC-S

Raised when an Advice of Charge message is sent at the beginning of a call.

Class : AOC

Event: AOC-S
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Chargeable: <value>
RateType: <value>
Currency: <value>
Name: <value>
Cost: <value>
Multiplier: <value>
ChargingType: <value>
StepFunction: <value>
Granularity: <value>
Length: <value>
Scale: <value>
Unit: <value>
SpecialCode: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • Chargeable
  • RateType
NotAvailable
Free
FreeFromBeginning
Duration
Flag
Volume
SpecialCode
  • Currency
  • Name
  • Cost
  • Multiplier
1/1000
1/100
1/10
1
10
100
1000
  • ChargingType
  • StepFunction
  • Granularity
  • Length
  • Scale
  • Unit
Octect
Segment
Message
  • SpecialCode

See also

AorDetail

Provide details about an Address of Record(AoR) section.

Class : COMMAND

Event: AorDetail
ObjectType: <value>
ObjectName: <value>
MinimumExpiration: <value>
MaximumExpiration: <value>
DefaultExpiration: <value>
QualifyFrequency: <value>
AuthenticateQualify: <value>
MaxContacts: <value>
RemoveExisting: <value>
Mailboxes: <value>
OutboundProxy: <value>
SupportPath: <value>
TotalContacts: <value>
ContactsRegistered: <value>
EndpointName: <value>
  • ObjectType : The object's type. This will always be "aor".
  • Objectname : The name of this object.
  • MinimumExpiration : Minimum keep alive time for an AoR.
  • MaximumExpiration : Maximum time ti keep an AoR.
  • DefaultExpiration : Default expiration time in seconds for contacts that are dynamically bound to an AoR.
  • QualifyFrequency : Interval at which to qualify request if needed.
  • AuthenticationQualify : Authenticates a qualify request if needed.
  • MaxContacts : Maximum number of contacts that can bind to an AoR.
  • RemoveExisting : Determines whether new contacts replace existing ones.
  • Mailboxes : Allow subscriptions for the specified mailbox(es).
  • OutboundProxy : Outbound proxy used when sending OPTIONS request.
  • SupportPath : Enables Path support for REGISTER requests and Route support for other requests.
  • TotalContacts : The total number of contacts associated with this AoR.
  • ContactRegistered : The number of non-permanent contacts associated with this AoR.
  • EndpointName : The name of the endpoint associated with this information.

Example

Event: AorDetail
ObjectType: aor
ObjectName: 199
MinimumExpiration: 60
DefaultExpiration: 3600
QualifyTimeout: 3.000000
Mailboxes: 
SupportPath: false
VoicemailExtension: 
MaxContacts: 1
AuthenticateQualify: false
Contacts: 199/sip:199@172.17.42.1:36115;transport=ws;rtcweb-breaker=no
MaximumExpiration: 7200
QualifyFrequency: 0
RemoveExisting: true
OutboundProxy: 
TotalContacts: 1
ContactsRegistered: 1
EndpointName: 199

See also

AsyncAGIEnd

Raised when a channel stops AsyncAGI command processing

Class : AGI

Event: AsyncAGIEnd
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid

See also

AsyncAGIExec

Raised when AsyncAGI completes an AGI command.

Class : AGI

Event: AsyncAGIExec
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
[CommandID:] <value>
Result: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • CommandID : Optional command ID sent by the AsyncAGI server identify the command.
  • Result : URL encoded result string from the executed AGI command.

Example

Event: AsyncAGIExec
Privilege: agi,all
Channel: PJSIP/pjagent-02-00000006
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: pjagent-02
CallerIDName: pjagent-02
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample-agi-async
Exten: s
Priority: 2
Uniqueid: 1516568222.6
Linkedid: 1516568222.6
Result: 200%20result%3D0%0A
CommandId: 77cdcf4c-feed-11e7-bd12-5b24ee4818c3

See also

AsyncAGIStart

Raised when a channel starts AsyncAGI command processing.

Class : AGI

Event: AsyncAGIStart
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Env: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • Env : URL encoded string read from the AsyncAGI server.

Example

Normal

Event: AsyncAGIStart
Privilege: agi,all
Channel: PJSIP/pjagent-02-00000000
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: pjagent-02
CallerIDName: pjagent-02
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample-agi-async
Exten: s
Priority: 2
Uniqueid: 1516563765.0
Linkedid: 1516563765.0
Env: agi_request%3A%20async%0Aagi_channel%3A%20PJSIP%2Fpjagent-02-00000000%0Aagi_language%3A%20en%0Aagi_type%3A%20PJSIP%0Aagi_uniqueid%3A%201516563765.0%0Aagi_version%3A%20GIT-master-516ab38M%0Aagi_callerid%3A%20pjagent-02%0Aagi_calleridname%3A%20pjagent-02%0Aagi_callingpres%3A%200%0Aagi_callingani2%3A%200%0Aagi_callington%3A%200%0Aagi_callingtns%3A%200%0Aagi_dnid%3A%204006%0Aagi_rdnis%3A%20unknown%0Aagi_context%3A%20sample-agi-async%0Aagi_extension%3A%20s%0Aagi_priority%3A%202%0Aagi_enhanced%3A%200.0%0Aagi_accountcode%3A%20%0Aagi_threadid%3A%201954128928%0A%0A
  • Decoded Env info
agi_request: async
agi_channel: PJSIP/pjagent-02-00000000
agi_language: en
agi_type: PJSIP
agi_uniqueid: 1516563765.0
agi_version: GIT-master-516ab38M
agi_callerid: pjagent-02
agi_calleridname: pjagent-02
agi_callingpres: 0
agi_callingani2: 0
agi_callington: 0
agi_callingtns: 0
agi_dnid: 4006
agi_rdnis: unknown
agi_context: sample-agi-async
agi_extension: s
agi_priority: 2
agi_enhanced: 0.0
agi_accountcode: 
agi_threadid: 1954128928

See also

AttendedTransfer

Raised when a attended transfer is complete.

The header in this event attempt to describe all the major details of the attended transfer.

The two transferer channels and two bridges are determined based on their chronological establishment. So consider that Alice calls Bob, and then Alice transfer the call to Voicemail. The transferer and bridge headers would be arranged as follows.

OrigTransfererChannel : Alice's channel in the bridge with Bob.
OrigBridgeUniqueid : The bridge between Alice and Bob.
SecondTransfererChannel : Alice's channel that called Voicemail.
SecondBridgeUniqueid : Not present, since a call to Voicemail has no bridge.

Now consider if the order were reversed; instead of having Alice call Bob and transfer him to Voice, Alice instead calls her Voicemail and transferer that to Bob. The transferer and bridge headers would be arranged as follows.

OrigTransfererChannel : Alice's channel that called Voicemail.
OrigBridgeUniqueid : Not present, sice a call to Voicemail has no bridge.
SecondTransfererChannel : Alice's channel in the bridge with Bob.
SecondBridgeUniqueid : The bridge between Alice and Bob.

Class : CALL

Event: AttendedTransfer
Result: <value>
OrigTransfererChannel: <value>
OrigTransfererChannelState: <value>
OrigTransfererChannelStateDesc: <value>
OrigTransfererCallerIDNum: <value>
OrigTransfererCallerIDName: <value>
OrigTransfererConnectedLineNum: <value>
OrigTransfererConnectedLineName: <value>
OrigTransfererAccountCode: <value>
OrigTransfererContext: <value>
OrigTransfererExten: <value>
OrigTransfererPriority: <value>
OrigTransfererUniqueid: <value>
OrigTransfererLinkedid: <value>
OrigBridgeUniqueid: <value>
OrigBridgeType: <value>
OrigBridgeTechnology: <value>
OrigBridgeCreator: <value>
OrigBridgeName: <value>
OrigBridgeNumChannels: <value>
SecondTransfererChannel: <value>
SecondTransfererChannelState: <value>
SecondTransfererChannelStateDesc: <value>
SecondTransfererCallerIDNum: <value>
SecondTransfererCallerIDName: <value>
SecondTransfererConnectedLineNum: <value>
SecondTransfererConnectedLineName: <value>
SecondTransfererAccountCode: <value>
SecondTransfererContext: <value>
SecondTransfererExten: <value>
SecondTransfererPriority: <value>
SecondTransfererUniqueid: <value>
SecondTransfererLinkedid: <value>
SecondBridgeUniqueid: <value>
SecondBridgeType: <value>
SecondBridgeTechnology: <value>
SecondBridgeCreator: <value>
SecondBridgeName: <value>
SecondBridgeNumChannels: <value>
DestType: <value>
DestBridgeUniqueid: <value>
DestApp: <value>
LocalOneChannel: <value>
LocalOneChannelState: <value>
LocalOneChannelStateDesc: <value>
LocalOneCallerIDNum: <value>
LocalOneCallerIDName: <value>
LocalOneConnectedLineNum: <value>
LocalOneConnectedLineName: <value>
LocalOneAccountCode: <value>
LocalOneContext: <value>
LocalOneExten: <value>
LocalOnePriority: <value>
LocalOneUniqueid: <value>
LocalOneLinkedid: <value>
LocalTwoChannel: <value>
LocalTwoChannelState: <value>
LocalTwoChannelStateDesc: <value>
LocalTwoCallerIDNum: <value>
LocalTwoCallerIDName: <value>
LocalTwoConnectedLineNum: <value>
LocalTwoConnectedLineName: <value>
LocalTwoAccountCode: <value>
LocalTwoContext: <value>
LocalTwoExten: <value>
LocalTwoPriority: <value>
LocalTwoUniqueid: <value>
LocalTwoLinkedid: <value>
DestTransfererChannel: <value>
TransfereeChannel: <value>
TransfereeChannelState: <value>
TransfereeChannelStateDesc: <value>
TransfereeCallerIDNum: <value>
TransfereeCallerIDName: <value>
TransfereeConnectedLineNum: <value>
TransfereeConnectedLineName: <value>
TransfereeAccountCode: <value>
TransfereeContext: <value>
TransfereeExten: <value>
TransfereePriority: <value>
TransfereeUniqueid: <value>
TransfereeLinkedid: <value>

See also

AuthDetail

Provide details about an authentication section.

Class : COMMAND

Event: AuthDetail
ObjectType: <value>
ObjectName: <value>
Username: <value>
Password: <value>
Md5Cred: <value>
Realm: <value>
NonceLifetime: <value>
AuthType: <value>
EndpointName: <value>
  • ObjectType : The object's type. This will always be 'auth'.
  • ObjectName : The name of this object.
  • Username : Username to use for account.
  • Password : Password to use for account.
  • Md5Cred : MD5 Hash used for authentication.
  • Realm : SIP realm for endpoint.
  • NonceLifetime : Lifetime of a nonce associated with this authentication config.
  • EndpointName : The name of the endpoint associated with this information.

Example

Event: AuthDetail
ObjectType: auth
ObjectName: 199
Username: 199
Md5Cred: 
Realm: 
AuthType: userpass
Password: 199199
NonceLifetime: 32
EndpointName: 199

See also

AuthMethodNotAllowed

Raised when a request used an authentication method not allowed by the service.

Class : SECURITY

Event: AuthMethodNotAllowed
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
AuthMethod: <value>
[Module:] <value>
[SessionTV:] <value>
  • EventTV : The time the event was detected.
  • Severity : A relative severity of the security event.
Informational
Error
  • Service : The Asterisk service that raised the security event.
  • EventVersion : The version of this event.
  • AccountID : The Service account associated with the security event notification.
  • SessionID : A unique identifier for the session in the service that raised the event.
  • LocalAddress : The address of the Asterisk service that raised the security event.
  • RemoteAddress : The remote address of the entity that caused the security event to be raised.
  • AuthMethod : The authentication method attempted.
  • Module : If available, the name of the module that raised the event.
  • SessionTV : The timestamp reported by the session.

See also

BlindTransfer

Raised when a blind transfer is complete.

Class : CALL

Event: BlindTransfer
Result: <value>
TransfererChannel: <value>
TransfererChannelState: <value>
TransfererChannelStateDesc: <value>
TransfererCallerIDNum: <value>
TransfererCallerIDName: <value>
TransfererConnectedLineNum: <value>
TransfererConnectedLineName: <value>
TransfererAccountCode: <value>
TransfererContext: <value>
TransfererExten: <value>
TransfererPriority: <value>
TransfererUniqueid: <value>
TransfererLinkedid: <value>
TransfereeChannel: <value>
TransfereeChannelState: <value>
TransfereeChannelStateDesc: <value>
TransfereeCallerIDNum: <value>
TransfereeCallerIDName: <value>
TransfereeConnectedLineNum: <value>
TransfereeConnectedLineName: <value>
TransfereeAccountCode: <value>
TransfereeContext: <value>
TransfereeExten: <value>
TransfereePriority: <value>
TransfereeUniqueid: <value>
TransfereeLinkedid: <value>
BridgeUniqueid: <value>
BridgeType: <value>
BridgeTechnology: <value>
BridgeCreator: <value>
BridgeName: <value>
BridgeNumChannels: <value>
IsExternal: <value>
Context: <value>
Extension: <value>
  • Result : Transfer 요청이 성공했는지 실패했는지를 나타낸다.
Fail : An internal error occurred.
Invalid : Invalid configuration for transfer(e.g. Not bridge)
Not Permitted : Bridge does not permit transfers.
Success : Transfer completed successfully. 결과가 Success 라는 것은 정상적으로 연결이 되었다는 뜻은 아니다. 단지 지정한 dialplan 에 정상적으로 전달이 되었음을 뜻한다(A result of Success does not necessarily mean that a target was successfully contacted. It means that a party was successfully placed into the dialplan at the expected location.).
  • TransfererChannel
  • TransfererChannelState
  • TransfererChannelStateDesc
  • TransfererCallerIDNum
  • TransfererCallerIDName
  • TransfererConnectedLineNum
  • TransfererConnectedLineName
  • TransfererAccountCode
  • TransfererContext
  • TransfererExten
  • TransfererPriority
  • TransfererUniqueid
  • TransfererLinkedid
  • TransfereeChannel
  • TransfereeChannelState
  • TransfereeChannelStateDesc
  • TransfereeCallerIDNum
  • TransfereeCallerIDName
  • TransfereeConnectedLineNum
  • TransfereeConnectedLineName
  • TransfereeAccoundCode
  • TransfereeContext
  • TransfereeExten
  • TransfereePriority
  • TransfereeUniqueid
  • TransfereeLinkedid
  • BridgeUniqueid
  • BridgeType : The type of bridge
  • BridgeTechnology : Technology in use by the bridge.
  • BridgeCreator : Entity that created the bridge if applicable.
  • BridgeName : Name used to refer to the bridge by its BridgeCreator if applicable.
  • BridgeNumChannels : Number of channels in the bridge.
  • IsExternal : Indicates if the transfer was performed outside of Asterisk. For instance, a channel protocol native transfer is external. A DTMF transfer is internal.
Yes
No
  • Context : Destination context for the blind transfer.
  • Extension : Destination extension for the blind transfer.

Example

Success

Event: BlindTransfer
Privilege: call,all
Result: Success
TransfererChannel: SIP/agent-01-00000005
TransfererChannelState: 6
TransfererChannelStateDesc: Up
TransfererCallerIDNum: agent-01
TransfererCallerIDName: <unknown>
TransfererConnectedLineNum: <unknown>
TransfererConnectedLineName: <unknown>
TransfererLanguage: en
TransfererAccountCode: 
TransfererContext: park-dial
TransfererExten: SIP_agent-01
TransfererPriority: 1
TransfererUniqueid: 1481706048.11
TransfererLinkedid: 1481706048.11
TransfereeChannel: SIP/agent-01-00000006
TransfereeChannelState: 6
TransfereeChannelStateDesc: Up
TransfereeCallerIDNum: SIP_agent-01
TransfereeCallerIDName: <unknown>
TransfereeConnectedLineNum: agent-01
TransfereeConnectedLineName: <unknown>
TransfereeLanguage: en
TransfereeAccountCode: 
TransfereeContext: public
TransfereeExten: 
TransfereePriority: 1
TransfereeUniqueid: 1481706093.12
TransfereeLinkedid: 1481706048.11
BridgeUniqueid: b9ad516f-984d-4dce-a465-d95690edc656
BridgeType: basic
BridgeTechnology: native_rtp
BridgeCreator: <unknown>
BridgeName: <unknown>
BridgeNumChannels: 2
IsExternal: Yes
Context: sample_musiconhold
Extension: s

Fail

Event: BlindTransfer
Privilege: call,all
Result: Invalid
TransfererChannel: SIP/agent-01-00000002
TransfererChannelState: 6
TransfererChannelStateDesc: Up
TransfererCallerIDNum: agent-01
TransfererCallerIDName: <unknown>
TransfererConnectedLineNum: <unknown>
TransfererConnectedLineName: <unknown>
TransfererLanguage: en
TransfererAccountCode: 
TransfererContext: sample_park
TransfererExten: s
TransfererPriority: 2
TransfererUniqueid: 1481705835.4
TransfererLinkedid: 1481705835.4
BridgeUniqueid: 299de6ea-1dc7-4144-9e46-d6513723333e
BridgeType: parking
BridgeTechnology: holding_bridge
BridgeCreator: Parking
BridgeName: default
BridgeNumChannels: 1
IsExternal: Yes
Context: sample_musiconhold
Extension: s

See also

BridgeCreate

Riased when a bridge is created.

Class : CALL

Event: BridgeCreate
BridgeUniqueid: <value>
BridgeType: <value>
BridgeTechnology: <value>
BridgeCreator: <value>
BridgeName: <value>
BridgeNumChannels: <value>
  • BridgeUniqueid
  • BridgeType : The type of bridge
  • BridgeTechnology : Technology in use by the bridge.
  • BridgeCreator : Entity that created the bridge if applicable.
  • BridgeName : Name used to refer to the bridge by its BridgeCreator if applicable.
  • BridgeNumChannels : Number of channels in the bridge.

Example

Event: BridgeCreate
Privilege: call,all
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
BridgeType: basic
BridgeTechnology: simple_bridge
BridgeCreator: <unknown>
BridgeName: <unknown>
BridgeNumChannels: 0

See also

BridgeDestroy

Raised when a bridge is destroyed.

Class : CALL

Event: BridgeDestroy
BridgeUniqueid: <value>
BridgeType: <value>
BridgeTechnology: <value>
BridgeCreator: <value>
BridgeName: <value>
BridgeNumChannels: <value>
  • BridgeUniqueid
  • BridgeType : The type of bridge
  • BridgeTechnology : Technology in use by the bridge.
  • BridgeCreator : Entity that created the bridge if applciable.
  • BridgeName : Name used to refer to the bridge by its BridgeCreator if applicable.
  • BridgeNumChannels : Number of channels in the bridge.

Example

Event: BridgeDestroy
Privilege: call,all
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
BridgeType: basic
BridgeTechnology: simple_bridge
BridgeCreator: <unknown>
BridgeName: <unknown>
BridgeNumChannels: 0

See also

BridgeEnter

Channel 이 Bridge 로 들어왔음을 나타낸다.

Event: BridgeEnter
BridgeUniqueid: <value>
BridgeType: <value>
BridgeTechnology: <value>
BridgeCreator: <value>
BridgeName: <value>
BridgeNumChannels: <value>
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
SwapUniqueid: <value>
  • BridgeUniqueid
  • BridgeType : The type of bridge
  • BridgeTechnology : Technology in use by the bridge.
  • BridgeCreator : Entity that created the bridge if applicable.
  • BridgeName : Name used to refer to the bridge by its BridgeCreator if applicable.
  • BridgeNumChannels : Number of channels in the bridge.
  • Channel : Channel name.
  • ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
  • ChannelStateDesc : Channel state description 참조.
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid : Uniqueid of the oldest channel associated with this channel.
  • SwapUniqueid : The uniqueid of the channel being swapped out of the bridge.

Example

Event: BridgeEnter
Privilege: call,all
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
BridgeType: basic
BridgeTechnology: simple_bridge
BridgeCreator: <unknown>
BridgeName: <unknown>
BridgeNumChannels: 1
Channel: SIP/test-04-0000019b
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: test-04
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: common-incoming
Exten: 
Priority: 1
Uniqueid: 1447438716.469
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967

See also

BridgeInfoChannel

Information about a channel in a bridge.

Class : COMMAND

Event: BridgeInfoChannel
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid

See also

BridgeInfoComplete

Information about a bridge.

Class : COMMAND

Event: BridgeInfoComplete
BridgeUniqueid: <value>
BridgeType: <value>
BridgeTechnology: <value>
BridgeCreator: <value>
BridgeName: <value>
BridgeNumChannels: <value>
  • BridgeUniqueid
  • BridgeType : The type of bridge
  • BridgeTechnology : Technology in use by the bridge.
  • BridgeCreator : Entity that created the bridge if applicable.
  • BridgeName : Name used to refer to the bridge by its BridgeCreator if applicable.
  • BridgeNumChannels : Number of channels in the bridge.

See also

BridgeLeave

Raised when a channel leaves a bridge.

Class : CALL

Event: BridgeLeave
BridgeUniqueid: <value>
BridgeType: <value>
BridgeTechnology: <value>
BridgeCreator: <value>
BridgeName: <value>
BridgeNumChannels: <value>
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
  • BridgeUniqueid
  • BridgeType : The type of bridge.
  • BridgeTechnology : Technology in use by the bridge.
  • BridgeCreator : Entity that created the bridge if applicable.
  • BridgeName : Name used to the bridge by its BridgeCreator if applicable.
  • BridgeNumChannels : Number of channels in the bridge.
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid

Example

Event: BridgeLeave
Privilege: call,all
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
BridgeType: basic
BridgeTechnology: simple_bridge
BridgeCreator: <unknown>
BridgeName: <unknown>
BridgeNumChannels: 1
Channel: SIP/test-04-0000019b
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: test-04
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: common-incoming
Exten: 
Priority: 1
Uniqueid: 1447438716.469
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967

See also

BridgeMerge

Raised when two bridges are merged.

Class : CALL

Event: BridgeMerge
ToBridgeUniqueid: <value>
ToBridgeType: <value>
ToBridgeTechnology: <value>
ToBridgeCreator: <value>
ToBridgeName: <value>
ToBridgeNumChannels: <value>
FromBridgeUniqueid: <value>
FromBridgeType: <value>
FromBridgeTechnology: <value>
FromBridgeCreator: <value>
FromBridgeName: <value>
FromBridgeNumChannels: <value>
  • ToBridgeUniqueid
  • ToBridgeType : The type of bridge.
  • ToBridgeTechnology : Technology in use by the bridge.
  • ToBridgeCreator : Entity that created the bridge if applicable.
  • ToBridgeName : Name used to refer to the bridge by its BridgeCreator if applicable.
  • ToBridgeNumChannels : Number of channels in the bridge.
  • FromBridgeUniqueid
  • FromBridgeType : The type of bridge.
  • FromBridgeTechnology : Technology in use by the bridge.
  • FromBridgeCreator : Entity that created the bridge if applicable.
  • FromBridgeName : Name used to refer to the bridge by its BridgeCreator if applicable.
  • FromBridgeNumChannels : Number of channels in the bridge.

See also

Cdr

Raised when a CDR is generated.

The Cdr event is only raised when the cdr_manager backend is loaded and registered with the CDR engine. This event can contain additional fields depending on the configuration provided by cdr_manager.conf.

Class : CDR

Event: Cdr
AccountCode: <value>
Source: <value>
Destination: <value>
DestinationContext: <value>
CallerID: <value>
Channel: <value>
DestinationChannel: <value>
LastApplication: <value>
LastData: <value>
StartTime: <value>
AnswerTime: <value>
EndTime: <value>
Duration: <value>
BillableSeconds: <value>
Disposition: <value>
AMAFlags: <value>
UniqueID: <value>
UserField: <value>
  • AccountCode : The account code of the Party A channel.
  • Source : The Caller ID number associated with the Party A in the CDR.
  • Destination : The diaplan extension the Party A was executing.
  • DestinationContext : The dialplan context the Party A was executing.
  • CallerID : The Caller ID name associated with the Party A in the CDR.
  • Channel :The channel name of the Party A.
  • DestinationChannel : The channel name of the Party B.
  • LastApplication : The last dialplan application the Party A executed.
  • LastData : The parameters passed to the last dialplan application the Party A executed.
  • StartTime : The time the CDR was created.
  • AnswerTime : The earliest of either the time when Party A answered, or the start time of this CDR.
  • EndTime : The time when the CDR was finished. This occurs when the Party A hangs up or when the bridge between Party A and Party B is broken.
  • Duration : The time, in seconds, of EndTime - StartTime.
  • BillableSeconds : The time, in seconds, of AnswerTime - StartTime.
  • Dispostion : The final known disposition of the CDR.
NO ANSWER : The channel was not answered. This is the default disposition.
FAILED : The channel attempted to dial but the call failed. The congestion setting in cdr.conf can result in the AST_CAUSE_CONGESTION hang up cause or the CONGESTION dial status to map to this disposition.
BUSY : The channel attempted to dial but the remote party was busy.
ANSWERED : The channel was answered. The hang up cause will no longer impact the disposition of the CDR.
CONGESTION : The channel attempted to dial but the remote party was congested.
  • AMAFlags : A flag that informs a billing system how to treat the CDR.
OMIT : This CDR should be ignored.
BILLING : This CDR contains valid billing data.
DOCUMENTATION : This CDR is for documentation purposes.
  • UniqueID : A unique identifier for the Party A channel.
  • UserField : A user defined field set on the channels. If set on both the Party A and Party B channel, the userfields of both are concatenated and separated by a ;.

See also

CEL

Raised when a Channel Event Log is generated for a channel.

Class : CEL

Event: CEL
EventName: <value>
AccountCode: <value>
CallerIDnum: <value>
CallerIDname: <value>
CallerIDani: <value>
CallerIDrdnis: <value>
CallerIDdnid: <value>
Exten: <value>
Context: <value>
Application: <value>
AppData: <value>
EventTime: <value>
AMAFlags: <value>
UniqueID: <value>
LinkedID: <value>
UserField: <value>
Peer: <value>
PeerAccount: <value>
Extra: <value>
  • EventName : The name of the CEL event being raised. This can include both the system defined CEL events, as well as user defined event. All events listed here may not be raised, depending on the configuration in cel.conf
CHAN_START : A channel was created.
CHAN_END : A channel was terminated.
ANSWER : A channel answered.
HANGUP : A channel was hung up.
BRIDGE_ENTER : A channel entered a bridge.
BRIDGE_EXIT : A channel entered into a tacked application.
APP_START : A channel entered into a tacked application.
APP_END : A channel left a tacked application.
PARK_START : A channel was parked.
PARK_END : A channel was unparked.
BLINDTRANSFER : A channel initiated a blind transfer.
PICKUP : A channel initiated a call pick up.
FORWARD : A channel is being forwared to another destination.
LINKEDID_END : The linked ID associated with this channel is being retired.
LOCAL_OPTIMIZE : A local channel optimization has occurred.
USER_DEFINED : A user defined type. This event is only present if show user defined in cel.conf is True. Otherwise, the user defined event will be placed directly in the EventName filed.
  • AccountCode : The channel's account code.
  • CallerIDnum : The Caller ID number.
  • CallerIDname : The Caller ID name.
  • CallerIDani : The Caller ID Automatic Number Identification.
  • CallerIDrdnis : The Caller ID redirected Dialed Number Identification Service.
  • CallerIDdnid : The Caller ID Dialed Number Identifier.
  • Exten : The dialplan extension the channel is currently executing in.
  • Context : The dialplan context the channel is currently executing in.
  • Application : The dialplan application the channel is currently executing.
  • AppData : The arguments pased to the dialplan Application.
  • EventTime : The time the CEL event occurred.
  • AMAFlags : A flag that informs a biling system how to treat the CEL.
OMIT : This event should be ignored.
BILLING : This event contains valid billing data.
DOCUMENTATION : This event is for documentation purposes.
  • UniqueID : The unique ID of the channel.
  • LinkedID : The linked ID of the channel, which ties this event to other related channel's events.
  • UserField : A user defined field set on a channel, contraining arbitrary application specific data.
  • Peer : If this channel is in a bridge, the channel that it is in a bridge with.
  • PeerAccount : If this channel is in bridge, the accountcode of the channel it is in a bridge with.
  • Extra : Some events will have event specific data that accompanies the CEL record. This extra data is JSON encoded, and is dependent on the event in question.

See also

ChallengeResponseFailed

Raised when a request's attempt to authenticate has been challenged, and the request failed the authentication challenge.

Class : SECRURITY

Event: ChallengeResponseFailed
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
Challenge: <value>
Response: <value>
ExpectedResponse: <value>
[Module:] <value>
[SessionTV:] <value>
  • EventTV : The time the event was detected.
  • Serverity : A relative serverity of the security event.
Informational
Error
  • Service : The Asterisk service that raised the security event.
  • EventVersion : The version of this event.
  • AccountID : The Service account associated with the security event notification.
  • SeesionID : A unique identifier for the session in the service that raised the event.
  • LocalAddress : The address of the Asterisk service that raised the security event.
  • RemoteAddress : The remote address of the entity that caused the security event to be raised.
  • Challenge : The challenge that was sent.
  • Response : The response that was received.
  • ExpectedResponse : The expected response to the challenge.
  • Module : If available, the name of the module that raised the event.
  • SessionTV : The timestamp reported by the session.

See also

ChallengeSent

인증과 관련된 시도가 있음을 나타낸다.

Raised when an Asterisk service sends an authentication challenge to a request.

Class : SECURITY

Event: ChallengeSent
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
Challenge: <value>
[Module:] <value>
[SessionTV:] <value>
  • EventTV : The time the event was detected.
  • Severity : A relative severity of the security event.
Informational
Error
  • Service : The Asterisk service that raised the security event.
  • EventVersion : The version of this event.
  • AccountID : The Service account associated with the security event notification.
  • SessionID : A unique identifier for the session in the service that raised the event.
  • LocalAddress : The address of the Asterisk service that raised the security event.
  • RemoteAddress : The remote address of the entity that caused the security event to be raised.
  • Challenge : The challenge that was sent.
  • Module : If available, the name of the module that raised the event.
  • SessionTV : The timestamp reported by the session.

Example

Event: ChallengeSent
Privilege: security,all
EventTV: 2016-12-09T09:40:45.561+0000
Severity: Informational
Service: SIP
EventVersion: 1
AccountID: agent-01
SessionID: 0x12cc840
LocalAddress: IPV4/UDP/10.12.118.11/5060
RemoteAddress: IPV4/UDP/10.1.27.60/5060
Challenge: 72ff3581

See also

ContactStatus

Raised when the state of a contact changes.

Class: SYSTEM

Event: ContactStatus
URI: <value>
ContactStatus: <value>
AOR: <value>
EndpointName: <value>
RoundtripUsec: <value>
UserAgent: <value>
RegExpire: <value>
ViaAddress: <value>
CallID: <value>
  • URI: This contact's URI.
  • ContactStatus - New status of the contact.
Unknown
Unreachable
Reachable
Created
Removed
Updated
  • AOR: The name of the associated aor.
  • EndpointName: The name of the associated endpoint.
  • RoundtripUse: The RTT measured during the last qualify.
  • UserAgent: Content of the User-Agent header in REGISTER request.
  • RegExpire: Absolute time that this contact is no longer valid after.
  • ViaAddress: IP address:port of the last Via header in REGISTER request.
  • CallID: Content of the Call-ID header in REGISTER request.

Example

Event: ContactStatus
Privilege: system,all
URI: sip:199@172.17.42.1:32942;transport=ws;rtcweb-breaker=no
ContactStatus: Unknown
AOR: 199
EndpointName: 199
RoundtripUsec: 0

See also

ContactStatusDetail

Provide details about a contact's status.

Class: COMMAND

Event: ContactStatusDetail
AOR: <value>
URI: <value>
Status: <value>
RoundtripUsec: <value>
EndpointName: <value>
UserAgent: <value>
RegExpire: <value>
ViaAddress: <value>
CallID: <value>
ID: <value>
AuthenticateQualify: <value>
OutboundProxy: <value>
Path: <value>
QualifyFrequency: <value>
QualifyTimeout: <value>
  • AOR: The AoR that owns this contact.
  • URI: This contact's URI.
  • Status: This contact's status.
Reachable
Unreachable
  • RoundtripUsec: The round trip time in microseconds.
  • EndpointName: The name of the endpoint associated with this information.
  • UserAgent: Content of the User-Agent header in REGISTER request.
  • RegExpire: Absolute time that this contact is no longer valid after.
  • ViaAddress: IP address:port of the last Via header in REGISTER request. Will only appear in the event if available.
  • CallID: Content of the Call-ID header in REGISTER request. Will only appear in the event if available.
  • ID: The sorcery ID of the contact.
  • AuthenticationQualify: A boolean indicating whether a qualify should be authenticated.
  • OutboundProxy: The contact's outbound proxy.
  • Path: The Path header received on the REGISTER.
  • QualifyFrequency: The interval in seconds at which the contact will be qualified.
  • QualifyTimeout: The elapsed time in decimal seconds after which an OPTIONS message is sent before the contact is considered unavailable.

Example

Event: ContactStatusDetail
AOR: 199
URI: sip:199@172.17.42.1:36115;transport=ws;rtcweb-breaker=no
UserAgent: IM-client/OMA1.0 sipML5-v1.2016.03.04
RegExpire: 1512048398
ViaAddress: df7jal23ls0d.invalid
CallID: 0ac22a50-8170-19d0-85fd-5e61c133bd00
Status: Unknown
RoundtripUsec: N/A
EndpointName: 199
ID: 199;@29493f07102d24dcb5054982b064d9ee
AuthenticateQualify: 0
OutboundProxy: 
Path: 
QualifyFrequency: 0
QualifyTimeout: 3.000

See also

CoreShowChannel

Raised in response to a CoreShowChannels command.

Class : CALL

Event: CoreShowChannel
ActionID: <value>
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
BridgeId: <value>
Application: <value>
ApplicationData: <value>
Duration: <value>
  • BridgeId: Identifier of the bridge the channel is in, may be empty if not in one.
  • Application: Application currently executing on the channel.
  • ApplicationData: Data given to the currently executing application.
  • Duration: The amount of time the channel has existed.

Example

Event: CoreShowChannel
Channel: PJSIP/agent-01-0000000a
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: agent-01@pluto.pchero21.com
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample_musiconhold
Exten: s
Priority: 3
Uniqueid: 1513280582.21
Linkedid: 1513280582.21
Application: MusicOnHold
ApplicationData: 
Duration: 00:00:32
BridgeId: 

See also

DBGetResponse

DBGet response message.

Event: DBGetResponse
Family: <value>
Key: <value>
Val: <value>
  • Family : Requested DBGet family.
  • Key : Requested DBGet key.
  • Val : Stored value.

Example

Event: DBGetResponse
Family: SIP/Registry
Key: agent-01
Val: 10.1.27.60:49456:600:24816095:sip:47631908@10.1.27.60:49456
ActionID: 956f798b-e55e-46f7-927c-03b19086112b

DeviceStateChange

Device의 state 가 변경되었음을 나타낸다.

ExtensionStatus 이벤트는 dialplan hints 와 연관된 내용에만 발생하는 것에 반해, DeviceStateChange 이벤트는 모든 device state 의 변경에 발생한다는 것이 다르다.

Event: DeviceStateChange
Device: <value>
State: <value>
  • Device : state 가 변경된 device
  • State : 변경된 state

Example

Event: DeviceStateChange
Privilege: call,all
Device: SIP/trunk_test_1
State: RINGING

See also

DialBegin

Raised when a dial action has started.

Class : CALL

Event: DialBegin
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
DestChannel: <value>
DestChannelState: <value>
DestChannelStateDesc: <value>
DestCallerIDNum: <value>
DestCallerIDName: <value>
DestConnectedLineNum: <value>
DestConnectedLineName: <value>
DestAccountCode: <value>
DestContext: <value>
DestExten: <value>
DestPriority: <value>
DestUniqueid: <value>
DestLinkedid: <value>
DialString: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • DestChannel
  • DestChannelState
  • DestChannelStateDesc
  • DestAccountCode
  • DestContext
  • DestExten
  • DestUniqueid
  • DestLinkedid
  • DialString : The non-technology specific device being dialed.

Example

Event: DialBegin
Privilege: call,all
Channel: SIP/agent-01-0000002d
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: agent-01
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: queue_sales
Exten: s
Priority: 2
Uniqueid: 1481281260.83
Linkedid: 1481281260.83
DestChannel: SIP/agent-03-0000002e
DestChannelState: 0
DestChannelStateDesc: Down
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: <unknown>
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode: 
DestContext: public
DestExten: 
DestPriority: 1
DestUniqueid: 1481281261.84
DestLinkedid: 1481281260.83
DialString: sip/agent-03

See also

DialEnd

Dial 이 종료되었음을 알려준다.

Class : CALL

Event: DialEnd
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
DestChannel: <value>
DestChannelState: <value>
DestChannelStateDesc: <value>
DestCallerIDNum: <value>
DestCallerIDName: <value>
DestConnectedLineNum: <value>
DestConnectedLineName: <value>
DestAccountCode: <value>
DestContext: <value>
DestExten: <value>
DestPriority: <value>
DestUniqueid: <value>
DestLinkedid: <value>
DialStatus: <value>
[Forward:] <value>
  • Channel : Channel name.
  • ChannelState : Channel's state.
  • ChannelStateDesc : Channel's state description.
  • CallerIDNum :
  • CallerIDName :
  • ConnectedLineNum :
  • ConnectedLineName :
  • AccountCode :
  • Context :
  • Exten :
  • Priority :
  • Uniqueid :
  • Linkedid : Uniqueid of the oldest channel associated with this channel.
  • DestChannel : Destination channel name.
  • DestChannelState : Destination channel's state.
  • DestChannelStateDesc : Destination channel's state description.
  • DestCallerIDNum :
  • DestCallerIDName :
  • DestAccountCode :
  • DestExten :
  • DestPriority :
  • DestUniqueid :
  • DestLinkedid :
  • DialStatus : The result of the dial operation.
ABORT : The call was aborted.
ANSWER : The caller answered.
BUSY : The caller was busy.
CANCEL : The caller cancelled the call.
CHANUNAVAIL : The requested channel is unavailable.
CONGESTION : The called party is congested.
CONTINUE : The dial completed, but the caller elected to continue in the dialplan.
GOTO : The dial completed, but the caller jumped to a dialplan location. If konwn, the lcoation the caller is umping to will be appended to the result following a ":".
NOANSWER : The called party failed to answer.
  • Forward : If the call was forwarded, where the call was forward to.

Example

Event: DialEnd
Privilege: call,all
Channel: SIP/300-00000008
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: 300
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: queue_sales
Exten: s
Priority: 2
Uniqueid: 1480668413.15
Linkedid: 1480668413.15
DestChannel: SIP/agent-03-00000009
DestChannelState: 6
DestChannelStateDesc: Up
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: 300
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode: 
DestContext: public
DestExten: s
DestPriority: 1
DestUniqueid: 1480668414.16
DestLinkedid: 1480668413.15
DialStatus: ANSWER
Event: DialEnd
Privilege: call,all
Channel: SIP/300-0000001b
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: 300
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: queue_sales
Exten: s
Priority: 2
Uniqueid: 1480670638.49
Linkedid: 1480670638.49
DestChannel: SIP/agent-02-0000001d
DestChannelState: 5
DestChannelStateDesc: Ringing
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: 300
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode: 
DestContext: public
DestExten: s
DestPriority: 1
DestUniqueid: 1480670639.51
DestLinkedid: 1480670638.49
DialStatus: NOANSWER

See also

DialState

Example

Event: DialState
Privilege: call,all
Channel: SIP/agent-01-0000002d
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: agent-01
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: queue_sales
Exten: s
Priority: 2
Uniqueid: 1481281260.83
Linkedid: 1481281260.83
DestChannel: SIP/agent-03-0000002e
DestChannelState: 5
DestChannelStateDesc: Ringing
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: agent-01
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode: 
DestContext: public
DestExten: s
DestPriority: 1
DestUniqueid: 1481281261.84
DestLinkedid: 1481281260.83
DialStatus: RINGING

DTMFBegin

Example


EndpointDetail

Provide details about an endpoint section.

Class: COMMAND

Event: EndpointDetail
ObjectType: <value>
ObjectName: <value>
Context: <value>
Disallow: <value>
Allow: <value>
DtmfMode: <value>
RtpIpv6: <value>
RtpSymmetric: <value>
IceSupport: <value>
UsePtime: <value>
ForceRport: <value>
RewriteContact: <value>
Transport: <value>
OutboundProxy: <value>
MohSuggest: <value>
100rel: <value>
Timers: <value>
TimersMinSe: <value>
TimersSessExpires: <value>
Auth: <value>
OutboundAuth: <value>
Aors: <value>
MediaAddress: <value>
IdentifyBy: <value>
DirectMedia: <value>
DirectMediaMethod: <value>
ConnectedLineMethod: <value>
DirectMediaGlareMitigation: <value>
DisableDirectMediaOnNat: <value>
Callerid: <value>
CalleridPrivacy: <value>
CalleridTag: <value>
TrustIdInbound: <value>
TrustIdOutbound: <value>
SendPai: <value>
SendRpid: <value>
SendDiversion: <value>
Mailboxes: <value>
AggregateMwi: <value>
MediaEncryption: <value>
MediaEncryptionOptimistic: <value>
UseAvpf: <value>
ForceAvp: <value>
MediaUseReceivedTransport: <value>
OneTouchRecording: <value>
InbandProgress: <value>
CallGroup: <value>
PickupGroup: <value>
NamedCallGroup: <value>
NamedPickupGroup: <value>
DeviceStateBusyAt: <value>
T38Udptl: <value>
T38UdptlEc: <value>
T38UdptlMaxdatagram: <value>
FaxDetect: <value>
T38UdptlNat: <value>
T38UdptlIpv6: <value>
ToneZone: <value>
Language: <value>
RecordOnFeature: <value>
RecordOffFeature: <value>
AllowTransfer: <value>
UserEqPhone: <value>
MohPassthrough: <value>
SdpOwner: <value>
SdpSession: <value>
TosAudio: <value>
TosVideo: <value>
CosAudio: <value>
CosVideo: <value>
AllowSubscribe: <value>
SubMinExpiry: <value>
FromUser: <value>
FromDomain: <value>
MwiFromUser: <value>
RtpEngine: <value>
DtlsVerify: <value>
DtlsRekey: <value>
DtlsCertFile: <value>
DtlsPrivateKey: <value>
DtlsCipher: <value>
DtlsCaFile: <value>
DtlsCaPath: <value>
DtlsSetup: <value>
SrtpTag32: <value>
RedirectMethod: <value>
SetVar: <value>
MessageContext: <value>
Accountcode: <value>
PreferredCodecOnly: <value>
DeviceState: <value>
ActiveChannels: <value>
SubscribeContext: <value>
Allowoverlap: <value>
  • ObjectType: The object's type. This will always be 'endpoint'.
  • ObjectName: The name of this object.
  • Context: Dialplan context for inbound sessions.
  • Disallow: Media Codec(s) to disallow.
  • Allow: Media Codec(s) to allow.
  • DtmfMode: DTMF mode.
  • RtpIpv6: Allow use of IPv6 for RTP traffic.
  • RtpSymmetric: Enforce that RTP must be symmetric.
  • IceSupport: Enable the ICE mechanism to help traverse NAT.
  • UsePtime: Use Endpoint's requested packetisation interval.
  • ForceRport: Force use of return port.
  • RewriteContact: Allow Contact header to be rewritten with the source Ip address-port.
  • Transport: Desired transport configuration.
  • OutboundProxy: Full SIP URI of the outbound proxy used to send requests.
  • MohSuggest: Default Music On Hold class.
  • 100rel: Allow support for RFC 3262 provisional ACK tags.
  • Timers: Session timers for SIP packets.
  • TimersMinSe: Minimum session timers expiration period.
  • TimersSessExpires: Maximum session timer expiration period.
  • Auth: Authentication Object(s) associated with the endpoint.
  • OutboundAuth: Authentication object(s) used for outbound requests.
  • Aors: AoR(s) to be used with the endpoint.
  • MediaAddress: IP address used in SDP for media handling.
  • IdentifyBy: Way(s) for Endpoint to be identified.
  • DirectMedia: Determines whether media may flow directly between endpoints.
  • DirectMediaMethod: Direct Media method type.
  • ConnectedLineMethod: Connected line method type.
  • DirectMediaGlareMitigation: Mitigation of direct media (re)INVITE glare.
  • DisableDirectMediaOnNat: Disable direct media session refreshes when NAT obstructs the media session.
  • callerid: CallerID information for the endpoint.
  • CalleridPrivacy: Default privacy level.
  • CalleridTag: Internal id_tag for the endpoint.
  • TrustInbound: Accept identification information received from this endpoint.
  • TrustOutbound: Send private identification details to the endpoint.
  • SendPai: Send the P-Asserted-Identity header.
  • SendRpid: Send the Remote-Party-ID header.
  • SendDiversion: Send the Diversion header, conveying the diversion information to the called user agent.
  • Mailboxes: NOTIFY the endpoint when state changes for any of the specified mailboxes.
  • AggregateMwi: Condense MWI notifications into a single NOTIFY.
  • MediaEncryption: Determines whether re_pjsip will use and enforce usage of media encryption for this endpoint.
  • MediaEncryptionOptimistic: Determines whether encryption should be used if possible but does not terminate the session if not achieved.
  • UseAvpf: Determines whether res_pjsip will use and enforce usage of AVPF for this endpoint.
  • ForceAvp: Determines whether res_pjsip will use and enforce usage of AVP, regardless of the RTP profile in use for this endpoint.
  • MediaUseReceivedTransport: Determines whether res_pjsip will use the media transport received in the offer SDP in the corresponding answer SDP.
  • OneTouchRecording: Determines whether one-touch recording is allowed for this endpoint.
  • InbandProgress: Determines whether chan_pjsip will indicate ringing using inband progress.
  • CallGroup: The numeric pickup groups for a channel.
  • PickupGroup: The numeric pickup groups that a channel can pickup
  • NamedCallGroup: The named pickup groups for a channel.
  • NamedPickupGroup: The named pickup groups that a channel can pickup.
  • DeviceStateButyAt: The number of in-use channels which will cause busy to be returned as device state.
  • T38Udptl: Whether T.38 UDPTL supports is enabled or not.
  • TUdptlEc: T.38 UDPTL error correction method.
  • T38UdptlMaxdatagram: T.38 UDPTL maximum datagram size.

Example

Event: EndpointDetail
ObjectType: endpoint
ObjectName: 199
RpidImmediate: false
Webrtc: no
DeviceStateBusyAt: 0
T38UdptlMaxdatagram: 0
DtlsRekey: 0
NamedPickupGroup: 
DirectMediaMethod: invite
SendRpid: false
PickupGroup: 
SdpSession: Asterisk
DtlsVerify: Yes
MessageContext: 
Mailboxes: 
RecordOnFeature: automixmon
DtlsPrivateKey: 
DtlsFingerprint: SHA-256
FromDomain: 
TimersSessExpires: 1800
NamedCallGroup: 
DtlsCipher: 
MediaEncryptionOptimistic: false
Aors: 199
IdentifyBy: username
CalleridPrivacy: allowed_not_screened
MwiSubscribeReplacesUnsolicited: false
CosAudio: 0
Context: default
RtpSymmetric: false
Transport: 
MohSuggest: default
T38Udptl: false
FaxDetect: false
TosVideo: 0
SrtpTag32: false
ReferBlindProgress: true
MaxAudioStreams: 1
Bundle: false
UseAvpf: true
CallGroup: 
FaxDetectTimeout: 0
SdpOwner: -
ForceRport: true
CalleridTag: 
RtpTimeoutHold: 0
UsePtime: false
MediaAddress: 
VoicemailExtension: 
RtpTimeout: 0
SetVar: 
ContactAcl: 
PreferredCodecOnly: false
ForceAvp: false
RecordOffFeature: automixmon
FromUser: 
SendDiversion: true
T38UdptlIpv6: false
ToneZone: 
Language: 
AllowSubscribe: true
RtpIpv6: false
Callerid: <unknown>
MohPassthrough: false
CosVideo: 0
AsymmetricRtpCodec: false
IceSupport: true
AggregateMwi: true
OneTouchRecording: false
MwiFromUser: 
Accountcode: 
Allow: (opus|ulaw)
RewriteContact: false
UserEqPhone: false
RtpEngine: asterisk
SubscribeContext: 
NotifyEarlyInuseRinging: false
IncomingMwiMailbox: 
Auth: 199
DirectMediaGlareMitigation: none
TrustIdInbound: false
BindRtpToMediaAddress: false
DisableDirectMediaOnNat: false
MediaEncryption: dtls
MediaUseReceivedTransport: true
AllowOverlap: true
DtmfMode: rfc4733
OutboundAuth: 
TosAudio: 0
DtlsCertFile: /etc/asterisk/keys/asterisk.pem
DtlsCaPath: 
DtlsSetup: actpass
ConnectedLineMethod: invite
G726NonStandard: false
100rel: yes
Timers: yes
DirectMedia: true
Acl: 
TimersMinSe: 90
TrustIdOutbound: false
SubMinExpiry: 0
RtcpMux: true
MaxVideoStreams: 1
SendPai: false
RtpKeepalive: 0
T38UdptlEc: none
T38UdptlNat: false
AllowTransfer: true
DtlsCaFile: /etc/asterisk/keys/ca.crt
OutboundProxy: 
InbandProgress: false
DeviceState: Not in use
ActiveChannels: 

See also

EndpointList

Provide details about a contact's status.

Class : COMMAND

Event: EndpointList
ObjectType: <value>
ObjectName: <value>
Transport: <value>
Aor: <value>
Auths: <value>
OutboundAuths: <value>
DeviceState: <value>
ActiveChannels: <value>
  • ObjectType: The Object's type. This will always be 'endpoint'.
  • ObjectName: The name of this object.
  • Transport: The transport configurations associated with this endpoint.
  • Aor: The aor configurations associated with this endpoint.
  • Auths: The inbound authentication configurations associated with this endpoint.
  • OutboundAuths: The outbound authentication configurations associated with this endpoint.
  • DeviceState: The aggregate device state for this endpoint.
  • ActiveChannels: The number of active channels associated with this endpoint.

Example

Event: EndpointList
ObjectType: endpoint
ObjectName: 199
Transport: 
Aor: 199
Auths: 199
OutboundAuths: 
Contacts: 199/sip:199@172.17.42.1:32942;transport=ws;rtcweb-breaker=no,
DeviceState: Not in use
ActiveChannels: 

See also

EndpointDetailComplete

Provide final information about endpoint details.

Class: COMMAND

Event: EndpointDetailComplete
EventList: <value>
ListItems: <value>
  • EventList
  • ListItems

Example

Event: EndpointDetailComplete
EventList: Complete
ListItems: 4

See also

ExtensionStatus

Raised when a hint changes due to a device state change.

Class : CALL

Event: ExtensionStatus
Exten: <value>
Context: <value>
Hint: <value>
Status: <value>
StatusText: <value>
  • Extension : Name of the extension.
  • Context : Context that owns the extension.
  • Hint : Hint set for the extension.
  • Status : Numerical value of the extension status. Extension status is determined by the combined device state of all items contained in the hint.
-2 : The extension was removed from the dialplan.
-1 : The extension's hint was removed from the dialplan.
0 : Idle. Related device(s) are in an idle state.
1 : InUse. Related device(s) are in active calls but may take any more calls.
2 : Busy. Related device(s) are in active calls and may not take any more calls.
4 : Unavailable. Related device(s) are not reachable.
8 : Ringing. Related device(s) are currently ringing.
9 : InUse&Ringing. Related device(s) are currently ringing and in activce calls.
16 : Hold. Related device(s) are currently on hold.
17 : InUse&Hold. Related device(s) are currently on hold and in active calls.
  • StatusText : Text representation of Status.
Idle
InUse
Busy
Unavailable
Ringing
InUse&Ringing
Hold
InUse&Hold
Unknown : Status does not match any of the above values.

See also

FullyBooted

Raised when all Asterisk initialization procedures have finished.

Class : SYSTEM

Event: FullyBooted
Status: <value>
Uptime: <value>
LastReload: <value>
  • Status : Informational message
  • Uptime : Seconds since start
  • LastReload : Seconds since last reload

Example

Event: FullyBooted
Privilege: system,all
Uptime: 908581
LastReload: 908581
Status: Fully Booted

See also

Hangup

채널이 종료되었음을 알려준다.

Event: Hangup
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Cause: <value>
Cause-txt: <value>
  • Channel
  • ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
  • ChannelStateDesc : Channel state description 참조.
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid - Uniqueid of the oldest channel associated with this channel.
  • Cause - A numeric cause code for why the channel was hung up. See detail #Hangup cause above.
  • Cause-txt - A description of why the channel was hung up.

Example

Event: Hangup
Privilege: call,all
Channel: SIP/agent-01-00000003
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample_musiconhold
Exten: s
Priority: 3
Uniqueid: 1480425486.6
Linkedid: 1480425486.6
Cause: 0
Cause-txt: Unknown

See also

HangupHandlerPop

Raised when a hangup handler is removed from the handler stack by the CHANNEL() function.

Event: HangupHandlerPop
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Handler: <value>
  • Channel
  • ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
  • ChannelStateDesc : Channel state description 참조.
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid : Uniqueid of the oldest channel associated with this channel.
  • Handler : Hangup handler parameter string passed to the Gosub application.

See also

HangupHandlerPush

Raised when a hangup handler is added to the handler stack by the CHANNEL() function.

Class : DIALPLAN

Event: HangupHandlerPush
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Handler: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • Handler : Hangup handler parameter string passed to the Gosub application.

See also

HangupHandlerRun

Raised when a hangup handler is about to be called.

Class : DIALPLAN

Event: HangupHandlerRun
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Handler: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • Handler

See also

HangupRequest

Hangup request 가 왔음을 알려준다.

Raised when a hangup is requested.

Class : CALL

Event: HangupRequest
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Cause: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • Cause : A numeirc cause code for why the channel was hung up. See detail Asterisk_status_code#Hangup_code.

Example

Event: HangupRequest
Privilege: call,all
Channel: SIP/agent-01-0000002b
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample_musiconhold
Exten: s
Priority: 3
Uniqueid: 1481278514.79
Linkedid: 1481278514.79

See also

Hold

채널이 Hold 상태가 되었음을 알려준다. (ex. Device 에서 Hold 기능을 사용했을 경우)

Raised when a channel goes on hold.

Class : CALL

Event: Hold
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
MusicClass: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • MusicClass : The suggested MusicClass, if provided.

Example

Event: Hold
Privilege: call,all
Channel: SIP/agent-01-0000000c
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: agent-01@earth.pchero21.com
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample_park
Exten: s
Priority: 2
Uniqueid: 1487768728.23
Linkedid: 1487768728.23

See also

InboundRegistrationDetail

Example

Event: InboundRegistrationDetail
ObjectType: aor
ObjectName: agent-01
MinimumExpiration: 60
DefaultExpiration: 3600
QualifyTimeout: 3.000000
Mailboxes: 
SupportPath: false
VoicemailExtension: 
MaxContacts: 1
AuthenticateQualify: false
Contact: agent-01/sip:65387014@10.1.27.127:60668
MaximumExpiration: 7200
QualifyFrequency: 0
RemoveExisting: true
OutboundProxy: 
Contacts: agent-01/sip:65387014@10.1.27.127:60668,

IdentifyDetail

Provide details about an identify section.

Class : COMMAND

Event: IdentifyDetail
ObjectType: <value>
ObjectName: <value>
Endpoint: <value>
Match: <value>
EndpointName: <value>
  • ObjectType : The object's type. This will always be "identify".
  • ObjectName : The name of this object.
  • Endpoint : Nameof Endpoint.
  • Match : IP addresses or networks to match against.
  • EndpointName : The name of the endpoint associated with this information.

See also

InvalidAccountID

Raised when a request fails an authentication check due to an invalid account ID.

Class : SECURITY

Event: InvalidAccountID
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
[Module:] <value>
[SessionTV:] <value>
  • EventTV : The time the event was detected.
  • Severity : A relative severity of the security event.
Informational
Error
  • Service : The Asterisk service that raised the security event.
  • EventVersion : The version of this event.
  • AccountID : The Service account associated with the security event notification.
  • SessionID : A unique identifier for the session in the service that raised the event.
  • LocalAddress : The address of the Asterisk service that raised the security event.
  • RemoteAddress : The remote address of the entity that caused the security event to be raised.
  • Module : If available, the name of the module that raised the event.
  • SessionTV : The timestamp reported by the session.

Example

Event: InvalidAccountID
Privilege: security,all
EventTV: 2017-03-22T14:35:31.838+0000
Severity: Error
Service: AMI
EventVersion: 1
AccountID: test
SessionID: 0x7f49878ee3b0
LocalAddress: IPV4/TCP/0.0.0.0/5038
RemoteAddress: IPV4/TCP/127.0.0.1/49117
SessionTV: 1970-01-01T00:00:00.000+0000

See also

InvalidPassword

Raised when a request provides an invalid password during an invalid password during an authentication attempt.

Class : SECURITY

Event: InvalidPassword
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
[Module:] <value>
[SessionTV:] <value>
[Challenge:] <value>
[ReceivedChallenge:] <value>
[RecievedHash:] <value>
  • EventTV : The time the event was detected.
  • Severity : A relative severity of the security event.
Informational
Error
  • Service : The asterisk service that raised the security event.
  • EventVersion : The version of this event.
  • AccountID : The Service account associated with the security event notification.
  • SessionID : A unique identifier for the session in the service that raised the event.
  • LocalAddress : The address of the Asterisk service that raised the security event.
  • RemoteAddress : The remote address of the entity that caused the security event to be raised.
  • Module : If available, the name of the module that raised the event.
  • SessionTV : The timestamp reported by the session.
  • Challenge : The challenge that was sent.
  • ReceivedChallenge : The challenge that was received.
  • RecievedHash : The hash that was received.

Example

Event: InvalidPassword
Privilege: security,all
EventTV: 2017-03-22T13:15:50.525+0000
Severity: Error
Service: SIP
EventVersion: 2
AccountID: 999999
SessionID: 0x7f49b4cc6bd8
LocalAddress: IPV4/UDP/127.0.0.1/5060
RemoteAddress: IPV4/UDP/209.126.120.180/5183
Challenge: 1538bbe1
ReceivedChallenge: 1538bbe1
ReceivedHash: c022076148e01693420c417d2edcbc53

See also

InvalidTransport

Raised when a request attempts to use a transport not allowed by the Asterisk service.

Class : SECURITY

Event: InvalidTransport
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
AttemptedTransport: <value>
[Module:] <value>
[SessionTV:] <value>
  • EventTV : The time the event was detected.
  • Severity : A relative severity of the security event.
Informational
Error
  • Service : The Asterisk service that raised the security event.
  • EventVersion : The version of this event.
  • AccountID : The service account associated with the security event notification.
  • SessionID : A unique identifier for the session in the service that raised the event.
  • LocalAddress : The address of the Asterisk service that raised the security event.
  • RemoteAddress : The remote address of the entity that caused the security event to be raised.
  • AttemptedTransfer : The transport type that the request attempted to use.
  • Module : If available, the name of the module that raised the event.
  • SessionTV : The timestamp reported by the session.

See also

LoadAverageLimit

Raised when a request fails because a configured load average limit has been reached.

Class : SECURITY

Event: LoadAverageLimit
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
[Module:] <value>
[SessionTV:] <value>
  • EventTV : The time the event was detected.
  • Severity : A relative severity of the security event.
Informational
Error
  • Service : The Asterisk that raised the security event.
  • EventVersion : The version of this event.
  • AccountID : The service account associated with the security event notification.
  • SessionID : A unique identifier for the session in the service that raised the event.
  • LocalAddress : The address of the Asterisk service that raised the security event.
  • RemoteAddress : The remote address of the entity that caused the security event to be raised.
  • Module : If available, the name of the module that raised the event.
  • SessionTV : The timestamp reported by the session.

See also

LocalBridge

Raised when two halves of a Local Channel form a bridge.

Class : CALL

Event: LocalBridge
LocalOneChannel: <value>
LocalOneChannelState: <value>
LocalOneChannelStateDesc: <value>
LocalOneCallerIDNum: <value>
LocalOneCallerIDName: <value>
LocalOneConnectedLineNum: <value>
LocalOneConnectedLineName: <value>
LocalOneAccountCode: <value>
LocalOneContext: <value>
LocalOneExten: <value>
LocalOnePriority: <value>
LocalOneUniqueid: <value>
LocalOneLinkedid: <value>
LocalTwoChannel: <value>
LocalTwoChannelState: <value>
LocalTwoChannelStateDesc: <value>
LocalTwoCallerIDNum: <value>
LocalTwoCallerIDName: <value>
LocalTwoConnectedLineNum: <value>
LocalTwoConnectedLineName: <value>
LocalTwoAccountCode: <value>
LocalTwoContext: <value>
LocalTwoExten: <value>
LocalTwoPriority: <value>
LocalTwoUniqueid: <value>
LocalTwoLinkedid: <value>
Context: <value>
Exten: <value>
LocalOptimization: <value>
  • LocalOneChannel
  • LocalOneChannelState
  • LocalOneChannelStateDesc
  • LocalOneCallerIDNum
  • LocalOneCallerIDName
  • LocalOneAccountCode
  • LocalOneContext
  • LocalOneExten
  • LocalOnePriority
  • LocalOneUniqueid
  • LocalOneLinkedid
  • LocalTwoChannel
  • LocalTwoChannelState
  • LocalTwoChannelStateDesc
  • LocalTwoCallerIDNum
  • LocalTwoCallerIDName
  • LocalTwoConnectedLineNum
  • LocalTwoConnectedLineName
  • LocalTwoAccountCode
  • LocalTwoContext
  • LocalTwoExten
  • LocalTwoPriority
  • LocalTwoUniqueid
  • LocalTwoLinkedid
  • Context : The context in the dialplan that Channel2 starts in.
  • Exten : The extension in the dialplan that Channel2 starts in.
  • LocalOptimization
Yes
No

Example

Event: LocalBridge
Privilege: call,all
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
LocalOneChannelState: 0
LocalOneChannelStateDesc: Down
LocalOneCallerIDNum: <unknown>
LocalOneCallerIDName: <unknown>
LocalOneConnectedLineNum: <unknown>
LocalOneConnectedLineName: <unknown>
LocalOneLanguage: en
LocalOneAccountCode: 
LocalOneContext: common-incoming
LocalOneExten: test-04
LocalOnePriority: 1
LocalOneUniqueid: 1447438716.467
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
LocalTwoChannelState: 4
LocalTwoChannelStateDesc: Ring
LocalTwoCallerIDNum: <unknown>
LocalTwoCallerIDName: <unknown>
LocalTwoConnectedLineNum: <unknown>
LocalTwoConnectedLineName: <unknown>
LocalTwoLanguage: en
LocalTwoAccountCode: 
LocalTwoContext: common-incoming
LocalTwoExten: test-04
LocalTwoPriority: 1
LocalTwoUniqueid: 1447438716.468
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Context: common-incoming
Exten: test-04
LocalOptimization: Yes

See also

LocalOptimizationBegin

Raised when two halves of a Local Channel begin to optimize themselves out of the media path.

Class : CALL

Event: LocalOptimizationBegin
LocalOneChannel: <value>
LocalOneChannelState: <value>
LocalOneChannelStateDesc: <value>
LocalOneCallerIDNum: <value>
LocalOneCallerIDName: <value>
LocalOneConnectedLineNum: <value>
LocalOneConnectedLineName: <value>
LocalOneAccountCode: <value>
LocalOneContext: <value>
LocalOneExten: <value>
LocalOnePriority: <value>
LocalOneUniqueid: <value>
LocalOneLinkedid: <value>
LocalTwoChannel: <value>
LocalTwoChannelState: <value>
LocalTwoChannelStateDesc: <value>
LocalTwoCallerIDNum: <value>
LocalTwoCallerIDName: <value>
LocalTwoConnectedLineNum: <value>
LocalTwoConnectedLineName: <value>
LocalTwoAccountCode: <value>
LocalTwoContext: <value>
LocalTwoExten: <value>
LocalTwoPriority: <value>
LocalTwoUniqueid: <value>
LocalTwoLinkedid: <value>
SourceChannel: <value>
SourceChannelState: <value>
SourceChannelStateDesc: <value>
SourceCallerIDNum: <value>
SourceCallerIDName: <value>
SourceConnectedLineNum: <value>
SourceConnectedLineName: <value>
SourceAccountCode: <value>
SourceContext: <value>
SourceExten: <value>
SourcePriority: <value>
SourceUniqueid: <value>
SourceLinkedid: <value>
DestUniqueId: <value>
Id: <value>
  • SourceLinkedid : Uniqeid of the oldest channel associated with this channel.
  • DestUniqueid : The unique ID of the bridge into which the local channel is optimizing.
  • Id : Identification for the optimization operation.

Example

Event: LocalOptimizationBegin
Privilege: call,all
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
LocalOneChannelState: 6
LocalOneChannelStateDesc: Up
LocalOneCallerIDNum: <unknown>
LocalOneCallerIDName: <unknown>
LocalOneConnectedLineNum: <unknown>
LocalOneConnectedLineName: <unknown>
LocalOneLanguage: en
LocalOneAccountCode: 
LocalOneContext: common-incoming
LocalOneExten: 
LocalOnePriority: 1
LocalOneUniqueid: 1447438716.467
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
LocalTwoChannelState: 6
LocalTwoChannelStateDesc: Up
LocalTwoCallerIDNum: <unknown>
LocalTwoCallerIDName: <unknown>
LocalTwoConnectedLineNum: <unknown>
LocalTwoConnectedLineName: <unknown>
LocalTwoLanguage: en
LocalTwoAccountCode: 
LocalTwoContext: common-incoming
LocalTwoExten: test-04
LocalTwoPriority: 1
LocalTwoUniqueid: 1447438716.468
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
SourceChannel: SIP/test-04-0000019b
SourceChannelState: 6
SourceChannelStateDesc: Up
SourceCallerIDNum: test-04
SourceCallerIDName: <unknown>
SourceConnectedLineNum: <unknown>
SourceConnectedLineName: <unknown>
SourceLanguage: en
SourceAccountCode: 
SourceContext: common-incoming
SourceExten: 
SourcePriority: 1
SourceUniqueid: 1447438716.469
SourceLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestUniqueId: 1447438716.468
Id: 5

See also

LocalOptimizationEnd

Raised when two halves of a Local Channel have finished optimizing themselves out of the media path.

Class : CALL

Event: LocalOptimizationEnd
LocalOneChannel: <value>
LocalOneChannelState: <value>
LocalOneChannelStateDesc: <value>
LocalOneCallerIDNum: <value>
LocalOneCallerIDName: <value>
LocalOneConnectedLineNum: <value>
LocalOneConnectedLineName: <value>
LocalOneAccountCode: <value>
LocalOneContext: <value>
LocalOneExten: <value>
LocalOnePriority: <value>
LocalOneUniqueid: <value>
LocalOneLinkedid: <value>
LocalTwoChannel: <value>
LocalTwoChannelState: <value>
LocalTwoChannelStateDesc: <value>
LocalTwoCallerIDNum: <value>
LocalTwoCallerIDName: <value>
LocalTwoConnectedLineNum: <value>
LocalTwoConnectedLineName: <value>
LocalTwoAccountCode: <value>
LocalTwoContext: <value>
LocalTwoExten: <value>
LocalTwoPriority: <value>
LocalTwoUniqueid: <value>
LocalTwoLinkedid: <value>
Success: <value>
Id: <value>
  • Success : Indicates whether the local optimization succeeded.
  • Id : Identification for the optimization operation. Matches the id from a previous LocalOptimizationBegin.

Example

Event: LocalOptimizationEnd
Privilege: call,all
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
LocalOneChannelState: 6
LocalOneChannelStateDesc: Up
LocalOneCallerIDNum: <unknown>
LocalOneCallerIDName: <unknown>
LocalOneConnectedLineNum: <unknown>
LocalOneConnectedLineName: <unknown>
LocalOneLanguage: en
LocalOneAccountCode: 
LocalOneContext: common-incoming
LocalOneExten: 
LocalOnePriority: 1
LocalOneUniqueid: 1447438716.467
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
LocalTwoChannelState: 6
LocalTwoChannelStateDesc: Up
LocalTwoCallerIDNum: <unknown>
LocalTwoCallerIDName: <unknown>
LocalTwoConnectedLineNum: <unknown>
LocalTwoConnectedLineName: <unknown>
LocalTwoLanguage: en
LocalTwoAccountCode: 
LocalTwoContext: common-incoming
LocalTwoExten: test-04
LocalTwoPriority: 1
LocalTwoUniqueid: 1447438716.468
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Success: No
Id: 5

See also

LogChannel

Raised when a logging channel is enabled/disabled.

Class : SYSTEM

Event: LogChannel
Channel: <value>
Enabled: <value>
Reason: <value>
  • Channel : The name of the logging channel.
  • Enabled
  • Reason

See also

MCID

Published when a malicious call ID request arrives.

Class : CALL

Event: MCID
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
MCallerIDNumValid: <value>
MCallerIDNum: <value>
MCallerIDton: <value>
MCallerIDNumPlan: <value>
MCallerIDNumPres: <value>
MCallerIDNameValid: <value>
MCallerIDName: <value>
MCallerIDNameCharSet: <value>
MCallerIDNamePres: <value>
MCallerIDSubaddr: <value>
MCallerIDSubaddrType: <value>
MCallerIDSubaddrOdd: <value>
MCallerIDPres: <value>
MConnectedIDNumValid: <value>
MConnectedIDNum: <value>
MConnectedIDton: <value>
MConnectedIDNumPlan: <value>
MConnectedIDNumPres: <value>
MConnectedIDNameValid: <value>
MConnectedIDName: <value>
MConnectedIDNameCharSet: <value>
MConnectedIDNamePres: <value>
MConnectedIDSubaddr: <value>
MConnectedIDSubaddrType: <value>
MConnectedIDSubaddrOdd: <value>
MConnectedIDPres: <value>

See also

MeetmeEnd

Raised when a MeetMe conference ends.

Class : CALL

Event: MeetmeEnd
Meetme: <value>
  • Meetme : The identifier for the MeetMe conference.

See also

MeetmeJoin

Raised when a user joins a MeetMe conference.

Class : CALL

Event: MeetmeJoin
Meetme: <value>
Usernum: <value>
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
  • Meetme : The identifier for the MeetME conference.
  • Usernum : The identifier of the MeetME user who joined.

See also

MeetmeLeave

Raised when a user leaves a MeetMe conference.

Class : CALL

Event: MeetmeLeave
Meetme: <value>
Usernum: <value>
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Duration: <value>
  • Meetme : The identifier for the MeetMe conference.
  • Usernum : The identifier of the MeetMe user who joined.
  • Duration : The length of time in seconds that the Meetme user was in the conference.

See also

MeetmeMute

Raised when a MeetMe user is muted or unmuted.

Class : CALL

Event: MeetmeMute
Meetme: <value>
Usernum: <value>
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Duration: <value>
Status: <value>
  • Meetme : The identifier for the MeetMe conference.
  • Usernum : The idenitifer of the MeetMe user who joined.
  • Duration : The length of time in seconds that the Meetme user has been in the conference at the time of this event.
  • Status
on
off

See also

MeetmeTalking

Raised when a MeeMe user begins or ends talking.

Class : CALL

Event: MeetmeTalking
Meetme: <value>
Usernum: <value>
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Duration: <value>
Status: <value>
  • Meetme : The identifier for the MeetMe conference.
  • Usernum : The identifier of the MeetMe user who joined.
  • Duration : The length of time in seconds that the Meetme user has been in the conference at the time of this event.
  • Status
on
off

See also

MeetmeTalkRequest

Raised when a MeetMe user has started talking.

Class : CALL

Event: MeetmeTalkRequest
Meetme: <value>
Usernum: <value>
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Duration: <value>
Status: <value>
  • Meetme : The identifier for the MeetMe conference.
  • Usernum : The idenitifer of the MeetMe user who joined.
  • Duration : The length of time in seconds that the Meetme user has been in the conference at the time of this event.
  • Status
on
off

See also

MemoryLimit

Raised when a request fails due to an internal memory allocation failure.

Class : SECURITY

Event: MemoryLimit
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
[Module:] <value>
[SessionTV:] <value>
  • EventTV : The time the event was detected.
  • Severity : A relative severity of the security event.
Informational
Error
  • Service : The Asterisk service that raised the security event.
  • EventVersion : The version of this event.
  • AccountID : The Service account associated with the security event notification.
  • SessionID : A Unique identifier for the session in the service that raised the event.
  • LocalAddress : The address of the Asterisk service that raised the security event.
  • RemoteAddress : The remote address of the entity that caused the security event to be raised.
  • Module : If available, the name of the module that raised the event.
  • SessionTV : The timestamp reported by the session.

See also

MessageWaiting

Raised when the state of messages in a voicemail mailbox has changed or when a channel has finished interacting with a mailbox.

Class : CALL

Event: MessageWaiting
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Mailbox: <value>
Waiting: <value>
New: <value>
Old: <value>

Example

Event: MessageWaiting
Privilege: call,all
Channel: SIP/agent-01-00000001
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: agent-01
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: public
Exten: 6001
Priority: 2
Uniqueid: 1512317522.2
Linkedid: 1512317522.2
Mailbox: 6001@vm-demo
Waiting: 1
New: 2
Old: 1

MonitorStart

Raised when monitoring has started on a channel.

Class : CALL

Event: MonitorStart
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid

Example

Event: MonitorStart
Privilege: call,all
Channel: SIP/300-00000000
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 300
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample_musiconhold
Exten: s
Priority: 3
Uniqueid: 1481880386.0
Linkedid: 1481880386.0

See also

MonitorStop

Raised when monitoring has stopped on a channel.

Class : CALL

Event: MonitorStop
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid

Example

Event: MonitorStop
Privilege: call,all
Channel: SIP/300-00000000
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 300
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample_musiconhold
Exten: s
Priority: 3
Uniqueid: 1481880386.0
Linkedid: 1481880386.0

See also

MusicOnHoldStart

채널에서 Music on hold 가 시작되었음을 알려준다.

Event: MusicOnHoldStart
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Class: <value>
  • Channel
  • ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
  • channelStateDesc : Channel state description 참조.
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid : Uniqueid of the oldest channel associated with this channel.
  • Class : The class of music being played on the channel.

Example

Event: MusicOnHoldStart
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: from_provider
Exten: 
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Class: default

See also

MusicOnHoldStop

Example

Event: MusicOnHoldStop
Privilege: call,all
Channel: SIP/agent-01-0000002b
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample_musiconhold
Exten: s
Priority: 3
Uniqueid: 1481278514.79
Linkedid: 1481278514.79

Newchannel

새로운 채널이 생성되었을 때 발생한다.

Raised when a new channel is created.

Class : CALL

Event: Newchannel
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>

Example

Event: Newchannel
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: from_provider
Exten: s
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid

See also

NewConnectedLine

Raised when a channel's connected line information is changed.

Class : CALL

Event: NewConnectedLine
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid

Example

Event: NewConnectedLine
Privilege: call,all
Channel: SIP/agent-03-0000002e
ChannelState: 5
ChannelStateDesc: Ringing
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: agent-01
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: public
Exten: s
Priority: 1
Uniqueid: 1481281261.84
Linkedid: 1481281260.83

See also

Newexten

채널이 새로운 context, extension, priority 로 진입했을 때 발생한다.

Event: NewExten
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Extension: <value>
Application: <value>
AppData: <value>
  • Channel
  • ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
  • ChannelStateDesc : Channel state description 참조.
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid : Uniqueid of the oldest channel associated with this channel.
  • Extension : Deprecated in 12, but kept for backward compatibility. Please use 'Exten' instead.
  • Application : The application about to be executed.
  • AppData : The data to be passed to the application.

Example

Event: Newexten
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: from_provider
Exten: 
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Extension: 
Application: AppDial2
AppData: (Outgoing Line)

See also

Newstate

Channel 의 state 의 변경되었음을 알려준다.

Event: Newstate
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
  • Channel
  • ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
  • ChannelStateDesc : Channel state description 참조.
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid : Uniqueid of the oldest channel associated with this channel.

Example

Event: Newstate
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: from_provider
Exten: 
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967

See also

OriginateResponse

Raised in response to an Originate command.

Class : CALL

Event: OriginateResponse
[ActionID:] <value>
Response: <value>
Channel: <value>
Context: <value>
Exten: <value>
Reason: <value>
Uniqueid: <value>
CallerIDNum: <value>
CallerIDName: <value>
  • ActionID
  • Response
Failure
Success
  • Channel
  • Context
  • Exten
  • Reason
자세한 내용은 Asterisk_status_code#Originate_response_reason 참조.
  • Uniqueid
  • CallerIDNum
  • CallerIDName

Example

Normal

"event": "OriginateResponse",
"privilege": "call,all",
"response": "Success",
"channel": "SIP/trunk_test_1-00000000",
"reason": "4",
"uniqueid": "dd420b95-c52d-467a-8f65-63efaa094eb6",
"calleridname": "<unknown>",
"context": "",
"exten": "",
"calleridnum": "<unknown>"

Failed

"event": "OriginateResponse",
"privilege": "call,all",
"response": "Failure",
"channel": "SIP/111-111-0004@trunk_test_1",
"reason": "5",
"uniqueid": "<null>",
"calleridname": "<unknown>",
"context": "",
"exten": "",
"calleridnum": "<unknown>"

See also

OutboundRegistrationDetail

Example

Normal

Event: OutboundRegistrationDetail
ObjectType: registration
ObjectName: test12345
MaxRetries: 10
ClientUri: sip:test12345.test.com
AuthRejectionPermanent: true
ServerUri: sip:sip.test.com
SupportPath: false
RetryInterval: 60
Expiration: 3600
Transport: 
Line: false
ContactUser: 
Endpoint: 
ForbiddenRetryInterval: 0
OutboundAuth: test12345
OutboundProxy: 
FatalRetryInterval: 0
Status: Rejected
NextReg: 0

OutboundRegistrationDetailComplete

Example

Normal

Event: OutboundRegistrationDetailComplete
EventList: Complete
ListItems: 1
Registered: 0
NotRegistered: 1

ParkedCall

Channel 이 parked 되었을 때 발생한다.

Raised when a channel is parked.

Class : CALL

Event: ParkedCall
ParkeeChannel: <value>
ParkeeChannelState: <value>
ParkeeChannelStateDesc: <value>
ParkeeCallerIDNum: <value>
ParkeeCallerIDName: <value>
ParkeeConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
ParkeeAccountCode: <value>
ParkeeContext: <value>
ParkeeExten: <value>
ParkeePriority: <value>
ParkeeUniqueid: <value>
ParkeeLinkedid: <value>
ParkerDialString: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
  • ParkeeChannel
  • ParkeeChannelState
  • ParkeeChannelStateDesc
  • ParkeeCallerIDNum
  • ParkeeCallerIDName
  • ParkeeConnectedLineNum
  • ParkeeConnectedLineName
  • ParkeeAccountCode
  • ParkeeContext
  • ParkeeExten
  • ParkeePriority
  • ParkeeUniqueid
  • ParkeeLinkedid : Unique of the oldest channel associated with this channel.
  • ParkerDialString : Dial string that can be used to call back the parker on ParkingTimeout.
  • Parkinglot : Name of the parking lot that the parkee is parked in.
  • ParkingSpace : Parking Space that the parkee is parked in.
  • ParkingTimeout : time remaining until the parkee is forcefully removed from parking in seconds.
  • ParkingDuration : Time the parkee has been in the parking bridge(in seconds).

Example

Event: ParkedCall
Privilege: call,all
ParkeeChannel: SIP/agent-01-00000009
ParkeeChannelState: 6
ParkeeChannelStateDesc: Up
ParkeeCallerIDNum: agent-01
ParkeeCallerIDName: <unknown>
ParkeeConnectedLineNum: <unknown>
ParkeeConnectedLineName: <unknown>
ParkeeLanguage: en
ParkeeAccountCode: 
ParkeeContext: sample_park
ParkeeExten: s
ParkeePriority: 2
ParkeeUniqueid: 1486373739.14
ParkeeLinkedid: 1486373739.14
ParkerDialString: SIP/agent-01
Parkinglot: default
ParkingSpace: 701
ParkingTimeout: 45
ParkingDuration: 0

See also

ParkedCallGiveUp

Parking lot 에서 대기중인 채널이 다른 곳으로 redirect/bridge/hangup 될 경우 발생한다.

Raised when a channel leaves a parking lot because it hung up without being answer.

Class : CALL

Event: ParkedCallGiveUp
ParkeeChannel: <value>
ParkeeChannelState: <value>
ParkeeChannelStateDesc: <value>
ParkeeCallerIDNum: <value>
ParkeeCallerIDName: <value>
ParkeeConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
ParkeeAccountCode: <value>
ParkeeContext: <value>
ParkeeExten: <value>
ParkeePriority: <value>
ParkeeUniqueid: <value>
ParkeeLinkedid: <value>
ParkerChannel: <value>
ParkerChannelState: <value>
ParkerChannelStateDesc: <value>
ParkerCallerIDNum: <value>
ParkerCallerIDName: <value>
ParkerConnectedLineNum: <value>
ParkerConnectedLineName: <value>
ParkerAccountCode: <value>
ParkerContext: <value>
ParkerExten: <value>
ParkerPriority: <value>
ParkerUniqueid: <value>
ParkerLinkedid: <value>
ParkerDialString: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
  • ParkeeChannel
  • ParkeeChannelState
  • ParkeeChannelStateDesc
  • ParkeeCallerIDNum
  • ParkeeCallerIDName
  • ParkeeConnectedLineNum
  • ParkeeConnectedLineName
  • ParkeeAccountCode
  • ParkeeContext
  • ParkeeExten
  • ParkeePriority
  • ParkeeUniqueid
  • ParkeeLinkedid
  • ParkerChannel
  • ParkerChannelState
  • ParkerChannelStateDesc
  • ParkerCallerIDNum
  • ParkerCallerIDName
  • ParkerConnectedLineNum
  • ParkerConnectedLineName
  • ParkerAccountCode
  • ParkerContext
  • ParkerExten
  • ParkerPriority
  • ParkerUniqueid
  • ParkerLinkedid
  • ParkerDialString : Dial String that can be used to call back the parker on Parking Timeout.
  • Parkinglot : Name of the parking lot that the parkee is parked in.
  • ParkingSpace : Parking Space that the parkee is parked in.
  • ParkingTimeout : Time remaining until the parkee is forcefully removed from parking in seconds.
  • ParkingDuration : Time the parkee has been in the parking bridge (in seconds).

Example

Event: ParkedCallGiveUp
Privilege: call,all
ParkeeChannel: SIP/agent-01-00000026
ParkeeChannelState: 6
ParkeeChannelStateDesc: Up
ParkeeCallerIDNum: agent-01
ParkeeCallerIDName: <unknown>
ParkeeConnectedLineNum: <unknown>
ParkeeConnectedLineName: <unknown>
ParkeeLanguage: en
ParkeeAccountCode: 
ParkeeContext: sample_park
ParkeeExten: s
ParkeePriority: 2
ParkeeUniqueid: 1480935251.69
ParkeeLinkedid: 1480935251.69
ParkerDialString: SIP/agent-01
Parkinglot: default
ParkingSpace: 701
ParkingTimeout: 35
ParkingDuration: 10

See also

ParkedCallSwap

Raised when a channel takes the place of a previously parked channel.

This event is raised when a channel initially parked in the parking lot is swapped out with a different channel. The most common case for this is when an attended transfer to a parking lot occurs. The Parkee information in the event will indicate the party that was swapped into the parking lot.

Class : CALL

Event: ParkedCallSwap
ParkeeChannel: <value>
ParkeeChannelState: <value>
ParkeeChannelStateDesc: <value>
ParkeeCallerIDNum: <value>
ParkeeCallerIDName: <value>
ParkeeConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
ParkeeAccountCode: <value>
ParkeeContext: <value>
ParkeeExten: <value>
ParkeePriority: <value>
ParkeeUniqueid: <value>
ParkeeLinkedid: <value>
ParkerChannel: <value>
ParkerChannelState: <value>
ParkerChannelStateDesc: <value>
ParkerCallerIDNum: <value>
ParkerCallerIDName: <value>
ParkerConnectedLineNum: <value>
ParkerConnectedLineName: <value>
ParkerAccountCode: <value>
ParkerContext: <value>
ParkerExten: <value>
ParkerPriority: <value>
ParkerUniqueid: <value>
ParkerLinkedid: <value>
ParkerDialString: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
  • ParkeeChannel
  • ParkeeChannelState
  • ParkeeChannelStateDesc
  • ParkeeCallerIDNum
  • ParkeeCallerIDName
  • ParkeeConnectedLineNum
  • ParkeeConnectedLineName
  • ParkeeAccountCode
  • ParkeeContext
  • ParkeeExten
  • ParkeePriority
  • ParkeeUniqueid
  • ParkeeLinkedid : Uniqueid of the oldest channel associated with this channel.
  • ParkerChannel
  • ParkerChannelState
  • ParkerChannelStateDesc
  • ParkerCallerIDNum
  • ParkerCallerIDName
  • ParkerConnectedLineNum
  • ParkerConnectedLineName
  • ParkerAccountCode
  • ParkerContext
  • ParkerExten
  • ParkerPriority
  • ParkerUniqueid
  • ParkerLinkedid : Uniqueid of the oldest channel associated with this channel.
  • ParkerDialString : Dial string that can be used to call back the parker on ParkingTimeout.
  • Parkinglot : Name of the parking lot that the parkee is parked in.
  • ParkingSpace : Parking space that the parkee is parked in.
  • ParkingTimeout : Time remaining until the parkee is forcefully removed from parking in seconds.
  • OarkingDuration : Time the parkee has been in the parking bridge(in seconds).

See also

ParkedCallTimeOut

Raised when a channel leaves a parking lot due to reaching the time limit of being parked.

Class : CALL

Event: ParkedCallTimeOut
ParkeeChannel: <value>
ParkeeChannelState: <value>
ParkeeChannelStateDesc: <value>
ParkeeCallerIDNum: <value>
ParkeeCallerIDName: <value>
ParkeeConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
ParkeeAccountCode: <value>
ParkeeContext: <value>
ParkeeExten: <value>
ParkeePriority: <value>
ParkeeUniqueid: <value>
ParkeeLinkedid: <value>
ParkerChannel: <value>
ParkerChannelState: <value>
ParkerChannelStateDesc: <value>
ParkerCallerIDNum: <value>
ParkerCallerIDName: <value>
ParkerConnectedLineNum: <value>
ParkerConnectedLineName: <value>
ParkerAccountCode: <value>
ParkerContext: <value>
ParkerExten: <value>
ParkerPriority: <value>
ParkerUniqueid: <value>
ParkerLinkedid: <value>
ParkerDialString: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>

Example

Event: ParkedCallTimeOut
Privilege: call,all
ParkeeChannel: SIP/agent-02-00000007
ParkeeChannelState: 6
ParkeeChannelStateDesc: Up
ParkeeCallerIDNum: agent-02
ParkeeCallerIDName: <unknown>
ParkeeConnectedLineNum: <unknown>
ParkeeConnectedLineName: <unknown>
ParkeeLanguage: en
ParkeeAccountCode: 
ParkeeContext: park-dial
ParkeeExten: SIP_agent-02
ParkeePriority: 1
ParkeeUniqueid: 1491606713.17
ParkeeLinkedid: 1491606713.17
ParkerDialString: SIP/agent-02
Parkinglot: default
ParkingSpace: 701
ParkingTimeout: 0
ParkingDuration: 45

See also

Parkinglot

Action: Parkinglots response message.

Example

Event: Parkinglot
Name: default
StartSpace: 701
StopSpace: 720
Timeout: 45

PeerEntry

Action: SIPpeers response message.

Event: PeerEntry
Channeltype: <value>
ObjectName: <value>
ChanObjectType: <value>
IPaddress: <value>
IPport: <value>
Dynamic: <value>
AutoForcerport: <value>
Forcerport: <value>
AutoComedia: <value>
Comedia: <value>
VideoSupport: <value>
TextSupport: <value>
ACL: <value>
Status: <value>
RealtimeDevice: <value>
Description: [value]
Accountcode: [value]

Example

Event: PeerEntry
Channeltype: SIP
ObjectName: client-02
ChanObjectType: peer
IPaddress: -none-
IPport: 0
Dynamic: yes
AutoForcerport: yes
Forcerport: no
AutoComedia: no
Comedia: no
VideoSupport: no
TextSupport: no
ACL: no
Status: Unmonitored
RealtimeDevice: no
Description: 
Accountcode: 

PeerlistComplete

Action: SIPpeers response message.

Event: PeerlistComplete
EventList: Complete
ListItems: <value>

Example

Event: PeerlistComplete
EventList: Complete
ListItems: 12

PeerStatus

Peer 의 state 가 변경되었음을 알려준다.

Event: PeerStatus
ChannelType: <value>
Peer: <value>
PeerStatus: <value>
Cause: <value>
Address: <value>
Port: <value>
Time: <value>
  • ChannelType : The channel technology of the peer.
  • Peer : The name of the peer(including channel technology).
  • PeerStatus : New status of the peer.
Unknown
Registered
Unregistered
Rejected
Lagged
  • Cause : The reason the status has changed.
  • Address : New address of the peer.
  • Port : New port for the peer.
  • Time : Time it takes to reach the peer and receive a response.

Example

Event: PeerStatus
Privilege: system,all
ChannelType: SIP
Peer: SIP/agent-01
PeerStatus: Registered
Address: 192.168.200.50:5060

See also

SIPpeerstatusComplete

Action: SIPpeerstatus response message

Event: SIPpeerstatusComplete
EventList: Complete
ListItems: <value>

Example

Event: SIPpeerstatusComplete
EventList: Complete
ListItems: 1

QueueCallerAbandon

Queue 에 인입된 콜이 분배되기 전 Hangup 되었을 때 발생하는 이벤트이다.

Event: QueueCallerAbandon
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Queue: <value>
Position: <value>
OriginalPosition: <value>
HoldTime: <value>
  • Channel
  • ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
  • ChannelStateDesc : Channel state description 참조.
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid - Uniqueid of the oldest channel associated with this channel.
  • Queue - The name of the queue.
  • Position - This channel's current position in the queue.
  • OriginalPosition - The channel's original position in the queue.
  • HoldTime - The time the channel was in the queue, expressed in seconds since 00:00, Jan 1, 1970 UTC.

Example

Event: QueueCallerLeave
Privilege: agent,all
Channel: SIP/agent-01-00007314
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: agent-01
CallerIDName: agent-01@earth.pchero21.com
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: queue_sales
Exten: s
Priority: 2
Uniqueid: 1491823927.30389
Linkedid: 1491823927.30389
Queue: sales_1
Position: 1
Count: 0

See also

QueueCallerJoin

Queue 에 콜이 인입될 때 발생하는 이벤트이다.

Event: QueueCallerJoin
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Queue: <value>
Position: <value>
Count: <value>
  • Channel
  • ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
  • ChannelStateDesc : Channel state description 참조.
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid - Uniqueid of the oldest channel associated with this channel.
  • Queue - The name of the queue.
  • Position - This channel's current position in the queue.
  • Count - The total number of channels in the queue.

Example

Event: QueueCallerJoin
Privilege: agent,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: from_provider
Exten: 
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Queue: TestQueue
Count: 1
Position: 1

See also

QueueCallerLeave

Queue 에 인입된 콜이 빠져나갈 때 발생하는 이벤트이다.

Event: QueueCallerLeave
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Queue: <value>
Count: <value>
Position: <value>
  • Channel
  • ChannelState - A numeric code for the channel's current state, related to ChannelStateDesc
  • ChannelStateDesc : Channel state description 참조.
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid - Uniqueid of the oldest channel associated with this channel.
  • Queue - The name of the queue.
  • Count - The total number of channels in the queue.
  • Position - This channel's current position in the queue.

Example

Event: QueueCallerLeave
Privilege: agent,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: from_provider
Exten: 
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Queue: TestQueue
Count: 0
Position: 1

QueueEntry

Action: QueueStatus response message.

Queue 에서 대기중인 콜이 있을 경우 표시된다.

Event: QueueEntry
Queue: <value>
Position: <value>
Channel: <value>
Uniqueid: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
Wait: <value>
  • Queue : Queue name
  • Position : Priority number of entry from the queue.
  • Channel : Channel name
  • Uniqueid : Unique id of Asterisk
  • CallerIDNum : Caller's number
  • CallerIDName : Caller's name
  • ConnectedLineNum : 현재 이 콜과 연결된(통화중인) number
  • ConnectedLineName : 현재 이 콜과 연결된(통화중인) name
  • Wait : 이 큐에서 대기한 시간(초)

Example

Event: QueueEntry
Queue: sales_1
Position: 1
Channel: SIP/agent-01-0000000f
Uniqueid: 1486480869.26
CallerIDNum: agent-01
CallerIDName: unknown
ConnectedLineNum: unknown
ConnectedLineName: unknown
Wait: 11

QueueMember

Action: QueueStatus 의 response message 중 하나이다. Queue 에 속해있는 멤버의 정보를 표시한다.

Event: QueueMember
Queue: <value>
Name: <value>
Location: <value>
StateInterface: <value>
Membership: <value>
Penalty: <value>
CallsTaken: <value>
LastCall: <value>
LastPause: <value>
InCall: <value>
Status: <value>
Paused: <value>
PausedReason: <value>
  • Name : Member name
  • Status : 멤버의 상태 번호
0:AST_DEVICE_UNKNOWN
1:AST_DEVICE_NOT_INUSE
2:AST_DEVICE_INUSE
3:AST_DEVICE_BUSY
4:AST_DEVICE_INVALID
5:AST_DEVICE_UNAVAILABLE
6:AST_DEVICE_RINGING
7:AST_DEVICE_RINGINUSE
8:AST_DEVICE_ONHOLD
  • Location : 멤버의 Channel 정보 혹은 위치 정보
  • StateInterface : 멤버의 상태 정보를 확인하는 장치 정보.
  • Membership : 멤버의 등록 방법(dynamic|realtime|static).
dynamic : 동적 등록. AMI, Dialplan 등으로 등록된 방식.
static : 정적 등록. queues.conf 에 명시적으로 등록하여 등록된 방식.
static :
  • Penalty : 패널티 정보(높은 패널티를 가지게 되면 상대적으로 콜을 분배받기 어려워진다.)
  • CallsTaken : 분배받은 콜의 숫자
  • LastCall : 마지막으로 받은 콜의 시간. Unix 타임을 사용한다.
  • Paused : Paused 여부. (1:Paused 상태, 0:Normal 상태)
  • PausedReason :

Example

Event: QueueMember
Queue: sales_1
Name: sip/agent-01
Location: sip/agent-01
StateInterface: sip/agent-01
Membership: dynamic
Penalty: 0
CallsTaken: 0
LastCall: 0
LastPause: 0
InCall: 0
Status: 5
Paused: 0
PausedReason: 

QueueMemberAdded

Queue 에 새롭게 멤버가 등록되었을 때 발생하는 이벤트 메시지이다.

Raised when a member is added to the queue.

Class : AGENT

Event: QueueMemberAdded
Queue: <value>
MemberName: <value>
Interface: <value>
StateInterface: <value>
Membership: <value>
Penalty: <value>
CallsTaken: <value>
LastCall: <value>
LastPause: <value>
InCall: <value>
Status: <value>
Paused: <value>
PausedReason: <value>
Ringinuse: <value>
  • Queue : The name of the queue.
  • MemberName : The name of the queue member.
  • Interface : The queue member's channel technology or location.
  • StateInterface : Channel technology or location from which to read device state changes.
  • Membership
dynamic
realtime
static
  • Penalty : The penalty associated with the queue member.
  • CallsTaken : The number of calls this queue member has serviced.
  • LastCall : The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
  • LastPause : The time when started last paused the queue member.
  • InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
0
1
  • Status : The numberic device state status of the queue member.
0 : AST_DEVICE_UNKNOWN.
1 : AST_DEVICE_NOT_INUSE.
2 : AST_DEVICE_INUSE.
3 : AST_DEVICE_BUSY.
4 : AST_DEVICE_INVALID.
5 : AST_DEVICE_UNAVAILABLE.
6 : AST_DEVICE_RINGING.
7 : AST_DEVICE_RINGINUSE.
8 : AST_DEVICE_ONHOLD.
  • Paused
0
1
  • PauseReason : If set when paused, the reason the queue member was paused.
  • Ringinuse
0
1

Example

Event: QueueMemberAdded
Privilege: agent,all
StateInterface: sip/agent-01
Queue: sales_1
Status: 5
Interface: sip/agent-01
MemberName: sip/agent-01
LastPause: 0
CallsTaken: 0
Membership: dynamic
Penalty: 0
LastCall: 0
PausedReason: 
Paused: 0
InCall: 0
Ringinuse: 1

See also

QueueMemberPause

Queue 멤버가 Pause 되었을 때 발생하는 이벤트이다.

Raised when a member is paused/unpaused in the queue.

Class : AGENT

Event: QueueMemberPause
Queue: <value>
MemberName: <value>
Interface: <value>
StateInterface: <value>
Membership: <value>
Penalty: <value>
CallsTaken: <value>
LastCall: <value>
LastPause: <value>
InCall: <value>
Status: <value>
Paused: <value>
PausedReason: <value>
Ringinuse: <value>
Reason: <value>
  • Queue : The name of the queue.
  • MemberName : The name of the queue member.
  • Interface : The queue member's channel technology or location.
  • StateInterface : Channel technology or location from which to read device state changes.
  • Membership
dynamic
realtime
static
  • Penalty : The penalty associated with the queue member.
  • CallsTaken : The number of calls this queue member has serviced.
  • LastCall : The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
LastPause : The time when started last paused the queue member.
  • InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
0
1
0
1
  • PausedReason : If set when paused, the reason the queue member was paused.
  • Ringinuse
0
1
  • Reason : The reason a member was paused.

Example

Event: QueueMemberPause
Privilege: agent,all
Queue: sales_1
MemberName: sip/agent-01
StateInterface: sip/agent-01
Reason: test
Interface: sip/agent-01
Membership: dynamic
Penalty: 0
LastCall: 1489264221
Ringinuse: 1
CallsTaken: 18
Paused: 1
LastPause: 1489269763
InCall: 0
Status: 1
PausedReason: test

See also

QueueMemberPenalty

Queue 멤버의 Penalty 값이 조정되었을 때 발생하는 이벤트이다.

Riased when a member's penalty is changed.

Class : AGENT

Event: QueueMemberPenalty
Queue: <value>
MemberName: <value>
Interface: <value>
StateInterface: <value>
Membership: <value>
Penalty: <value>
CallsTaken: <value>
LastCall: <value>
LastPause: <value>
InCall: <value>
Status: <value>
Paused: <value>
PausedReason: <value>
Ringinuse: <value>
  • Queue : The name of the queue.
  • MemberName : The name of the queue member.
  • Interface : The queue member's channel technology or location.
  • StateInterface : Channel technology or location from which to read device state changes.
  • Membership
dynamic
realtime
static
  • Penalty : The penalty associated with the queue member.
  • CallsTaken : The number of calls this queue member has serviced.
  • LastCall : The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
  • LastPause : The time when started last paused the queue member.
  • InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
0
1
  • Status : The numeric device state status of the queue member. See detail [Asterisk_status_code#status_define]
0 : AST_DEVICE_UNKNOWN
1 : AST_DEVICE_NOT_INUSE
2 : AST_DEVICE_INUSE
3 : AST_DEVICE_BUSY
4 : AST_DEVICE_INVALID
5 : AST_DEVICE_UNAVAILABLE
6 : AST_DEVICE_RINGING
7 : AST_DEVICE_RINGINUSE
8 : AST_DEVICE_ONHOLD
  • Paused
0
1
  • PausedReason : If set when paused, the reason the queue member was paused.
  • Ringinuse
0
1

Example

Event: QueueMemberPenalty
Privilege: agent,all
StateInterface: sip/agent-01
Queue: sales_1
Status: 5
Interface: sip/agent-01
MemberName: sip/agent-01
LastPause: 0
CallsTaken: 0
Membership: dynamic
Penalty: 10
LastCall: 0
PausedReason: 
Paused: 0
InCall: 0
Ringinuse: 1

Event: QueueMemberPenalty
Privilege: agent,all
Queue: sales_1
MemberName: sip/agent-01
StateInterface: sip/agent-01
Interface: sip/agent-01
Membership: dynamic
Penalty: 10
LastCall: 1489264221
Ringinuse: 1
CallsTaken: 18
Paused: 1
LastPause: 1489269763
InCall: 0
Status: 1
PausedReason: test

See also

QueueMemberRemoved

Queue 에서 멤버가 Leave(삭제) 되었을 때 발생하는 이벤트이다.

Raised when a member is removed from the queue.

Class : AGENT

Event: QueueMemberRemoved
Queue: <value>
MemberName: <value>
Interface: <value>
StateInterface: <value>
Membership: <value>
Penalty: <value>
CallsTaken: <value>
LastCall: <value>
LastPause: <value>
InCall: <value>
Status: <value>
Paused: <value>
PausedReason: <value>
Ringinuse: <value>
  • Queue : The name of the queue.
  • MemberName : The name of the queue member.
  • Interface : The queue member's channel technology or location.
  • StateInterface : Channel technology or location from which to read device state changes.
  • Membership
dynamic
realtime
static
  • Penalty : The penalty associated with the queue member.
  • CallsTaken : The number of calls this queue member has serviced.
  • LastCall : The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
  • LastPause : The time when started last paused the queue member.
  • InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
0 : Not in a call now.
1 : In a call now.
  • Status : The numeric device state status of the queue member. See detail [Asterisk_status_code#status_define].
  • Paused
0 : Not paused.
1 : Paused.
  • PausedReason : If set wehn paused, the reason the queue member was paused.
  • Ringinuse : Settings of RingInUse option.
0
1

Example

Event: QueueMemberRemoved
Privilege: agent,all
StateInterface: sip/agent-01
Queue: sales_1
Status: 5
Interface: sip/agent-01
MemberName: sip/agent-01
LastPause: 0
CallsTaken: 0
Membership: dynamic
Penalty: 10
LastCall: 0
PausedReason: 
Paused: 0
InCall: 0
Ringinuse: 1

See also

QueueMemberRinginuse

Raised when a member's ringinuse setting is changed.

Class : AGENT

Event: QueueMemberRinginuse
Queue: <value>
MemberName: <value>
Interface: <value>
StateInterface: <value>
Membership: <value>
Penalty: <value>
CallsTaken: <value>
LastCall: <value>
LastPause: <value>
InCall: <value>
Status: <value>
Paused: <value>
PausedReason: <value>
Ringinuse: <value>
  • Queue : The name of the queue.
  • MemberName : The name of the queue member.
  • Interface : The queue member's channel technology or location.
  • StateInterface : Channel technology or location from which to read device state changes.
  • Membership
dynamic
realtime
static
  • Penalty : The penalty associated with the queue member.
  • CallsTaken : The number of calls this queue member has serviced.
  • LastCall : The time this member last took a call, expressed in secods since 00:00, Jan 1, 1970 UTC.
  • LastPause : The time when started last paused the queue member.
  • InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
0
1
  • Status : The numeric device state status of the queue member.
0 : AST_DEVICE_UNKNOWN
1 : AST_DEVICE_NOT_INUSE
2 : AST_DEVICE_INUSE
3 : AST_DEVICE_BUSY
4 : AST_DEVICE_INVALID
5 : AST_DEVICE_UNAVAILABLE
6 : AST_DEVICE_RINGING
7 : AST_DEVICE_RINGINUSE
8 : AST_DEVICE_ONHOLD
  • Paused
0
1
  • PausedReason : If set when paused, the reason the queue member was paused.
  • Ringinuse
0
1

Example

Event: QueueMemberRinginuse
Privilege: agent,all
Queue: sales_1
MemberName: sip/agent-01
StateInterface: sip/agent-01
Interface: sip/agent-01
Membership: dynamic
Penalty: 10
LastCall: 1489264221
Ringinuse: 1
CallsTaken: 18
Paused: 1
LastPause: 1489269763
InCall: 0
Status: 1
PausedReason: test

QueueMemberStatus

Queue 의 멤버 상태 정보가 변경되었을 때, 발생한다.

Class : AGENT

Event: QueueMemberStatus
Queue: <value>
MemberName: <value>
Interface: <value>
StateInterface: <value>
Membership: <value>
Penalty: <value>
CallsTaken: <value>
LastCall: <value>
Status: <value>
Paused: <value>
Ringinuse: <value>
  • Queue : The name of the queue.
  • MemberName : The name of the queue member.
  • Interface : The queue member's channel technology or location.
  • StateInterface : Channel technology or location from which to read device state changes.
  • Membership
dynamic
realtime
static
  • Penalty : The penalty associated with the queue member.
  • CallsTaken : The number of calls this queue member has serviced.
  • LastCall : The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
  • LastPause : The time when started last paused the queue member.
  • InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
0
1
  • Status - The numeric device state status of the queue member.
0 : AST_DEVICE_UNKNOWN
1 : AST_DEVICE_NOT_INUSE
2 : AST_DEVICE_INUSE
3 : AST_DEVICE_BUSY
4 : AST_DEVICE_INVALID
5 : AST_DEVICE_UNAVAILABLE
6 : AST_DEVICE_RINGING
7 : AST_DEVICE_RINGINUSE
8 : AST_DEVICE_ONHOLD
  • Paused
0 : Not paused.
1 : Paused.
  • PauseReason : If set when paused, the reason the queue member was paused.
  • Ringinuse
0
1

Example

Event: QueueMemberStatus
Privilege: agent,all
PausedReason: 
MemberName: sip/agent-01
InCall: 0
Queue: sales_1
Status: 1
Membership: dynamic
Interface: sip/agent-01
StateInterface: sip/agent-01
Ringinuse: 1
Penalty: 0
CallsTaken: 1
LastCall: 1480670890
LastPause: 0
Paused: 0

See also

QueueParams

Action: QueueStatus response message.

Queue 의 parameter 를 표시한다.

Event: QueueParams
Queue: <value>
Max: <value>
Strategy: <value>
Calls: <value>
Holdtime: <value>
TalkTime: <value>
Completed: <value>
Abandoned: <value>
ServiceLevel: <value>
ServicelevelPerf: <value>
Weight: <value>
  • Queue : Queue name.
  • Max : Queue에서 허용 가능한 최대 콜 수.
  • Strategy : 콜 분배 방식(rignall|roundrobin|leastrecent|fewestcalls|random|rrmemory|linear|wrandom).
  • Calls : 현재 큐에서 대기중인 콜의 갯수.
  • HoldTime : 현재 평균 큐 대기 시간(Seconds). Exponential average 방식을 사용해서 평균 시간을 계산하기 때문에 일반적인 평균 구하는 시간과는 다를 수 있다.
  • Weight : 큐의 우선 순위. 높은(많은) 우선순위를 가진 큐의 콜이 낮은(적은) 우선순위를 가진 큐보다 먼저 분배될 확률이 높아진다.
  • ServiceLevel : ServiceLevelPerf 를 확인하는 Interval time(sec).
  • ServicelevelPerf : SerivceLevel 시간동안의 콜 응답률(%). 응답 콜 /전체 인입 콜 * 100.
  • Abandoned : 큐에서 대기중에 분배되지 못하고 끊어진 콜.
  • TalkTikme : 분배 후 평균 통화시간(Seconds). Exponential average 방식을 사용해서 평균 시간을 계산하기 때문에 일반적인 평균 구하는 시간과는 다를 수 있다.
  • Completed : 정상적으로 분배 완료된 콜 갯수.

Example

Event: QueueParams
Queue: sales_1
Max: 0
Strategy: ringall
Calls: 0
Holdtime: 0
TalkTime: 0
Completed: 0
Abandoned: 0
ServiceLevel: 0
ServicelevelPerf: 0.0
Weight: 0

QueueSummary

Action: QueueSummary response message.

Queue의 통계를 표시한다.

Event: QueueSummary
Queue: <value>
LoggedIn: <value>
Available: <value>
Callers: <value>
HoldTime: <value>
TalkTime: <value>
LongestHoldTime: <value>
  • Queue : Queue name.
  • LoggedIn : 현재 log in 되어 있는 Queue member count.
  • Available : 현재 Queue 에서 대기중인 Queue member count.
  • Callers : 현재 큐에 인입되어 대기중인 콜 갯수.
  • HoldTime : 콜에 큐에 인입되어 분배되기 까지의 평균 대기 시간.
  • TalkTime : 콜이 큐에 인입되어 분배되고 난 후의 평균 통화 시간.
  • LongestHoldTime : 큐에서 가장 오래 대기한 콜의 대기 시간.

Example

Event: QueueSummary
Queue: sales_1
LoggedIn: 3
Available: 0
Callers: 1
HoldTime: 0
TalkTime: 0
LongestHoldTime: 29

ReceiveFAX

Raised when a receive fax operation has completed.

Class : CALL

Event: ReceiveFAX
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
LocalStationID: <value>
RemoteStationID: <value>
PagesTransferred: <value>
Resolution: <value>
TransferRate: <value>
FileName: <value>
  • LocaStationID : The value of the LOCALSTATIONID channel variable.
  • RemoteStationID : The value of the REMOTESTATIONID channel variable.
  • PagesTransferred : The number of pages that have been transferred.
  • Resolution : The negotiated resolution.
  • TransferRate : The negotiated transfer rate.
  • FileName : The files being affected by the fax operation.

See also

Registry

Raised when an outbound registration completes.

Class : SYSTEM

Event: Registry
ChannelType: <value>
Username: <value>
Domain: <value>
Status: <value>
Cause: <value>
  • ChannelType : The type of channel that was registered (or not).
  • Username : The username portion of the registration.
  • Domain : The address portion of the registration.
  • Status : The status of the registration request.
Registered
Unregistered
Rejected
Failed
  • Cause : What caused the rejection of the request, if available.

Example

Event: Registry
Privilege: system,all
ChannelType: SIP
Username: 1234
Domain: mysipprovider.com
Status: Request Sent

See also

RegistryEntry

Action: SIPshowregistry Response message.

Example

Event: RegistryEntry
Host: mysipprovider.com
Port: 5060
Username: 3456
Domain: mydomain
DomainPort: 5082
Refresh: 120
State: Request Sent
RegistrationTime: 0

Reload

Raised when a module has been reloaded in Asterisk.

Class : SYSTEM

Event: Reload
Module: <value>
Status: <value>
  • Module : The name of the module that was reloaded, or All if all modules were reloaded.
  • Status : The numeric status code denoting the success or failure of the reload request.
0 : Success.
1 : Request queued.
2 : Module not found.
3 : Error.
4 : Reload already in progress.
5 : Module uninitialized.
6 : Reload not supported.

Example

Event: Reload
Privilege: system,all
Module: chan_sip
Status: 0

See also

Rename

Raised when the name of a channel is changed.

Class : CALL

Event: Rename
Channel: <value>
Newname: <value>
Uniqueid: <value>
  • Channel
  • Newname
  • Uniqueid

See also

RequestBadFormat

Raised when a request is received with bad formatting.

Class : SECURITY

Event: RequestBadFormat
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
RequestType: <value>
[Module:] <value>
[SessionTV:] <value>
[AccountID:] <value>
[RequestParams:] <value>
  • EventTV : The time the event was detected.
  • Severity : A relative severity of the security event.
Informational
Error
  • Service : The Asterisk service that raised the security event.
  • EventVersion : The version of this event.
  • AccountID : The Service account associated with the security event notification.
  • SessionID : A unique identifier for the session in the service that raised the event.
  • LocalAddress : The address of the Asterisk service that raised the security event.
  • RemoteAddress : The remote address of the entity that caused the security event to be raised.
  • RequestType : The type of request attempted.
  • Module : If available, the name of the module that raised the event.
  • SessionTV : The timestamp reported by the session.
  • AccountID : The account ID associated with the rejected request.
  • RequestParams : Parameters provided to the rejected request.

Example

Event: RequestBadFormat
Privilege: security,all
EventTV: 2016-12-09T10:09:07.294+0000
Severity: Error
Service: AMI
EventVersion: 1
SessionID: 0x1290100
LocalAddress: IPV4/TCP/0.0.0.0/5038
RemoteAddress: IPV4/TCP/127.0.0.1/55100
RequestType: Action: NONE
SessionTV: 2016-12-09T09:40:31.714+0000
AccountID: admin

See also

RequestNotAllowed

전송한 Action Request 를 수행할 권한이 없음을 알려준다.

AMI Action request 를 전송했는데, 만약 접속중인 계정에 해당 명령어를 수행할 권한이 없을 경우 발생하게 된다.

Class : SECURITY

Event: RequestNotAllowed
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
RequestType: <value>
[Module:] <value>
[SessionTV:] <value>
[RequestParams:] <value>
  • EventTV : The time the event was detected.
  • Severity : A relative severity of the security event.
Informational
Error
  • Service : The Asterisk service that raised the security event.
  • EventVersion : The version of this event.
  • AccountID : The Service account associated with the security event notification.
  • SessionID : A unique identifier for the session in the service that raised the event.
  • LocalAddress : The address of the Asterisk service that raised the security event.
  • RemoteAddress : The remote address of the enitty that caused the security event to be raised.
  • RequestType : The type of request attempted.
  • SessionTV : The timestamp reported by the session.
  • RequestParams : Parameters provided to the rejected request.

Example

Event: RequestNotAllowed
Privilege: security,all
EventTV: 2016-12-08T12:36:39.885+0000
Severity: Error
Service: AMI
EventVersion: 1
AccountID: test
SessionID: 0x76309870
LocalAddress: IPV4/TCP/0.0.0.0/5038
RemoteAddress: IPV4/TCP/127.0.0.1/55096
RequestType: Action: Originate
SessionTV: 2016-12-08T11:28:24.934+0000

See also

RequestNotSupported

Raised when a request fails due to some aspect of the requested item not being supported by the service.

Class : SECURITY

Event: RequestNotSupported
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
RequestType: <value>
[Module:] <value>
[SessionTV:] <value>
  • EventTV : The time the event was detected.
  • Severity : A relative of the security event.
Informational
Error
  • Service : The Asterisk service that raised the security event.
  • EventVersion : The version of this event.
  • AccountID : The Service account associated with the security event notification.
  • SessionID : A unique identifier for the session in the service that raised the event.
  • LocalAddress : The address of the Asterisk service that raised the security event.
  • RemoteAddress : The remote address of the entity that caused the security event to be raised.
  • RequestType : The type of request attempted.
  • Module : If available, the name of the module that raised the event.
  • SessionTV : The timestamp reported by the session.

See also

RTCPReceived

Raised when an RTCP packet is received.

Class : REPORTING

Event: RTCPReceived
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
SSRC: <value>
PT: <value>
From: <value>
RTT: <value>
ReportCount: <value>
[SentNTP:] <value>
[SentRTP:] <value>
[SentPackets:] <value>
[SentOctets:] <value>
ReportXSourceSSRC: <value>
ReportXFractionLost: <value>
ReportXCumulativeLost: <value>
ReportXHighestSequence: <value>
ReportXSequenceNumberCycles: <value>
ReportXIAJitter: <value>
ReportXLSR: <value>
ReportXDLSR: <value>
  • SSRC : The SSRC identifier for the remote system.
  • PT : The type of packet for this RTCP report.
200(SR)
201(RR)
  • From : The address the report was received from.
  • RTT : Calculated Round-Trip Time in seconds.
  • ReportCount : The number of reports that were received. The report count determines the number ReportX headers in the message. The X for each set of report headers will range from 0 to ReportCount -1.
  • SentNTP : The time the sender generated the report. Only valid when PT is 200(SR).
  • SentRTP : The sender's last RTP timestamp. Only valid when PT is 200(SR).
  • SentPackets : The number of packets the sender has sent. Only valid when PT is 200(SR).
  • SentOctets : The number of bytes the sender has sent. Only valid when PT is 200(SR).
  • ReportXSourceSSRC : The SSRC for the source of this report block.
  • ReportXFractionLost : The fraction of RTP data packets from ReportXSourceSSRC lost since the previous SR or RR report was sent.
  • ReportXCumulativeLost : The total number of RTP data packets from ReportXSourceSSRC lost since the beginning of reception.
  • ReportXHighestSequence : The highest sequence number received in an RTP data packet from ReportXSourceSSRC.
  • ReportXSequenceNumberCycles : The number of sequence number cycles seen for the RTP data received from ReportXSourceSSRC.
  • ReportXIAJitter : An estimate of the statistical variance of the RTP data packet interarrival time, measured in timestamp units.
  • ReportXLSR : The last SR timestamp received from ReportXSourceSSRC. If no SR has been received from ReportXSourceSSRC, then 0.
  • ReportXDLSR : The delay, expressed in units of 1/65536 seconds, between receiving the last SR packet from ReportXSourceSSRC and sending this report.

Example

Event: RTCPReceived
Privilege: reporting,all
Channel: SIP/test-04-0000019b
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: test-04
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: common-incoming
Exten: 
Priority: 1
Uniqueid: 1447438716.469
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
To: 127.0.1.1:0
From: 192.168.200.1:27223
RTT: 0.0000
SSRC: 0x00f17974
PT: 201(RR)
ReportCount: 1
Report0SourceSSRC: 0x34634503
Report0FractionLost: 0
Report0CumulativeLost: 0
Report0HighestSequence: 41649
Report0SequenceNumberCycles: 0
Report0IAJitter: 0
Report0LSR: 0
Report0DLSR: 0.0000

See also

RTCPSent

Raised when an RTCP packet is sent.

Class : REPORTING

Event: RTCPSent
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
SSRC: <value>
PT: <value>
To: <value>
ReportCount: <value>
[SentNTP:] <value>
[SentRTP:] <value>
[SentPackets:] <value>
[SentOctets:] <value>
ReportXSourceSSRC: <value>
ReportXFractionLost: <value>
ReportXCumulativeLost: <value>
ReportXHighestSequence: <value>
ReportXSequenceNumberCycles: <value>
ReportXIAJitter: <value>
ReportXLSR: <value>
ReportXDLSR: <value>
  • SSRC : The SSRC identifier for our stream.
  • PT : The type of packet for this RTCP report.
200(SR)
201(RR)
  • To : The address the report is sent to.
  • ReportCount : The number of reports that were sent. The report count determines the number ReportX headers in the message. The X for each set of report headers will range from 0 to ReportCount - 1.
  • SentNTP : The time the sender generated the report. Only valid when PT is 200(SR).
  • SentRTP : The sender's last RTP timestamp. Only valid with when PT is 200(SR).
  • SentPackets : The number of packets the sender has sent. Only valid with when PT is 200(SR).
  • SentOctets : The number of bytes the sender has sent. Only valid when PT is 200(SR).
  • ReportXSourceSSRC : The SSRC for the source of this report block.
  • ReportXFractionLost : The fraction of RTP data packets from ReportXSourceSSRC lost since the previous SR or RR report was sent.
  • ReportXCumulativeLost : The total number of RTP data packets from ReportXSourceSSRC lost since the beginning of reception.
  • ReportXHighestSequence : The highest sequence number received in an RTP data packet from ReportXSourceSSRC.
  • ReportXSequenceNumberCycles : The number of sequence number cycles seen for the RTP data received from ReportXSourceSSRC.
  • ReportXIAJitter : An estimate of the statistical variance of the RTP data packet interarrival time, measured in timestamp units.
  • ReportXLSR : The last SR timestamp received from ReportXSourceSSRC. If noSR has been received from ReportXSourceSSRC, then 0.
  • ReportXDLSR : The delay, expressed in units of 1/65536 seconds, between receiving the last SR packet from ReportXSourceSSRC and sending this report.

Example

Event: RTCPSent
Privilege: reporting,all
Channel: SIP/agent-01-0000002b
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample_musiconhold
Exten: s
Priority: 3
Uniqueid: 1481278514.79
Linkedid: 1481278514.79
To: 10.1.27.60:17237
From: 10.12.118.11:10471
SSRC: 0x3ed6cf9a
PT: 200(SR)
ReportCount: 1
SentNTP: 1481278524.3491024896
SentRTP: 79840
SentPackets: 499
SentOctets: 79840
Report0SourceSSRC: 0x59bdc23f
Report0FractionLost: 0
Report0CumulativeLost: 0
Report0HighestSequence: 31833
Report0SequenceNumberCycles: 0
Report0IAJitter: 4
Report0LSR: 45871016
Report0DLSR: 1.0370

See also

SendFAX

Raised when a send fax operation has completed.

Class : CALL

Event: SendFAX
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
LocalStationID: <value>
RemoteStationID: <value>
PagesTransferred: <value>
Resolution: <value>
TransferRate: <value>
FileName: <value>
  • LocalStationID : The value of the LOCALSTATIONID channel variable.
  • RemoteStationID : The value of the REMOTESTATIONID channel variable.
  • PagesTransferred : The number of pages that have been transferred.
  • Resolution : The negotiated resolution.
  • TransferRate : The negotiated transfer rate.
  • FileName : The files being affected by the fax operation.

See also

SessionLimit

Raised when a request fails due to exceeding the number of allowed concurrent sessions for that service.

Class : SECURITY

Event: SessionLimit
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
[Module:] <value>
[SessionTV:] <value>
  • EventTV : The time the event was detected.
  • Severity : A relative severity of the security event.
Informational
Error
  • Service : The Asterisk service that raised the security event.
  • EventVersion : The version of this event.
  • AccountID : The Service account associated with the security event notification.
  • SessionID : A unique identifier for the session in the service that raised the event.
  • LocalAddress : The address of the Asterisk service that raised the security event.
  • RemoteAddress : The remote address of the entity that caused the security event to be raised.
  • Module : If availalbe, the name of the module that raised the event.
  • SessionTV : The timestamp reported by the session.

See also

SessionTimeout

Raised when a SIP session times out.

Class : CALL

Event: SessionTimeout
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Source: <value>
  • Source : The source of the session timeout.
RTPTimeout
SIPSessionTimer

See also

ShowDialPlan

Action: ShowDialPlan response message

Event: ListDialplan
Context: <value>
Extension: <value>
Priority: <value>
Application: <value>
AppData: <value>
Registrar: <value>

Example

Event: ListDialplan
Context: demo
Extension: 4000
Priority: 1
Application: Goto
AppData: sample_musiconhold,s,1
Registrar: pbx_config

ShowDialPlanComplete

Action: ShowDialPlan response message.

Event: ShowDialPlanComplete
EventList: Complete
ListItems: <value>
ListExtensions: <value>
ListPriorities: <value>
ListContexts: <value>

Example

Event: ShowDialPlanComplete
EventList: Complete
ListItems: 8
ListExtensions: 2
ListPriorities: 8
ListContexts: 2

Shutdown

Raised when Asterisk is shutdown or restarted.

Class : SYSTEM

Event: Shutdown
Shutdown: <value>
Restart: <value>
  • Shutdown : Whether the shutdown is proceeding cleanly (all channels were hungup successfully) or uncleanly (channels will be terminated).
Uncleanly
Cleanly
  • Restart : Where or not a restart will occur.
True
False

See also

SIPQualifyPeerDone

Raised when SIPQualifyPeer has finished qualifying the specified peer.

Class : CALL

Event: SIPQualifyPeerDone
Peer: <value>
ActionID: <value>
  • Peer : The name of the peer.

See also

SoftHangupRequest

Raised when a soft hangup is requested with specific cause code.

Class : CALL

Event: SoftHangupRequest
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Cause: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • Cause : A numeric cause code for why the channel was hung up.

Example

Event: SoftHangupRequest
Privilege: call,all
Channel: Local/test-04@common-incoming-0000000a;2
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: common-incoming
Exten: test-04
Priority: 1
Uniqueid: 1447438716.468
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Cause: 16

See also

SpanAlarm

Raised when an alarm is set on a DAHDI span.

Class : SYSTEM

Event: SpanAlarm
Span: <value>
Alarm: <value>
  • Span : The span on which the alarm occurred.
  • Alarm : A textual description of the alarm that occurred.

See also

SpanAlarmClear

Raised when an alarm is cleared on a DAHDI span.

Class : SYSTEM

Event: SpanAlarmClear
Span: <value>
  • span : The span on which alarm was cleared.

See also

Status

Action: Status response message.

Class : CALL

Event: Status
[ActionID:] <value>
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Type: <value>
DNID: <value>
TimeToHangup: <value>
BridgeID: <value>
Linkedid: <value>
Application: <value>
Data: <value>
Nativeformats: <value>
Readformat: <value>
Readtrans: <value>
Writeformat: <value>
Writetrans: <value>
Callgroup: <value>
Pickupgroup: <value>
Seconds: <value>
  • ActionID
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • Type : Type of channel.
  • DNID : Dialed number identifier.
  • TimeToHangup : Absolute lifetime of the channel.
  • BridgeID : Identifier of the bridge the channel is in, may be empty if not in one.
  • Linkedid
  • Application : Application currently executing on the channel.
  • Data : Data given to the currently executing channel.
  • Nativeformats : Media formats the connected party is willing to send or receive.
  • Readformat : Media formats that frames from the channel are received in.
  • Readtrans : Translation path for media received in native formats.
  • Writeformat : Media formats that frames to the channel are accepted in.
  • Writetrans : Translation path for media sent to the connected party.
  • Callgroup : Configured call group on the channel.
  • Pickupgroup : Configured pickup group on the channel.
  • Seconds : Number of seconds the channel has been active.

Example

Event: Status
Privilege: Call
Channel: SIP/300-0000000d
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: 300
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample_park
Exten: s
Priority: 2
Uniqueid: 1481806807.29
Linkedid: 1481806807.29
Type: SIP
DNID: 4001
EffectiveConnectedLineNum: <unknown>
EffectiveConnectedLineName: <unknown>
TimeToHangup: 0
BridgeID: 299de6ea-1dc7-4144-9e46-d6513723333e
Linkedid: 1481806807.29
Application: Park
Data: 
Nativeformats: (ulaw)
Readformat: ulaw
Readtrans: 
Writeformat: slin
Writetrans: (slin@8000)->(ulaw@8000)
Callgroup: 0
Pickupgroup: 0
Seconds: 9
Variable: SIPCALLID=996831924@pluto.pchero21.com
Variable: SIPDOMAIN=pluto.pchero21.com
Variable: SIPURI=sip:300@10.1.27.60:5060

See also

StatusComplete

Raised in response to a Status command.

Class : CALL

Event: StatusComplete
Items: <value>
  • Items : Number of Status events returned.

See also

SuccessfulAuth

Raised when a request successfully authenticates with a service.

Class : SECURITY

Event: SuccessfulAuth
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
UsingPassword: <value>
[Module:] <value>
[SessionTV:] <value>
  • EventTV : The time the event was detected.
  • Severity : A relative severity of the security event.
Informational
Error
  • Service : The Asterisk service that raised the security event.
  • EventVersion : The version of this event.
  • AccountID : The Service account associated with the security event notification.
  • SessionID : A unique identifier for the session in the service that raised the event.
  • LocalAddress : The address of the Asterisk service that raised the security event.
  • RemoteAddress : The remote address of the entity that caused the security event to be raised.
  • UsingPassword : Whether or not the authentication attempt included a password.
  • Module : If available, the name of the module that raised the event.
  • SessionTV : The timestamp reported by the session.

Example

Event: SuccessfulAuth
Privilege: security,all
EventTV: 2016-12-09T09:40:31.714+0000
Severity: Informational
Service: AMI
EventVersion: 1
AccountID: admin
SessionID: 0x1290100
LocalAddress: IPV4/TCP/0.0.0.0/5038
RemoteAddress: IPV4/TCP/127.0.0.1/55100
UsingPassword: 0
SessionTV: 2016-12-09T09:40:31.714+0000

See also

TransportDetail

Provide details about an authentication section.

Class : COMMAND

Event: TransportDetail
ObjectType: <value>
ObjectName: <value>
Protocol: <value>
Bind: <value>
AsycOperations: <value>
CaListFile: <value>
CaListPath: <value>
CertFile: <value>
PrivKeyFile: <value>
Password: <value>
ExternalSignalingAddress: <value>
ExternalSignalingPort: <value>
ExternalMediaAddress: <value>
Domain: <value>
VerifyServer: <value>
VerifyClient: <value>
RequireClientCert: <value>
Method: <value>
Cipher: <value>
LocalNet: <value>
Tos: <value>
Cos: <value>
WebsocketWriteTimeout: <value>
EndpointName: <value>
  • ObjectType : The object's type. This will always be "transport".
  • ObjectName : The name of this object.
  • Protocol : Protocol to use for SIP traffic.
  • Bind : IP Address and optional port to bind to for this transport.
  • AsycOperation : Number of simultaneous Asynchronous Operations.
  • CaListFile : File containing a list of certificate to read (TLS ONLY).
  • CaListPath : Path to directory containing a list of certificates to read (TLS ONLY).
  • CertFile : Certificate file for endpoint (TLS ONLY).
  • PrivKeyFile : Certificate file for endpoint (TLS ONLY).
  • Password : Password required for transport.
  • ExternalSignalingAddress : External address for SIP signaling.
  • ExternalSignalingPort : External port for SIP signalling.
  • ExternalMediaAddress : External IP address to use in RTP handling.
  • Domain : Domain the transport comes from.
  • VerifyServer : Require verification of server certificate (TLS ONLY).
  • VerifyClient : Require verification of client certificate (TLS ONLY).
  • RequireClientCert : Require client certificate (TLS ONLY).
  • Method : Method of SSL transport (TLS ONLY).
  • Cipher : Preferred cryptography cipher names (TLS ONLY).
  • LocalNet : Network to consider local (used for NAT purpose).
  • Tos : Enable TOS for the signalling sent over this transport.
  • Cos : Enable COS for the signalling sent over this transport.
  • WebsocketWriteTimeout : The timeout (in milliseconds) to set on WebSocket connections.
  • EndpointName : The name of the endpoint associated with this information.

See also

UnexpectedAddress

Raised when a request has a different source address then what is expected for asession already in progress with a service.

Class : SECURITY

Event: UnexpectedAddress
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
ExpectedAddress: <value>
[Module:] <value>
[SessionTV:] <value>
  • EventTV : The time the event was detected.
  • Severity : A relative severity of the security event.
Informational
Error
  • Service : The Asterisk service that raised the security event.
  • EventVersion : The version of this event.
AccountID : The Service account associated with the security event notification.
  • SessionID : A unique identifier for the session in the service that raised the event.
  • LocalAddress : The address of the Asterisk service that raised the security event.
  • RemoteAddress : The remote address of the entity that caused the security event to be raised.
  • ExpectedAddress : The address that the request was expected to use.
  • Module : If available, the name of the module that raised the event.
  • SessionTV : The timestamp reported by the session.

See also

Unhold

Raised when a channel goes off hold.

Class : CALL

Event: Unhold
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid

Example

Event: Unhold
Privilege: call,all
Channel: SIP/agent-01-00000002
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: sample_park
Exten: s
Priority: 2
Uniqueid: 1481705835.4
Linkedid: 1481705835.4

See also

UnParkedCall

Raised when a chaneel leaves a parking lot because it was retrieved from the parking lot and reconnected.

Class : Call

Event: UnParkedCall
ParkeeChannel: <value>
ParkeeChannelState: <value>
ParkeeChannelStateDesc: <value>
ParkeeCallerIDNum: <value>
ParkeeCallerIDName: <value>
ParkeeConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
ParkeeAccountCode: <value>
ParkeeContext: <value>
ParkeeExten: <value>
ParkeePriority: <value>
ParkeeUniqueid: <value>
ParkeeLinkedid: <value>
ParkerChannel: <value>
ParkerChannelState: <value>
ParkerChannelStateDesc: <value>
ParkerCallerIDNum: <value>
ParkerCallerIDName: <value>
ParkerConnectedLineNum: <value>
ParkerConnectedLineName: <value>
ParkerAccountCode: <value>
ParkerContext: <value>
ParkerExten: <value>
ParkerPriority: <value>
ParkerUniqueid: <value>
ParkerLinkedid: <value>
ParkerDialString: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
RetrieverChannel: <value>
RetrieverChannelState: <value>
RetrieverChannelStateDesc: <value>
RetrieverCallerIDNum: <value>
RetrieverCallerIDName: <value>
RetrieverConnectedLineNum: <value>
RetrieverConnectedLineName: <value>
RetrieverAccountCode: <value>
RetrieverContext: <value>
RetrieverExten: <value>
RetrieverPriority: <value>
RetrieverUniqueid: <value>
RetrieverLinkedid: <value>
  • ParkeeChannel
  • ParkeeChannelState
  • ParkeeChannelStateDesc
  • ParkeeCallerIDNum
  • ParkeeCallerIDName
  • ParkeeConnectedLineNum
  • ParkeeConnectedLineName
  • ParkeeAccountCode
  • ParkeeContext
  • ParkeeExten
  • ParkeePriority
  • ParkeeUniqueid
  • ParkeeLinkedid
  • ParkerChannel
  • ParkerChannelState
  • ParkerChannelStateDesc
  • ParkerCallerIDNum
  • ParkerCallerIDName
  • ParkerConnectedLineNum
  • ParkerConnectedLineName
  • ParkerAccountCode
  • ParkerContext
  • ParkerExten
  • ParkerPriority
  • ParkerUniqueid
  • ParkerLinkedid
  • ParkerDialString
  • Parkinglot
  • ParkingSpace
  • ParkingTimeout
  • ParkingDuration
  • RetrieverChannel
  • RetrieverChannelState
  • RetrieverChannelStateDesc
  • RetrieverCallerIDNum
  • RetrieverCallerIDName
  • RetrieverConnectedLineNum
  • RetrieverConnectedLineName
  • RetrieverAccountCode
  • RetrieverContext
  • RetrieverExten
  • RetrieverPriority
  • RetrieverUniqueid
  • RetrieverLinkedid

Example

Event: UnParkedCall
Privilege: call,all
ParkeeChannel: SIP/agent-01-0000002e
ParkeeChannelState: 6
ParkeeChannelStateDesc: Up
ParkeeCallerIDNum: agent-01
ParkeeCallerIDName: <unknown>
ParkeeConnectedLineNum: <unknown>
ParkeeConnectedLineName: <unknown>
ParkeeLanguage: en
ParkeeAccountCode: 
ParkeeContext: sample_park
ParkeeExten: s
ParkeePriority: 2
ParkeeUniqueid: 1491518062.92
ParkeeLinkedid: 1491518062.92
RetrieverChannel: SIP/agent-02-0000002f
RetrieverChannelState: 6
RetrieverChannelStateDesc: Up
RetrieverCallerIDNum: agent-02
RetrieverCallerIDName: <unknown>
RetrieverConnectedLineNum: <unknown>
RetrieverConnectedLineName: <unknown>
RetrieverLanguage: en
RetrieverAccountCode: 
RetrieverContext: sample_unpark
RetrieverExten: s
RetrieverPriority: 2
RetrieverUniqueid: 1491518066.93
RetrieverLinkedid: 1491518066.93
ParkerDialString: SIP/agent-01
Parkinglot: default
ParkingSpace: 701
ParkingTimeout: 40
ParkingDuration: 5

UserEvent

A user defined event raised from the dialplan.

Class : USER

Event: UserEvent
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
UserEvent: <value>
  • UserEvent : The event name, as specified in the dialplan.

Example

Simple UserEvent

Send hangup Userevent.

[CallHangup]
exten => s,1,NoOp(CallHangup)

; Hangup channel
  ; Find and set from:
  same => n(Hangup),Set(From=${InternalNumber})
  same => n,ExecIf(${ISNULL(${From})}?Set(From=${CALLERID(num)})) ; If From is still empty, set it to CALLERID(num)

  ; Gather misc. values for this event:
  same => n,Set(CdrHangupCause=${HANGUPCAUSE})
  same => n,Set(CallStart=${SHARED(CdrCallStartTime,${CdrMasterChannel})})
  same => n,ExecIf(${ISNULL(${CallStart})}?Set(CallStart=${CdrCallStartTime})) ; If not set, try to retrieve from normal variable...
  same => n,Set(ToFullName=${DB(LocalNumber${CalledNumber}/Name)})
  same => n,Set(ToUser=${DB(LocalNumber${CalledNumber}/User)})

  ; Build UserEvent string for the Hangup event:
  same => n,UserEvent(TEST-USEREVENT,TestType: Hangup,CdrChannel: ${CHANNEL},CdrUniqueID: ${UniqueID},CdrTimestamp: ${EPOCH})
  same => n,Return(OK)
Event: UserEvent
Privilege: user,all
UserEvent: TEST-USEREVENT
TestType: Hangup
CdrChannel: Local/502-1@DialLine-6ed0;2
CdrUniqueID: 1493978932.3635
CdrTimestamp: 1493978933

See also

VarSet

Raised when a variable local to the gosub stack frame is set due to a subroutine call.

Class : DIALPLAN

Event: VarSet
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Variable: <value>
Value: <value>
  • Channel
  • ChannelState
  • ChannelStateDesc
  • CallerIDNum
  • CallerIDName
  • ConnectedLineNum
  • ConnectedLineName
  • AccountCode
  • Context
  • Exten
  • Priority
  • Uniqueid
  • Linkedid
  • Variable : The LOCAL variable being set. The variable name will always be enclosed with LOCAL().
  • Value : The new value of the variable.

Example

Event: VarSet
Privilege: dialplan,all
Channel: SIP/agent-01-0000002b
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: agent-01
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode: 
Context: public
Exten: 4000
Priority: 1
Uniqueid: 1481278514.79
Linkedid: 1481278514.79
Variable: SIPURI
Value: sip:agent-01@10.1.27.60:5060

See also

VoicemailUserEntry

Response message of "Action: VoicemailUsersList".

Event: VoicemailUserEntry
VMContext: <value>
VoiceMailbox: <value>
Fullname: <value>
Email: <value>
Pager: <value>
ServerEmail: <value>
FromString: <value>
MailCommand: <value>
Language: <value>
TimeZone: <value>
Callback: <value>
Dialout: <value>
UniqueID: <value>
ExitContext: <value>
SayDurationMinimum: <value>
SayEnvelope: <value>
SayCID: <value>
AttachMessage: <value>
AttachmentFormat: <value>
DeleteMessage: <value>
VolumeGain: <value>
CanReview: <value>
CallOperator: <value>
MaxMessageCount: <value>
MaxMessageLength: <value>
NewMessageCount: <value>
[OldMessageCount:] <value>
[IMAPUser:] <value>
[IMAPServer:] <value>
[IMAPPort:] <value>
[IMAPFlags:] <value>

Example

Event: VoicemailUserEntry
VMContext: default
VoiceMailbox: 1234
Fullname: Example Mailbox
Email: root@localhost
Pager: 
ServerEmail: asterisk
FromString: 
MailCommand: /usr/sbin/sendmail -t
Language: 
TimeZone: 
Callback: 
Dialout: 
UniqueID: 
ExitContext: 
SayDurationMinimum: 2
SayEnvelope: Yes
SayCID: No
AttachMessage: Yes
AttachmentFormat: 
DeleteMessage: No
VolumeGain: 0.00
CanReview: No
CallOperator: No
MaxMessageCount: 100
MaxMessageLength: 0
NewMessageCount: 6

See also