Asterisk ami-event: Difference between revisions

From 탱이의 잡동사니
Jump to navigation Jump to search
 
(167 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>
 
<pre>
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


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


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
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AGIExecEnd
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
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AGI


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 ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AorDetail
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AorDetail


== BridgeCreate ==
== AsyncAGIEnd ==
Riased when a bridge is created.
Raised when a channel stops AsyncAGI command processing


Class : CALL
Class : AGI
<pre>
<pre>
Event: BridgeCreate
Event: AsyncAGIEnd
BridgeUniqueid: <value>
Channel: <value>
BridgeType: <value>
ChannelState: <value>
BridgeTechnology: <value>
ChannelStateDesc: <value>
BridgeCreator: <value>
CallerIDNum: <value>
BridgeName: <value>
CallerIDName: <value>
BridgeNumChannels: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
</pre>
</pre>
* BridgeUniqueid
* Channel
* BridgeType : The type of bridge
* ChannelState
* BridgeTechnology : Technology in use by the bridge.
* ChannelStateDesc
* BridgeCreator : Entity that created the bridge if applicable.
* CallerIDNum
* BridgeName : Name used to refer to the bridge by its BridgeCreator if applicable.
* CallerIDName
* BridgeNumChannels : Number of channels in the bridge.
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIExec
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AGI
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_AGI
 
== AsyncAGIExec ==
Raised when AsyncAGI completes an AGI command.


=== Example ===
Class : AGI
<pre>
<pre>
Event: BridgeCreate
Event: AsyncAGIExec
Privilege: call,all
Channel: <value>
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
BridgeType: basic
BridgeTechnology: simple_bridge
BridgeCreator: <unknown>
BridgeName: <unknown>
BridgeNumChannels: 0
</pre>
 
=== See also ===
* 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
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeLeave
 
== BridgeDestroy ==
<pre>
Event: BridgeDestroy
Privilege: call,all
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
BridgeType: basic
BridgeTechnology: simple_bridge
BridgeCreator: <unknown>
BridgeName: <unknown>
BridgeNumChannels: 0
</pre>
 
== BridgeEnter ==
Channel 이 Bridge 로 들어왔음을 나타낸다.
<pre>
Event: BridgeEnter
BridgeUniqueid: <value>
BridgeType: <value>
BridgeTechnology: <value>
BridgeCreator: <value>
BridgeName: <value>
BridgeNumChannels: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
ChannelStateDesc: <value>
ChannelStateDesc: <value>
Line 1,136: Line 1,304:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
SwapUniqueid: <value>
[CommandID:] <value>
Result: <value>
</pre>
</pre>
* BridgeUniqueid
* Channel
* BridgeType : The type of bridge
* ChannelState
* BridgeTechnology : Technology in use by the bridge.
* ChannelStateDesc
* 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
* CallerIDNum
* CallerIDName
* CallerIDName
Line 1,156: Line 1,319:
* Priority
* Priority
* Uniqueid
* Uniqueid
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Linkedid
* SwapUniqueid : The uniqueid of the channel being swapped out of the bridge.
* CommandID : Optional command ID sent by the AsyncAGI server identify the command.
* Result : URL encoded result string from the executed AGI command.


=== Example ===
=== Example ===
<pre>
<pre>
Event: BridgeEnter
Event: AsyncAGIExec
Privilege: call,all
Privilege: agi,all
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
Channel: PJSIP/pjagent-02-00000006
BridgeType: basic
BridgeTechnology: simple_bridge
BridgeCreator: <unknown>
BridgeName: <unknown>
BridgeNumChannels: 1
Channel: SIP/test-04-0000019b
ChannelState: 6
ChannelState: 6
ChannelStateDesc: Up
ChannelStateDesc: Up
CallerIDNum: test-04
CallerIDNum: pjagent-02
CallerIDName: <unknown>
CallerIDName: pjagent-02
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
ConnectedLineName: <unknown>
Language: en
Language: en
AccountCode:  
AccountCode:  
Context: common-incoming
Context: sample-agi-async
Exten:  
Exten: s
Priority: 1
Priority: 2
Uniqueid: 1447438716.469
Uniqueid: 1516568222.6
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 1516568222.6
Result: 200%20result%3D0%0A
CommandId: 77cdcf4c-feed-11e7-bd12-5b24ee4818c3
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeEnter
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIExec
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeCreate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeDestroy
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeLeave
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AGI
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_AGI
 
== AsyncAGIStart ==
Raised when a channel starts AsyncAGI command processing.


== BridgeLeave ==
Class : AGI
<pre>
<pre>
Event: BridgeLeave
Event: AsyncAGIStart
Privilege: call,all
Channel: <value>
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
ChannelState: <value>
BridgeType: basic
ChannelStateDesc: <value>
BridgeTechnology: simple_bridge
CallerIDNum: <value>
BridgeCreator: <unknown>
CallerIDName: <value>
BridgeName: <unknown>
ConnectedLineNum: <value>
BridgeNumChannels: 1
ConnectedLineName: <value>
Channel: SIP/test-04-0000019b
AccountCode: <value>
ChannelState: 6
Context: <value>
ChannelStateDesc: Up
Exten: <value>
CallerIDNum: test-04
Priority: <value>
CallerIDName: <unknown>
Uniqueid: <value>
ConnectedLineNum: <unknown>
Linkedid: <value>
ConnectedLineName: <unknown>
Env: <value>
Language: en
AccountCode:  
Context: common-incoming
Exten:  
Priority: 1
Uniqueid: 1447438716.469
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
</pre>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
* Env : URL encoded string read from the AsyncAGI server.


== DeviceStateChange ==
=== Example ===
Device의 state 가 변경되었음을 나타낸다.
==== Normal ====
 
ExtensionStatus 이벤트는 dialplan hints 와 연관된 내용에만 발생하는 것에 반해, DeviceStateChange 이벤트는 모든 device state 의 변경에 발생한다는 것이 다르다.
<pre>
<pre>
Event: DeviceStateChange
Event: AsyncAGIStart
Device: <value>
Privilege: agi,all
State: <value>
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>
</pre>
* Device : state 가 변경된 device
* Decoded Env info
* State : 변경된 state
 
=== Example ===
<pre>
<pre>
Event: DeviceStateChange
agi_request: async
Privilege: call,all
agi_channel: PJSIP/pjagent-02-00000000
Device: SIP/trunk_test_1
agi_language: en
State: RINGING
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>
</pre>


=== 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_AsyncAGIStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ExtensionStatus
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIExec
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AGI
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_AGI
 
== 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.


== DialBegin ==
Class : CALL
<pre>
<pre>
Event: DialBegin
Event: AttendedTransfer
Privilege: call,all
Result: <value>
DestChannel: SIP/trunk_test_1-0000019a
OrigTransfererChannel: <value>
DestChannelState: 0
OrigTransfererChannelState: <value>
DestChannelStateDesc: Down
OrigTransfererChannelStateDesc: <value>
DestCallerIDNum: <unknown>
OrigTransfererCallerIDNum: <value>
DestCallerIDName: <unknown>
OrigTransfererCallerIDName: <value>
DestConnectedLineNum: <unknown>
OrigTransfererConnectedLineNum: <value>
DestConnectedLineName: <unknown>
OrigTransfererConnectedLineName: <value>
DestLanguage: en
OrigTransfererAccountCode: <value>
DestAccountCode:  
OrigTransfererContext: <value>
DestContext: from_provider
OrigTransfererExten: <value>
DestExten:  
OrigTransfererPriority: <value>
DestPriority: 1
OrigTransfererUniqueid: <value>
DestUniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
OrigTransfererLinkedid: <value>
DestLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
OrigBridgeUniqueid: <value>
DialString: 1237764000@trunk_test_1
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>
</pre>
</pre>


== DialEnd ==
=== See also ===
Dial 이 종료되었음을 알려준다.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AttendedTransfer
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Atxfer
 
== AuthDetail ==
Provide details about an authentication section.


Class : CALL
Class : COMMAND
<pre>
<pre>
Event: DialEnd
Event: AuthDetail
Channel: <value>
ObjectType: <value>
ChannelState: <value>
ObjectName: <value>
ChannelStateDesc: <value>
Username: <value>
CallerIDNum: <value>
Password: <value>
CallerIDName: <value>
Md5Cred: <value>
ConnectedLineNum: <value>
Realm: <value>
ConnectedLineName: <value>
NonceLifetime: <value>
AccountCode: <value>
AuthType: <value>
EndpointName: <value>
</pre>
* 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 ===
<pre>
Event: AuthDetail
ObjectType: auth
ObjectName: 199
Username: 199
Md5Cred:
Realm:
AuthType: userpass
Password: 199199
NonceLifetime: 32
EndpointName: 199
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AuthDetail
 
== AuthMethodNotAllowed ==
Raised when a request used an authentication method not allowed by the service.
 
Class : SECURITY
<pre>
Event: AuthMethodNotAllowed
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
AuthMethod: <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.
* 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 ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AuthMethodNotAllowed
 
== BlindTransfer ==
Raised when a blind transfer is complete.
 
Class : CALL
<pre>
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>
Context: <value>
Exten: <value>
Extension: <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>
</pre>
</pre>
* Channel : Channel name.
* Result : Transfer 요청이 성공했는지 실패했는지를 나타낸다.
* ChannelState : Channel's state.
: Fail : An internal error occurred.
* ChannelStateDesc : Channel's state description.
: Invalid : Invalid configuration for transfer(e.g. Not bridge)
* CallerIDNum :
: Not Permitted : Bridge does not permit transfers.
* CallerIDName :
: 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.).
* ConnectedLineNum :
* TransfererChannel
* ConnectedLineName :
* TransfererChannelState
* AccountCode :
* TransfererChannelStateDesc
* Context :
* TransfererCallerIDNum
* Exten :
* TransfererCallerIDName
* Priority :
* TransfererConnectedLineNum
* Uniqueid :
* TransfererConnectedLineName
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* TransfererAccountCode
* DestChannel : Destination channel name.
* TransfererContext
* DestChannelState : Destination channel's state.
* TransfererExten
* DestChannelStateDesc : Destination channel's state description.
* TransfererPriority
* DestCallerIDNum :
* TransfererUniqueid
* DestCallerIDName :
* TransfererLinkedid
* DestAccountCode :
* TransfereeChannel
* DestExten :
* TransfereeChannelState
* DestPriority :
* TransfereeChannelStateDesc
* DestUniqueid :
* TransfereeCallerIDNum
* DestLinkedid :
* TransfereeCallerIDName
* DialStatus : The result of the dial operation.
* TransfereeConnectedLineNum
* Forward : If the call was forwarded, where the call was forward to.
* 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 ===
=== Example ===
==== Success ====
<pre>
<pre>
Event: DialEnd
Event: BlindTransfer
Privilege: call,all
Privilege: call,all
Channel: SIP/300-00000008
Result: Success
ChannelState: 4
TransfererChannel: SIP/agent-01-00000005
ChannelStateDesc: Ring
TransfererChannelState: 6
CallerIDNum: 300
TransfererChannelStateDesc: Up
CallerIDName: <unknown>
TransfererCallerIDNum: agent-01
ConnectedLineNum: <unknown>
TransfererCallerIDName: <unknown>
ConnectedLineName: <unknown>
TransfererConnectedLineNum: <unknown>
Language: en
TransfererConnectedLineName: <unknown>
AccountCode:  
TransfererLanguage: en
Context: queue_sales
TransfererAccountCode:  
Exten: s
TransfererContext: park-dial
Priority: 2
TransfererExten: SIP_agent-01
Uniqueid: 1480668413.15
TransfererPriority: 1
Linkedid: 1480668413.15
TransfererUniqueid: 1481706048.11
DestChannel: SIP/agent-03-00000009
TransfererLinkedid: 1481706048.11
DestChannelState: 6
TransfereeChannel: SIP/agent-01-00000006
DestChannelStateDesc: Up
TransfereeChannelState: 6
DestCallerIDNum: <unknown>
TransfereeChannelStateDesc: Up
DestCallerIDName: <unknown>
TransfereeCallerIDNum: SIP_agent-01
DestConnectedLineNum: 300
TransfereeCallerIDName: <unknown>
DestConnectedLineName: <unknown>
TransfereeConnectedLineNum: agent-01
DestLanguage: en
TransfereeConnectedLineName: <unknown>
DestAccountCode:  
TransfereeLanguage: en
DestContext: public
TransfereeAccountCode:  
DestExten: s
TransfereeContext: public
DestPriority: 1
TransfereeExten:  
DestUniqueid: 1480668414.16
TransfereePriority: 1
DestLinkedid: 1480668413.15
TransfereeUniqueid: 1481706093.12
DialStatus: ANSWER
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>
</pre>
==== Fail ====
<pre>
<pre>
Event: DialEnd
Event: BlindTransfer
Privilege: call,all
Privilege: call,all
Channel: SIP/300-0000001b
Result: Invalid
ChannelState: 4
TransfererChannel: SIP/agent-01-00000002
ChannelStateDesc: Ring
TransfererChannelState: 6
CallerIDNum: 300
TransfererChannelStateDesc: Up
CallerIDName: <unknown>
TransfererCallerIDNum: agent-01
ConnectedLineNum: <unknown>
TransfererCallerIDName: <unknown>
ConnectedLineName: <unknown>
TransfererConnectedLineNum: <unknown>
Language: en
TransfererConnectedLineName: <unknown>
AccountCode:  
TransfererLanguage: en
Context: queue_sales
TransfererAccountCode:  
Exten: s
TransfererContext: sample_park
Priority: 2
TransfererExten: s
Uniqueid: 1480670638.49
TransfererPriority: 2
Linkedid: 1480670638.49
TransfererUniqueid: 1481705835.4
DestChannel: SIP/agent-02-0000001d
TransfererLinkedid: 1481705835.4
DestChannelState: 5
BridgeUniqueid: 299de6ea-1dc7-4144-9e46-d6513723333e
DestChannelStateDesc: Ringing
BridgeType: parking
DestCallerIDNum: <unknown>
BridgeTechnology: holding_bridge
DestCallerIDName: <unknown>
BridgeCreator: Parking
DestConnectedLineNum: 300
BridgeName: default
DestConnectedLineName: <unknown>
BridgeNumChannels: 1
DestLanguage: en
IsExternal: Yes
DestAccountCode:
Context: sample_musiconhold
DestContext: public
Extension: s
DestExten: s
</pre>
DestPriority: 1
DestUniqueid: 1480670639.51
DestLinkedid: 1480670638.49
DialStatus: NOANSWER
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BlindTransfer
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Dial
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_BlindTransfer
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Originate
 
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Originate
== BridgeCreate ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialBegin
Riased when a bridge is created.


== Hangup ==
Class : CALL
채널이 종료되었음을 알려준다.
<pre>
<pre>
Event: Hangup
Event: BridgeCreate
Channel: <value>
BridgeUniqueid: <value>
ChannelState: <value>
BridgeType: <value>
ChannelStateDesc: <value>
BridgeTechnology: <value>
CallerIDNum: <value>
BridgeCreator: <value>
CallerIDName: <value>
BridgeName: <value>
ConnectedLineNum: <value>
BridgeNumChannels: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Cause: <value>
Cause-txt: <value>
</pre>
</pre>
* Channel
* BridgeUniqueid
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
* BridgeType : The type of bridge
* ChannelStateDesc : Channel state description 참조.
* BridgeTechnology : Technology in use by the bridge.
* CallerIDNum
* BridgeCreator : Entity that created the bridge if applicable.
* CallerIDName
* BridgeName : Name used to refer to the bridge by its BridgeCreator if applicable.
* ConnectedLineNum
* BridgeNumChannels : Number of channels in the bridge.
* ConnectedLineName
 
* AccountCode
=== Example ===
* Context
<pre>
* Exten
Event: BridgeCreate
* Priority
Privilege: call,all
* Uniqueid
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
* Linkedid - Uniqueid of the oldest channel associated with this channel.
BridgeType: basic
* Cause - A numeric cause code for why the channel was hung up.
BridgeTechnology: simple_bridge
* Cause-txt - A description of why the channel was hung up.
BridgeCreator: <unknown>
BridgeName: <unknown>
BridgeNumChannels: 0
</pre>
 
=== See also ===
* 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
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeLeave
 
== BridgeDestroy ==
Raised when a bridge is destroyed.


'''Cause'''
Class : CALL
<pre>
<pre>
/*! \name Causes for disconnection (from Q.850/Q.931)
Event: BridgeDestroy
*  These are the internal cause codes used in Asterisk.
BridgeUniqueid: <value>
*  \ref AstCauses
BridgeType: <value>
*/
BridgeTechnology: <value>
/*@{ */
BridgeCreator: <value>
#define AST_CAUSE_UNALLOCATED                    1
BridgeName: <value>
#define AST_CAUSE_NO_ROUTE_TRANSIT_NET          2
BridgeNumChannels: <value>
#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>
* 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 ===
=== Example ===
<pre>
<pre>
Event: Hangup
Event: BridgeDestroy
Privilege: call,all
Privilege: call,all
Channel: SIP/agent-01-00000003
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
ChannelState: 6
BridgeType: basic
ChannelStateDesc: Up
BridgeTechnology: simple_bridge
CallerIDNum: agent-01
BridgeCreator: <unknown>
CallerIDName: <unknown>
BridgeName: <unknown>
ConnectedLineNum: <unknown>
BridgeNumChannels: 0
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample_musiconhold
Exten: s
Priority: 3
Uniqueid: 1480425486.6
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_BridgeDestroy
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newchannel
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeCreate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SoftHangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeEnter
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeLeave
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newstate


== HangupHandlerPop ==
== BridgeEnter ==
Raised when a hangup handler is removed from the handler stack by the CHANNEL() function.
Channel 이 Bridge 로 들어왔음을 나타낸다.
<pre>
<pre>
Event: HangupHandlerPop
Event: BridgeEnter
BridgeUniqueid: <value>
BridgeType: <value>
BridgeTechnology: <value>
BridgeCreator: <value>
BridgeName: <value>
BridgeNumChannels: <value>
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 1,548: Line 1,889:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Handler: <value>
SwapUniqueid: <value>
</pre>
</pre>
* Channel
* 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.
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* ChannelStateDesc : Channel state description 참조.
* ChannelStateDesc : Channel state description 참조.
Line 1,563: Line 1,910:
* Uniqueid
* Uniqueid
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Handler : Hangup handler parameter string passed to the Gosub application.
* SwapUniqueid : The uniqueid of the channel being swapped out of the bridge.


=== See also ===
=== Example ===
* 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
 
== HangupRequest ==
Hangup request 가 왔음을 알려준다.
<pre>
<pre>
Event: HangupRequest
Event: BridgeEnter
Channel: <value>
Privilege: call,all
ChannelState: <value>
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
ChannelStateDesc: <value>
BridgeType: basic
CallerIDNum: <value>
BridgeTechnology: simple_bridge
CallerIDName: <value>
BridgeCreator: <unknown>
ConnectedLineNum: <value>
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
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeEnter
* 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_BridgeLeave
 
== BridgeInfoChannel ==
Information about a channel in a bridge.
 
Class : COMMAND
<pre>
Event: BridgeInfoChannel
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
ConnectedLineName: <value>
AccountCode: <value>
AccountCode: <value>
Line 1,587: Line 1,963:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Cause: <value>
</pre>
</pre>
 
* Channel
== LocalBridge ==
* ChannelState
<pre>
* ChannelStateDesc
Event: LocalBridge
* CallerIDNum
Privilege: call,all
* CallerIDName
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
* ConnectedLineNum
LocalOneChannelState: 0
* ConnectedLineName
LocalOneChannelStateDesc: Down
* AccountCode
LocalOneCallerIDNum: <unknown>
* Context
LocalOneCallerIDName: <unknown>
* Exten
LocalOneConnectedLineNum: <unknown>
* Priority
LocalOneConnectedLineName: <unknown>
* Uniqueid
LocalOneLanguage: en
* Linkedid
LocalOneAccountCode:
 
LocalOneContext: common-incoming
=== See also ===
LocalOneExten: test-04
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeInfoChannel
LocalOnePriority: 1
 
LocalOneUniqueid: 1447438716.467
== BridgeInfoComplete ==
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Information about a bridge.
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
 
LocalTwoChannelState: 4
Class : COMMAND
LocalTwoChannelStateDesc: Ring
<pre>
LocalTwoCallerIDNum: <unknown>
Event: BridgeInfoComplete
LocalTwoCallerIDName: <unknown>
BridgeUniqueid: <value>
LocalTwoConnectedLineNum: <unknown>
BridgeType: <value>
LocalTwoConnectedLineName: <unknown>
BridgeTechnology: <value>
LocalTwoLanguage: en
BridgeCreator: <value>
LocalTwoAccountCode:  
BridgeName: <value>
LocalTwoContext: common-incoming
BridgeNumChannels: <value>
LocalTwoExten: test-04
LocalTwoPriority: 1
LocalTwoUniqueid: 1447438716.468
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Context: common-incoming
Exten: test-04
LocalOptimization: Yes
</pre>
</pre>
* 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 ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeInfoComplete
== BridgeLeave ==
Raised when a channel leaves a bridge.


== LocalOptimizationBegin ==
Class : CALL
<pre>
<pre>
Event: LocalOptimizationBegin
Event: BridgeLeave
Privilege: call,all
BridgeUniqueid: <value>
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
BridgeType: <value>
LocalOneChannelState: 6
BridgeTechnology: <value>
LocalOneChannelStateDesc: Up
BridgeCreator: <value>
LocalOneCallerIDNum: <unknown>
BridgeName: <value>
LocalOneCallerIDName: <unknown>
BridgeNumChannels: <value>
LocalOneConnectedLineNum: <unknown>
Channel: <value>
LocalOneConnectedLineName: <unknown>
ChannelState: <value>
LocalOneLanguage: en
ChannelStateDesc: <value>
LocalOneAccountCode:  
CallerIDNum: <value>
LocalOneContext: common-incoming
CallerIDName: <value>
LocalOneExten:  
ConnectedLineNum: <value>
LocalOnePriority: 1
ConnectedLineName: <value>
LocalOneUniqueid: 1447438716.467
AccountCode: <value>
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Context: <value>
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
Exten: <value>
LocalTwoChannelState: 6
Priority: <value>
LocalTwoChannelStateDesc: Up
Uniqueid: <value>
LocalTwoCallerIDNum: <unknown>
Linkedid: <value>
LocalTwoCallerIDName: <unknown>
</pre>
LocalTwoConnectedLineNum: <unknown>
* BridgeUniqueid
LocalTwoConnectedLineName: <unknown>
* BridgeType : The type of bridge.
LocalTwoLanguage: en
* BridgeTechnology : Technology in use by the bridge.
LocalTwoAccountCode:  
* BridgeCreator : Entity that created the bridge if applicable.
LocalTwoContext: common-incoming
* BridgeName : Name used to the bridge by its BridgeCreator if applicable.
LocalTwoExten: test-04
* BridgeNumChannels : Number of channels in the bridge.
LocalTwoPriority: 1
* Channel
LocalTwoUniqueid: 1447438716.468
* ChannelState
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
* ChannelStateDesc
SourceChannel: SIP/test-04-0000019b
* CallerIDNum
SourceChannelState: 6
* CallerIDName
SourceChannelStateDesc: Up
* ConnectedLineNum
SourceCallerIDNum: test-04
* ConnectedLineName
SourceCallerIDName: <unknown>
* AccountCode
SourceConnectedLineNum: <unknown>
* Context
SourceConnectedLineName: <unknown>
* Exten
SourceLanguage: en
* Priority
SourceAccountCode:
* Uniqueid
SourceContext: common-incoming
* Linkedid
SourceExten:
SourcePriority: 1
SourceUniqueid: 1447438716.469
SourceLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestUniqueId: 1447438716.468
Id: 5
</pre>


== LocalOptimizationEnd ==
=== Example ===
<pre>
<pre>
Event: LocalOptimizationEnd
Event: BridgeLeave
Privilege: call,all
Privilege: call,all
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
LocalOneChannelState: 6
BridgeType: basic
LocalOneChannelStateDesc: Up
BridgeTechnology: simple_bridge
LocalOneCallerIDNum: <unknown>
BridgeCreator: <unknown>
LocalOneCallerIDName: <unknown>
BridgeName: <unknown>
LocalOneConnectedLineNum: <unknown>
BridgeNumChannels: 1
LocalOneConnectedLineName: <unknown>
Channel: SIP/test-04-0000019b
LocalOneLanguage: en
ChannelState: 6
LocalOneAccountCode:  
ChannelStateDesc: Up
LocalOneContext: common-incoming
CallerIDNum: test-04
LocalOneExten:  
CallerIDName: <unknown>
LocalOnePriority: 1
ConnectedLineNum: <unknown>
LocalOneUniqueid: 1447438716.467
ConnectedLineName: <unknown>
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Language: en
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
AccountCode:  
LocalTwoChannelState: 6
Context: common-incoming
LocalTwoChannelStateDesc: Up
Exten:  
LocalTwoCallerIDNum: <unknown>
Priority: 1
LocalTwoCallerIDName: <unknown>
Uniqueid: 1447438716.469
LocalTwoConnectedLineNum: <unknown>
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
LocalTwoConnectedLineName: <unknown>
</pre>
LocalTwoLanguage: en
 
LocalTwoAccountCode:  
=== See also ===
LocalTwoContext: common-incoming
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeLeave
LocalTwoExten: test-04
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeCreate
LocalTwoPriority: 1
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeDestroy
LocalTwoUniqueid: 1447438716.468
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeEnter
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
 
Success: No
== BridgeMerge ==
Id: 5
Raised when two bridges are merged.
 
Class : CALL
<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>
</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.


== MusicOnHoldStart ==
Class : CDR
채널에서 Music on hold 가 시작되었음을 알려준다.
<pre>
<pre>
Event: MusicOnHoldStart
Event: Cdr
AccountCode: <value>
Source: <value>
Destination: <value>
DestinationContext: <value>
CallerID: <value>
Channel: <value>
Channel: <value>
ChannelState: <value>
DestinationChannel: <value>
ChannelStateDesc: <value>
LastApplication: <value>
CallerIDNum: <value>
LastData: <value>
CallerIDName: <value>
StartTime: <value>
ConnectedLineNum: <value>
AnswerTime: <value>
ConnectedLineName: <value>
EndTime: <value>
AccountCode: <value>
Duration: <value>
BillableSeconds: <value>
Disposition: <value>
AMAFlags: <value>
UniqueID: <value>
UserField: <value>
</pre>
* 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 ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Cdr
 
== CEL ==
Raised when a Channel Event Log is generated for a channel.
 
Class : CEL
<pre>
Event: CEL
EventName: <value>
AccountCode: <value>
CallerIDnum: <value>
CallerIDname: <value>
CallerIDani: <value>
CallerIDrdnis: <value>
CallerIDdnid: <value>
Exten: <value>
Context: <value>
Context: <value>
Exten: <value>
Application: <value>
Priority: <value>
AppData: <value>
Uniqueid: <value>
EventTime: <value>
Linkedid: <value>
AMAFlags: <value>
Class: <value>
UniqueID: <value>
LinkedID: <value>
UserField: <value>
Peer: <value>
PeerAccount: <value>
Extra: <value>
</pre>
</pre>
* Channel
* 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
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
: CHAN_START : A channel was created.
* channelStateDesc : Channel state description 참조.
: CHAN_END : A channel was terminated.
* CallerIDNum
: ANSWER : A channel answered.
* CallerIDName
: HANGUP : A channel was hung up.
* ConnectedLineNum
: BRIDGE_ENTER : A channel entered a bridge.
* ConnectedLineName
: BRIDGE_EXIT : A channel entered into a tacked application.
* AccountCode
: APP_START : A channel entered into a tacked application.
* Context
: APP_END : A channel left a tacked application.
* Exten
: PARK_START : A channel was parked.
* Priority
: PARK_END : A channel was unparked.
* Uniqueid
: BLINDTRANSFER : A channel initiated a blind transfer.
* Linkedid : Uniqueid of the oldest channel associated with this channel.
: PICKUP : A channel initiated a call pick up.
* Class : The class of music being played on the channel.
: 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 ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_CEL
 
== ChallengeResponseFailed ==
Raised when a request's attempt to authenticate has been challenged, and the request failed the authentication challenge.


=== Example ===
Class : SECRURITY
<pre>
<pre>
Event: MusicOnHoldStart
Event: ChallengeResponseFailed
Privilege: call,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
Challenge: <value>
AccountCode:  
Response: <value>
Context: from_provider
ExpectedResponse: <value>
Exten:  
[Module:] <value>
Priority: 1
[SessionTV:] <value>
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
</pre>
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
* EventTV : The time the event was detected.
Class: default
* Serverity :  A relative serverity of the security event.
</pre>
: 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 ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ChallengeResponseFailed
 
== ChallengeSent ==
인증과 관련된 시도가 있음을 나타낸다.


=== See also ===
Raised when an Asterisk service sends an authentication challenge to a request.
* 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


== Newchannel ==
Class : SECURITY
새로운 채널이 생성되었을 때 발생한다.
<pre>
<pre>
Event: Newchannel
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>
</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.
* 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 ===
=== Example ===
<pre>
<pre>
Event: Newchannel
Event: ChallengeSent
Privilege: call,all
Privilege: security,all
Channel: SIP/trunk_test_1-0000019a
EventTV: 2016-12-09T09:40:45.561+0000
ChannelState: 0
Severity: Informational
ChannelStateDesc: Down
Service: SIP
CallerIDNum: <unknown>
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: from_provider
</pre>
Exten: s
 
Priority: 1
=== See also ===
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ChallengeSent
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
 
== ContactStatus ==
Raised when the state of a contact changes.
 
Class: SYSTEM
<pre>
Event: ContactStatus
URI: <value>
ContactStatus: <value>
AOR: <value>
EndpointName: <value>
RoundtripUsec: <value>
UserAgent: <value>
RegExpire: <value>
ViaAddress: <value>
CallID: <value>
</pre>
* 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 ===
<pre>
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
</pre>
</pre>


== Newexten ==
=== See also ===
채널이 새로운 context, extension, priority 로 진입했을 때 발생한다.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_ContactStatus
 
== ContactStatusDetail ==
Provide details about a contact's status.
 
Class: COMMAND
<pre>
<pre>
Event: NewExten
Event: ContactStatusDetail
Channel: <value>
AOR: <value>
ChannelState: <value>
URI: <value>
ChannelStateDesc: <value>
Status: <value>
CallerIDNum: <value>
RoundtripUsec: <value>
CallerIDName: <value>
EndpointName: <value>
ConnectedLineNum: <value>
UserAgent: <value>
RegExpire: <value>
ViaAddress: <value>
CallID: <value>
ID: <value>
AuthenticateQualify: <value>
OutboundProxy: <value>
Path: <value>
QualifyFrequency: <value>
QualifyTimeout: <value>
</pre>
* 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 ===
<pre>
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
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_ContactStatusDetail
 
== CoreShowChannel ==
Raised in response to a CoreShowChannels command.
 
Class : CALL
<pre>
Event: CoreShowChannel
ActionID: <value>
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
ConnectedLineName: <value>
AccountCode: <value>
AccountCode: <value>
Line 1,830: Line 2,462:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Extension: <value>
BridgeId: <value>
Application: <value>
Application: <value>
AppData: <value>
ApplicationData: <value>
Duration: <value>
</pre>
</pre>
* Channel
* BridgeId: Identifier of the bridge the channel is in, may be empty if not in one.
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* Application: Application currently executing on the channel.
* ChannelStateDesc : Channel state description 참조.
* ApplicationData: Data given to the currently executing application.
* CallerIDNum
* Duration: The amount of time the channel has existed.
* CallerIDName
 
* ConnectedLineNum
=== Example ===
* ConnectedLineName
<pre>
* AccountCode
Event: CoreShowChannel
* Context
Channel: PJSIP/agent-01-0000000a
* Exten
ChannelState: 6
* Priority
ChannelStateDesc: Up
* Uniqueid
CallerIDNum: agent-01
* Linkedid : Uniqueid of the oldest channel associated with this channel.
CallerIDName: agent-01@pluto.pchero21.com
* Extension : Deprecated in 12, but kept for backward compatibility. Please use 'Exten' instead.
ConnectedLineNum: <unknown>
* 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>
ConnectedLineName: <unknown>
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: 1513280582.21
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 1513280582.21
Extension:  
Application: MusicOnHold
Application: AppDial2
ApplicationData:  
AppData: (Outgoing Line)
Duration: 00:00:32
BridgeId:  
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_NewExten
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_CoreShowChannel
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerAction_CoreShowChannels
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_CoreShowChannelsComplete


== Newstate ==
== DBGetResponse ==
Channel 의 state 의 변경되었음을 알려준다.
DBGet response message.
<pre>
<pre>
Event: Newstate
Event: DBGetResponse
Channel: <value>
Family: <value>
Key: <value>
Val: <value>
</pre>
* Family : Requested DBGet family.
* Key : Requested DBGet key.
* Val : Stored value.
 
=== Example ===
<pre>
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
</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.
 
Class : CALL
<pre>
Event: DialBegin
Channel: <value>
ChannelState: <value>
ChannelState: <value>
ChannelStateDesc: <value>
ChannelStateDesc: <value>
Line 1,894: Line 2,564:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
</pre>
DestChannel: <value>
* Channel
DestChannelState: <value>
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
DestChannelStateDesc: <value>
* ChannelStateDesc : Channel state description 참조.
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
* CallerIDNum
* CallerIDName
* CallerIDName
Line 1,907: Line 2,591:
* Priority
* Priority
* Uniqueid
* Uniqueid
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Linkedid
* DestChannel
* DestChannelState
* DestChannelStateDesc
* DestAccountCode
* DestContext
* DestExten
* DestUniqueid
* DestLinkedid
* DialString : The non-technology specific device being dialed.


=== Example ===
=== Example ===
<pre>
<pre>
Event: Newstate
Event: DialBegin
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 1,922: Line 2,615:
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
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
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newstate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialBegin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newchannel
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Dial
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup
* 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 이 종료되었음을 알려준다.


== OriginateResponse ==
Class : CALL
<pre>
<pre>
Event: OriginateResponse
Event: DialEnd
[ActionID:] <value>
Response: <value>
Channel: <value>
Channel: <value>
Context: <value>
ChannelState: <value>
Exten: <value>
ChannelStateDesc: <value>
Reason: <value>
Uniqueid: <value>
CallerIDNum: <value>
CallerIDNum: <value>
CallerIDName: <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>
</pre>
</pre>
* ActionID
* Channel : Channel name.
* Response
* ChannelState : Channel's state.
* * Failure
* ChannelStateDesc : Channel's state description.
* * Success
* CallerIDNum :
* Channel
* CallerIDName :
* Context
* ConnectedLineNum :
* Exten
* ConnectedLineName :
* Reason
* AccountCode :
* Uniqueid
* Context :
* CallerIDNum
* Exten :
* CallerIDName
* 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.


'''Reason'''
=== Example ===
 
Reason code 내용은 다음과 같다(asterisk/frame.h).
<pre>
<pre>
AST_CONTROL_HANGUP = 1, /*!< Other end has hungup */
Event: DialEnd
AST_CONTROL_RING = 2, /*!< Local ring */
Privilege: call,all
AST_CONTROL_RINGING = 3, /*!< Remote end is ringing */
Channel: SIP/300-00000008
AST_CONTROL_ANSWER = 4, /*!< Remote end has answered */
ChannelState: 4
AST_CONTROL_BUSY = 5, /*!< Remote end is busy */
ChannelStateDesc: Ring
AST_CONTROL_TAKEOFFHOOK = 6, /*!< Make it go off hook */
CallerIDNum: 300
AST_CONTROL_OFFHOOK = 7, /*!< Line is off hook */
CallerIDName: <unknown>
AST_CONTROL_CONGESTION = 8, /*!< Congestion (circuits busy) */
ConnectedLineNum: <unknown>
AST_CONTROL_FLASH = 9, /*!< Flash hook */
ConnectedLineName: <unknown>
AST_CONTROL_WINK = 10, /*!< Wink */
Language: en
AST_CONTROL_OPTION = 11, /*!< Set a low-level option */
AccountCode:
AST_CONTROL_RADIO_KEY = 12, /*!< Key Radio */
Context: queue_sales
AST_CONTROL_RADIO_UNKEY = 13, /*!< Un-Key Radio */
Exten: s
AST_CONTROL_PROGRESS = 14, /*!< Indicate PROGRESS */
Priority: 2
AST_CONTROL_PROCEEDING = 15, /*!< Indicate CALL PROCEEDING */
Uniqueid: 1480668413.15
AST_CONTROL_HOLD = 16, /*!< Indicate call is placed on hold */
Linkedid: 1480668413.15
AST_CONTROL_UNHOLD = 17, /*!< Indicate call is left from hold */
DestChannel: SIP/agent-03-00000009
AST_CONTROL_VIDUPDATE = 18, /*!< Indicate video frame update */
DestChannelState: 6
_XXX_AST_CONTROL_T38 = 19, /*!< T38 state change request/notification \deprecated This is no longer supported. Use AST_CONTROL_T38_PARAMETERS instead. */
DestChannelStateDesc: Up
AST_CONTROL_SRCUPDATE = 20, /*!< Indicate source of media has changed */
DestCallerIDNum: <unknown>
AST_CONTROL_TRANSFER = 21, /*!< Indicate status of a transfer request */
DestCallerIDName: <unknown>
AST_CONTROL_CONNECTED_LINE = 22,/*!< Indicate connected line has changed */
DestConnectedLineNum: 300
AST_CONTROL_REDIRECTING = 23, /*!< Indicate redirecting id has changed */
DestConnectedLineName: <unknown>
AST_CONTROL_T38_PARAMETERS = 24,/*!< T38 state change request/notification with parameters */
DestLanguage: en
AST_CONTROL_CC = 25, /*!< Indication that Call completion service is possible */
DestAccountCode:  
AST_CONTROL_SRCCHANGE = 26, /*!< Media source has changed and requires a new RTP SSRC */
DestContext: public
AST_CONTROL_READ_ACTION = 27, /*!< Tell ast_read to take a specific action */
DestExten: s
AST_CONTROL_AOC = 28, /*!< Advice of Charge with encoded generic AOC payload */
DestPriority: 1
AST_CONTROL_END_OF_Q = 29, /*!< Indicate that this position was the end of the channel queue for a softhangup. */
DestUniqueid: 1480668414.16
AST_CONTROL_INCOMPLETE = 30, /*!< Indication that the extension dialed is incomplete */
DestLinkedid: 1480668413.15
AST_CONTROL_MCID = 31, /*!< Indicate that the caller is being malicious. */
DialStatus: ANSWER
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().) */
 
/*
  * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
  *
  * IAX2 sends these values out over the wire.  To prevent future
  * 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
  * must be greater than the allowed value for a 8-bit char, so that they avoid
  * 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'''
<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>"
 
"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>
</pre>
 
<pre>
== ParkedCall ==
Event: DialEnd
Channel 이 parked 되었을 때 발생한다.
Privilege: call,all
<pre>
Channel: SIP/300-0000001b
Event: ParkedCall
ChannelState: 4
ParkeeChannel: <value>
ChannelStateDesc: Ring
ParkeeChannelState: <value>
CallerIDNum: 300
ParkeeChannelStateDesc: <value>
CallerIDName: <unknown>
ParkeeCallerIDNum: <value>
ConnectedLineNum: <unknown>
ParkeeCallerIDName: <value>
ConnectedLineName: <unknown>
ParkeeConnectedLineNum: <value>
Language: en
ParkeeConnectedLineName: <value>
AccountCode:
ParkeeAccountCode: <value>
Context: queue_sales
ParkeeContext: <value>
Exten: s
ParkeeExten: <value>
Priority: 2
ParkeePriority: <value>
Uniqueid: 1480670638.49
ParkeeUniqueid: <value>
Linkedid: 1480670638.49
ParkeeLinkedid: <value>
DestChannel: SIP/agent-02-0000001d
ParkerDialString: <value>
DestChannelState: 5
Parkinglot: <value>
DestChannelStateDesc: Ringing
ParkingSpace: <value>
DestCallerIDNum: <unknown>
ParkingTimeout: <value>
DestCallerIDName: <unknown>
ParkingDuration: <value>
DestConnectedLineNum: 300
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode:  
DestContext: public
DestExten: s
DestPriority: 1
DestUniqueid: 1480670639.51
DestLinkedid: 1480670638.49
DialStatus: NOANSWER
</pre>
</pre>
* ParkeeChannel : Parked 된 채널 이름
* ParkeeChannelState : A numeric code for the channel's current state, related to ParkeeChannelStateDesc.
* ParkeeChannelStateDesc : Channel state description 참조.
* ParkeeCallerIDNum
* ParkeeCallerIDName
* ParkeeConnectedLineNum
* ParkeeConnectedLineName
* ParkeeAccountCode
* ParkeeContext
* ParkeeExten
* ParkeePriority
* ParkeeUniqueid
* ParkeeLinkedid : Uniqueid of the oldest channel associated with this channel.
* ParkeeDialString : Dial String that can be used to call back the parker on ParkingTimout.
* 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)


=== 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: ParkedCall
Event: DialState
Privilege: call,all
Privilege: call,all
ParkeeChannel: SIP/agent-01-00000001
Channel: SIP/agent-01-0000002d
ParkeeChannelState: 6
ChannelState: 4
ParkeeChannelStateDesc: Up
ChannelStateDesc: Ring
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: queue_sales
ParkeeExten: s
Exten: s
ParkeePriority: 2
Priority: 2
ParkeeUniqueid: 1480409788.2
Uniqueid: 1481281260.83
ParkeeLinkedid: 1480409788.2
Linkedid: 1481281260.83
ParkerDialString: SIP/agent-01
DestChannel: SIP/agent-03-0000002e
Parkinglot: default
DestChannelState: 5
ParkingSpace: 701
DestChannelStateDesc: Ringing
ParkingTimeout: 45
DestCallerIDNum: <unknown>
ParkingDuration: 0
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_ParkedCall
 
== ParkedCallGiveUp ==
=== Example ===
=== Example ===
<pre>
<pre>
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
</pre>
</pre>


== PeerStatus ==
== EndpointDetail ==
Peer 의 state 가 변경되었음을 알려준다.
Provide details about an endpoint section.
 
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.
 
=== Example ===
<pre>
<pre>
Event: PeerStatus
Event: EndpointDetail
ChannelType: <value>
ObjectType: endpoint
Peer: <value>
ObjectName: 199
PeerStatus: <value>
RpidImmediate: false
Cause: <value>
Webrtc: no
Address: <value>
DeviceStateBusyAt: 0
Port: <value>
T38UdptlMaxdatagram: 0
Time: <value>
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:  
</pre>
</pre>
* ChannelType : The channel technology of the peer.
 
* Peer : The name of the peer(including channel technology).
=== See also ===
* PeerStatus : New status of the peer.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_EndpointDetail
: Unknown
 
: Registered
== EndpointList ==
: Unregistered
Provide details about a contact's status.
: Rejected
 
: Lagged
Class : COMMAND
* Cause : The reason the status has changed.
<pre>
* Address : New address of the peer.
Event: EndpointList
* Port : New port for the peer.
ObjectType: <value>
* Time : Time it takes to reach the peer and receive a response.
ObjectName: <value>
Transport: <value>
Aor: <value>
Auths: <value>
OutboundAuths: <value>
DeviceState: <value>
ActiveChannels: <value>
</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: PeerStatus
Event: EndpointList
Privilege: system,all
ObjectType: endpoint
ChannelType: SIP
ObjectName: 199
Peer: SIP/agent-01
Transport:  
PeerStatus: Registered
Aor: 199
Address: 192.168.200.50:5060
Auths: 199
OutboundAuths:  
Contacts: 199/sip:199@172.17.42.1:32942;transport=ws;rtcweb-breaker=no,
DeviceState: Not in use
ActiveChannels:  
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_PeerStatus
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_EndpointList
 
== EndpointDetailComplete ==
Provide final information about endpoint details.
 
Class: COMMAND
<pre>
Event: EndpointDetailComplete
EventList: <value>
ListItems: <value>
</pre>
* EventList
* ListItems


== QueueCallerAbandon ==
=== Example ===
Queue 에 인입된 콜이 분배되기 전 Hangup 되었을 때 발생하는 이벤트이다.
<pre>
<pre>
Event: QueueCallerAbandon
Event: EndpointDetailComplete
Channel: <value>
EventList: Complete
ChannelState: <value>
ListItems: 4
ChannelStateDesc: <value>
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_EndpointDetailComplete
 
== ExtensionStatus ==
Raised when a hint changes due to a device state change.
 
Class : CALL
<pre>
Event: ExtensionStatus
Exten: <value>
Context: <value>
Hint: <value>
Status: <value>
StatusText: <value>
</pre>
* 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 ===
* 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 ===
<pre>
Event: FullyBooted
Privilege: system,all
Uptime: 908581
LastReload: 908581
Status: Fully Booted
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_FullyBooted
 
== Hangup ==
채널이 종료되었음을 알려준다.
<pre>
Event: Hangup
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDNum: <value>
CallerIDName: <value>
CallerIDName: <value>
Line 2,203: Line 3,254:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Queue: <value>
Cause: <value>
Position: <value>
Cause-txt: <value>
OriginalPosition: <value>
</pre>
HoldTime: <value>
</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
Line 2,222: Line 3,270:
* Uniqueid
* Uniqueid
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* Queue - The name of the queue.
* Cause - A numeric cause code for why the channel was hung up. See detail [[#Hangup cause]] above.
* Position - This channel's current position in the queue.
* Cause-txt - A description of why the channel was hung up.
* 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.


== QueueCallerJoin ==
=== Example ===
Queue 에 콜이 인입될 때 발생하는 이벤트이다.
<pre>
<pre>
Event: QueueCallerJoin
Event: Hangup
Channel: <value>
Privilege: call,all
ChannelState: <value>
Channel: SIP/agent-01-00000003
ChannelStateDesc: <value>
ChannelState: 6
CallerIDNum: <value>
ChannelStateDesc: Up
CallerIDName: <value>
CallerIDNum: agent-01
ConnectedLineNum: <value>
CallerIDName: <unknown>
ConnectedLineName: <value>
ConnectedLineNum: <unknown>
AccountCode: <value>
ConnectedLineName: <unknown>
Context: <value>
Language: en
Exten: <value>
AccountCode:
Priority: <value>
Context: sample_musiconhold
Uniqueid: <value>
Exten: s
Priority: 3
Uniqueid: 1480425486.6
Linkedid: 1480425486.6
Cause: 0
Cause-txt: Unknown
</pre>
 
=== 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
 
== HangupHandlerPop ==
Raised when a hangup handler is removed from the handler stack by the CHANNEL() function.
<pre>
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>
Linkedid: <value>
Queue: <value>
Handler: <value>
Position: <value>
Count: <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,261: Line 3,333:
* Priority
* Priority
* Uniqueid
* Uniqueid
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Queue - The name of the queue.
* Handler : Hangup handler parameter string passed to the Gosub application.
* Position - This channel's current position in the queue.
 
* Count - The total number of channels in the queue.
=== 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


=== Example ===
== HangupHandlerPush ==
<pre>
Raised when a hangup handler is added to the handler stack by the CHANNEL() function.
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>


== QueueCallerLeave ==
Class : DIALPLAN
Queue 에 인입된 콜이 빠져나갈 때 발생하는 이벤트이다.
<pre>
<pre>
Event: QueueCallerLeave
Event: HangupHandlerPush
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 2,306: Line 3,360:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Queue: <value>
Handler: <value>
Count: <value>
Position: <value>
</pre>
</pre>
* Channel
* Channel
* ChannelState - A numeric code for the channel's current state, related to ChannelStateDesc
* ChannelState
* ChannelStateDesc : Channel state description 참조.
* ChannelStateDesc
* CallerIDNum
* CallerIDNum
* CallerIDName
* CallerIDName
Line 2,323: Line 3,374:
* Priority
* Priority
* Uniqueid
* Uniqueid
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* Linkedid
* Queue - The name of the queue.
* Handler : Hangup handler parameter string passed to the Gosub application.
* Count - The total number of channels in the queue.
 
* Position - This channel's current position in the queue.
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPush
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPop
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL


=== Example ===
== HangupHandlerRun ==
<pre>
Raised when a hangup handler is about to be called.
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>


== QueueMemberAdded ==
Class : DIALPLAN
Queue 에 새롭게 멤버가 등록되었을 때 발생하는 이벤트 메시지이다.
<pre>
<pre>
Event: QueueMemberAdded
Event: HangupHandlerRun
Privilege: agent,all
Channel: <value>
Queue: Dragon
ChannelState: <value>
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
ChannelStateDesc: <value>
MemberName: Local/603-test-mac_address-what-ever-002-1@DialLine/n
CallerIDNum: <value>
Membership: dynamic
CallerIDName: <value>
Penalty: 0
ConnectedLineNum: <value>
CallsTaken: 0
ConnectedLineName: <value>
LastCall: 0
AccountCode: <value>
Status: 1
Context: <value>
Paused: 0
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Handler: <value>
</pre>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
* Handler


== QueueMemberPause ==
=== See also ===
Queue 멤버가 Pause 되었을 때 발생하는 이벤트이다.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerRun
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL
Event: QueueMemberPaused
 
Privilege: agent,all
== HangupRequest ==
Queue: Dragon
Hangup request 가 왔음을 알려준다.
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
MemberName: dummy_name
Paused: 0
Reason: Test pause
</pre>


== QueueMemberPenalty ==
Raised when a hangup is requested.
Queue 멤버의 Penalty 값이 조정되었을 때 발생하는 이벤트이다.


'''Example'''
Class : CALL
<pre>
<pre>
Event: QueueMemberPenalty
Event: HangupRequest
Privilege: agent,all
Channel: <value>
Queue: Dragon
ChannelState: <value>
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
ChannelStateDesc: <value>
Penalty: 100
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Cause: <value>
</pre>
</pre>
* 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]].


== QueueMemberRemoved ==
=== Example ===
Queue 에서 멤버가 Leave(삭제) 되었을 때 발생하는 이벤트이다.
 
'''Example'''
<pre>
<pre>
Event: QueueMemberRemoved
Event: HangupRequest
Privilege: agent,all
Privilege: call,all
Queue: Dragon
Channel: SIP/agent-01-0000002b
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
ChannelState: 6
MemberName: dummy_name
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>
</pre>


== QueueMemberRinginuse ==
=== See also ===
== QueueMemberStatus ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupRequest
Queue 의 멤버 상태 정보가 변경되었을 때, 발생한다.
* 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.
 
Class : CALL
<pre>
<pre>
Event: QueueMemberStatus
Event: Hold
Queue: <value>
Channel: <value>
MemberName: <value>
ChannelState: <value>
Interface: <value>
ChannelStateDesc: <value>
StateInterface: <value>
CallerIDNum: <value>
Membership: <value>
CallerIDName: <value>
Penalty: <value>
ConnectedLineNum: <value>
CallsTaken: <value>
ConnectedLineName: <value>
LastCall: <value>
AccountCode: <value>
Status: <value>
Context: <value>
Paused: <value>
Exten: <value>
Ringinuse: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
MusicClass: <value>
</pre>
</pre>
* Queue - The name of the queue.
* Channel
* MemberName - The name of the queue member.
* ChannelState
* Interface - The queue member's channel technology or location.
* ChannelStateDesc
* StateInterface - Channel technology or location from which to read device state changes.
* CallerIDNum
* Membership(dynamic, realtime, static)
* CallerIDName
* Penalty - The penalty associated with the queue member.
* ConnectedLineNum
* CallsTaken - The number of calls this queue member has serviced.
* ConnectedLineName
* LastCall - The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
* AccountCode
* 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)
* Context
* Paused(0, 1)
* Exten
* Ringinuse(0, 1)
* Priority
* Uniqueid
* Linkedid
* MusicClass : The suggested MusicClass, if provided.


'''Example'''
=== Example ===
<pre>
<pre>
Event: QueueMemberStatus
Event: Hold
Privilege: agent,all
Privilege: call,all
Queue: Camp200
Channel: SIP/agent-01-0000000c
Location: Local/200@DialCamp
ChannelState: 6
MemberName: user1
ChannelStateDesc: Up
Membership: static
CallerIDNum: agent-01
Penalty: 0
CallerIDName: agent-01@earth.pchero21.com
CallsTaken: 3
LastCall: 1447947996
Status: 6
Paused: 0
</pre>
 
== RTCPReceived ==
<pre>
Event: RTCPReceived
Privilege: reporting,all
Channel: SIP/test-04-0000019b
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: test-04
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
ConnectedLineName: <unknown>
Language: en
Language: en
AccountCode:  
AccountCode:  
Context: common-incoming
Context: sample_park
Exten:  
Exten: s
Priority: 1
Priority: 2
Uniqueid: 1447438716.469
Uniqueid: 1487768728.23
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 1487768728.23
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>
</pre>


== SoftHangupRequest ==
=== 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 ===
<pre>
<pre>
Event: SoftHangupRequest
Event: InboundRegistrationDetail
Privilege: call,all
ObjectType: aor
Channel: Local/test-04@common-incoming-0000000a;2
ObjectName: agent-01
ChannelState: 6
MinimumExpiration: 60
ChannelStateDesc: Up
DefaultExpiration: 3600
CallerIDNum: <unknown>
QualifyTimeout: 3.000000
CallerIDName: <unknown>
Mailboxes:
ConnectedLineNum: <unknown>
SupportPath: false
ConnectedLineName: <unknown>
VoicemailExtension:
Language: en
MaxContacts: 1
AccountCode:  
AuthenticateQualify: false
Context: common-incoming
Contact: agent-01/sip:65387014@10.1.27.127:60668
Exten: test-04
MaximumExpiration: 7200
Priority: 1
QualifyFrequency: 0
Uniqueid: 1447438716.468
RemoveExisting: true
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
OutboundProxy:
Cause: 16
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>
* 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 ===
* 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.
 
Class : SECURITY
<pre>
Event: InvalidAccountID
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
[Module:] <value>
[SessionTV:] <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.


== Status ==
=== Example ===
Raised in response to Status command.
<pre>
<pre>
Event: Status
Event: InvalidAccountID
[ActionID:] <value>
Privilege: security,all
Channel: <value>
EventTV: 2017-03-22T14:35:31.838+0000
ChannelState: <value>
Severity: Error
ChannelStateDesc: <value>
Service: AMI
CallerIDNum: <value>
EventVersion: 1
CallerIDName: <value>
AccountID: test
ConnectedLineNum: <value>
SessionID: 0x7f49878ee3b0
ConnectedLineName: <value>
LocalAddress: IPV4/TCP/0.0.0.0/5038
AccountCode: <value>
RemoteAddress: IPV4/TCP/127.0.0.1/49117
Context: <value>
SessionTV: 1970-01-01T00:00:00.000+0000
Exten: <value>
</pre>
Priority: <value>
 
Uniqueid: <value>
=== See also ===
Linkedid: <value>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_InvalidAccountID
Type: <value>
 
DNID: <value>
== InvalidPassword ==
TimeToHangup: <value>
Raised when a request provides an invalid password during an invalid password during an authentication attempt.
BridgeID: <value>
 
Linkedid: <value>
Class : SECURITY
Application: <value>
<pre>
Data: <value>
Event: InvalidPassword
Nativeformats: <value>
EventTV: <value>
Readformat: <value>
Severity: <value>
Readtrans: <value>
Service: <value>
Writeformat: <value>
EventVersion: <value>
Writetrans: <value>
AccountID: <value>
Callgroup: <value>
SessionID: <value>
Pickupgroup: <value>
LocalAddress: <value>
Seconds: <value>
RemoteAddress: <value>
[Module:] <value>
[SessionTV:] <value>
[Challenge:] <value>
[ReceivedChallenge:] <value>
[RecievedHash:] <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 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 ===
<pre>
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
</pre>
</pre>


=== 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_InvalidPassword


== UnParkedCall ==
== InvalidTransport ==
Raised when a chaneel leaves a parking lot because it was retrieved from the parking lot and reconnected.
Raised when a request attempts to use a transport not allowed by the Asterisk service.


Class : Call
Class : SECURITY
<pre>
<pre>
Event: UnParkedCall
Event: InvalidTransport
ParkeeChannel: <value>
EventTV: <value>
ParkeeChannelState: <value>
Severity: <value>
ParkeeChannelStateDesc: <value>
Service: <value>
ParkeeCallerIDNum: <value>
EventVersion: <value>
ParkeeCallerIDName: <value>
AccountID: <value>
ParkeeConnectedLineNum: <value>
SessionID: <value>
ParkeeConnectedLineName: <value>
LocalAddress: <value>
ParkeeAccountCode: <value>
RemoteAddress: <value>
ParkeeContext: <value>
AttemptedTransport: <value>
ParkeeExten: <value>
[Module:] <value>
ParkeePriority: <value>
[SessionTV:] <value>
ParkeeUniqueid: <value>
</pre>
ParkeeLinkedid: <value>
* EventTV : The time the event was detected.
ParkerChannel: <value>
* Severity : A relative severity of the security event.
ParkerChannelState: <value>
: Informational
ParkerChannelStateDesc: <value>
: Error
ParkerCallerIDNum: <value>
* Service : The Asterisk service that raised the security event.
ParkerCallerIDName: <value>
* EventVersion : The version of this event.
ParkerConnectedLineNum: <value>
* AccountID : The service account associated with the security event notification.
ParkerConnectedLineName: <value>
* SessionID : A unique identifier for the session in the service that raised the event.
ParkerAccountCode: <value>
* LocalAddress : The address of the Asterisk service that raised the security event.
ParkerContext: <value>
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
ParkerExten: <value>
* AttemptedTransfer : The transport type that the request attempted to use.
ParkerPriority: <value>
* Module : If available, the name of the module that raised the event.
ParkerUniqueid: <value>
* SessionTV : The timestamp reported by the session.
ParkerLinkedid: <value>
 
ParkerDialString: <value>
=== See also ===
Parkinglot: <value>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_InvalidTransport
ParkingSpace: <value>
 
ParkingTimeout: <value>
== LoadAverageLimit ==
ParkingDuration: <value>
Raised when a request fails because a configured load average limit has been reached.
RetrieverChannel: <value>
 
RetrieverChannelState: <value>
Class : SECURITY
RetrieverChannelStateDesc: <value>
<pre>
RetrieverCallerIDNum: <value>
Event: LoadAverageLimit
RetrieverCallerIDName: <value>
EventTV: <value>
RetrieverConnectedLineNum: <value>
Severity: <value>
RetrieverConnectedLineName: <value>
Service: <value>
RetrieverAccountCode: <value>
EventVersion: <value>
RetrieverContext: <value>
AccountID: <value>
RetrieverExten: <value>
SessionID: <value>
RetrieverPriority: <value>
LocalAddress: <value>
RetrieverUniqueid: <value>
RemoteAddress: <value>
RetrieverLinkedid: <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 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
 
== LocalBridge ==
Raised when two halves of a Local Channel form a bridge.
 
Class : CALL
<pre>
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>
</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
 
=== Example ===
<pre>
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
</pre>
 
=== See also ===
* 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.
 
Class : CALL
<pre>
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>
</pre>
</pre>
* ParkeeChannel
* SourceLinkedid : Uniqeid of the oldest channel associated with this channel.
* ParkeeChannelState
* DestUniqueid : The unique ID of the bridge into which the local channel is optimizing.
* ParkeeChannelStateDesc
* Id : Identification for the optimization operation.
* ParkeeCallerIDNum
 
* ParkeeCallerIDName
=== Example ===
* ParkeeConnectedLineNum
<pre>
* ParkeeConnectedLineName
Event: LocalOptimizationBegin
* ParkeeAccountCode
Privilege: call,all
* ParkeeContext
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
* ParkeeExten
LocalOneChannelState: 6
* ParkeePriority
LocalOneChannelStateDesc: Up
* ParkeeUniqueid
LocalOneCallerIDNum: <unknown>
* ParkeeLinkedid
LocalOneCallerIDName: <unknown>
* ParkerChannel
LocalOneConnectedLineNum: <unknown>
* ParkerChannelState
LocalOneConnectedLineName: <unknown>
* ParkerChannelStateDesc
LocalOneLanguage: en
* ParkerCallerIDNum
LocalOneAccountCode:
* ParkerCallerIDName
LocalOneContext: common-incoming
* ParkerConnectedLineNum
LocalOneExten:
* ParkerConnectedLineName
LocalOnePriority: 1
* ParkerAccountCode
LocalOneUniqueid: 1447438716.467
* ParkerContext
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
* ParkerExten
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>
 
=== 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>
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>
</pre>
* Success : Indicates whether the local optimization succeeded.
* Id : Identification for the optimization operation. Matches the id from a previous LocalOptimizationBegin.
 
=== Example ===
<pre>
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
</pre>
 
=== See also ===
* 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.
 
Class : SYSTEM
<pre>
Event: LogChannel
Channel: <value>
Enabled: <value>
Reason: <value>
</pre>
* Channel : The name of the logging channel.
* Enabled
* Reason
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LogChannel
 
== MCID ==
Published when a malicious call ID request arrives.
 
Class : CALL
<pre>
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>
</pre>
 
=== See also ===
* 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.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeJoin
 
== MeetmeJoin ==
Raised when a user joins a MeetMe conference.
 
Class : CALL
<pre>
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>
</pre>
* Meetme : The identifier for the MeetME conference.
* Usernum : The identifier of the MeetME user who joined.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeJoin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeLeave
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_MeetMe
 
== MeetmeLeave ==
Raised when a user leaves a MeetMe conference.
 
Class : CALL
<pre>
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>
</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.
 
=== 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>
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>
</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
 
== MeetmeTalking ==
Raised when a MeeMe user begins or ends talking.
 
Class : CALL
<pre>
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>
</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
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeTalking
 
== MeetmeTalkRequest ==
Raised when a MeetMe user has started talking.
 
Class : CALL
<pre>
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>
</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_MeetmeTalkRequest
 
== MemoryLimit ==
Raised when a request fails due to an internal memory allocation failure.
 
Class : SECURITY
<pre>
Event: MemoryLimit
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 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_MemoryLimit
 
== 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
<pre>
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>
</pre>
 
=== Example ===
<pre>
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
</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
* ParkerAccountCode
* ParkerContext
* 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