Asterisk ami-event: Difference between revisions

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


== Channel ==
Example 항목의 대부분은 Raspberry pi 3 에서 테스트 한 내용이다. 하지만 Asterisk 특성 상, Raspberry pi 에서 정상적으로 테스트가 되지않는 메시지들도 있었기 때문에 Example 은 단지 참고용으로 사용해야 한다.
=== Newchannel ===
 
'''Example'''
== Common ==
ami-event 공통적으로 사용되는 내용 정리.
 
=== Channel state description ===
Reference: include/asterisk/channelstate.h
<pre>
Down
Rsrvd
OffHook
Dialing
Ring
Ringing
Up
Busy
Dialing Offhook
Pre-ring
Mute
Unknown
</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 명령 후 설정되는 Dial result status.
<pre>
ABORT
ANSWER
BUSY
CANCEL
CHANUNAVAIL
CONGESTION
CONTINUE
GOTO
NOANSWER
</pre>
* 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
<pre>
<pre>
Event: Newchannel
Event: AgentCalled
Privilege: call,all
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>
</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.
* 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 ===
<pre>
Event: AgentCalled
Privilege: agent,all
Channel: SIP/trunk_test_1-0000019a
Channel: SIP/trunk_test_1-0000019a
ChannelState: 0
ChannelState: 6
ChannelStateDesc: Down
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDNum: <unknown>
CallerIDName: <unknown>
CallerIDName: <unknown>
Line 18: Line 141:
AccountCode:  
AccountCode:  
Context: from_provider
Context: from_provider
Exten: s
Exten:  
Priority: 1
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 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
</pre>
</pre>


== Queue ==
=== See also ===
=== QueueCallerAbandon ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentCalled
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentRingNoAnswer
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentComplete
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentConnect
 
== AgentComplete ==
Queue member 가 Queue 로 부터 할당받은 고객과의 통화가 끝났음을 알려준다.
 
Class : AGENT
<pre>
<pre>
Event: QueueCallerAbandon
Event: AgentComplete
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 41: Line 189:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <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>
Queue: <value>
Position: <value>
MemberName: <value>
OriginalPosition: <value>
Interface: <value>
HoldTime: <value>
HoldTime: <value>
TalkTime: <value>
Reason: <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
* ChannelStateDesc : Channel state description 참조.
* * Down
* * Rsrvd
* * OffHook
* * Dialing
* * Ring
* * Ringing
* * Up
* * Busy
* * Dialing Offhook
* * Pre-ring
* * Unknown
* CallerIDNum
* CallerIDNum
* CallerIDName
* CallerIDName
Line 71: Line 222:
* Uniqueid
* Uniqueid
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* 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.
* Queue - The name of the queue.
* Position - This channel's current position in the queue.
* MemberName - The name of the queue member.
* OriginalPosition - The channel's original position in the queue.
* 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.
* 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


=== QueueCallerJoin ===
=== Example ===
<pre>
<pre>
Event: QueueCallerJoin
Event: AgentComplete
Privilege: agent,all
Privilege: agent,all
Channel: SIP/trunk_test_1-0000019a
Channel: SIP/300-00000008
ChannelState: 6
ChannelState: 6
ChannelStateDesc: Up
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDNum: 300
CallerIDName: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
Line 89: Line 258:
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: 1480668413.15
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 1480668413.15
Queue: TestQueue
DestChannel: SIP/agent-03-00000009
Count: 1
DestChannelState: 6
Position: 1
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
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentComplete
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentCalled
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentConnect
 
== AgentConnect ==
Queue member 가 answer 를 한 후, 대기 중인 콜과 bridge 되었을 때 발생한다.
 
Class : AGENT
<pre>
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>
</pre>
</pre>


=== QueueCallerLeave ===
=== Example ===
<pre>
<pre>
Event: QueueCallerLeave
Event: AgentConnect
Privilege: agent,all
Privilege: agent,all
Channel: SIP/trunk_test_1-0000019a
Channel: SIP/trunk_test_1-0000019a
Line 117: Line 347:
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 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
Queue: TestQueue
Count: 0
Interface: Local/test-04@common-incoming
Position: 1
MemberName: test 04
HoldTime: 4
RingTime: 3
</pre>
</pre>
=== QueueMemberAdded ===
 
=== QueueMemberPause ===
=== See also ===
=== QueueMemberPenalty ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentConnect
=== QueueMemberRemoved ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentCalled
=== QueueMemberRinginuse ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentComplete
=== QueueMemberStatus ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentDump
Queue 의 멤버 상태 정보가 변경되었을 때, 발생한다.
 
== AgentDump ==
Raised when a queue member hangs up on a caller in the queue.
 
Class : AGENT
<pre>
<pre>
Event: QueueMemberStatus
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>
Queue: <value>
MemberName: <value>
MemberName: <value>
Interface: <value>
Interface: <value>
StateInterface: <value>
Membership: <value>
Penalty: <value>
CallsTaken: <value>
LastCall: <value>
Status: <value>
Paused: <value>
Ringinuse: <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
* 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 ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentDump
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentCalled
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentConnect
 
== AgentLogin ==
Raised when an Agent has logged in.
 
Class : AGENT
<pre>
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>
</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>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentLogin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AgentLogin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentLogoff
 
== AgentLogoff ==
Agent 가 logoff 되었음을 알려준다.
 
Raised whn an Agent has logged off.
 
Class : AGENT
<pre>
Event: AgentLogoff
Agent: <value>
Logintime: <value>
</pre>
* Agent : Agent ID of the agent.
* Logintime : The number of seconds the agent was logged in.


'''Example'''
=== Example ===
<pre>
<pre>
Event: QueueMemberStatus
Event: AgentLogoff
Privilege: agent,all
Privilege: agent,all
Queue: Camp200
Channel: SIP/agent-01-00000004
Location: Local/200@DialCamp
ChannelState: 6
MemberName: user1
ChannelStateDesc: Up
Membership: static
CallerIDNum: agent-01
Penalty: 0
CallerIDName: agent-01@pluto.pchero21.com
CallsTaken: 3
ConnectedLineNum: <unknown>
LastCall: 1447947996
ConnectedLineName: <unknown>
Status: 6
Language: en
Paused: 0
AccountCode:  
Context: sample_agent
Exten: s
Priority: 2
Uniqueid: 1488794579.8
Linkedid: 1488794579.8
Agent: 10001
Logintime: 32
</pre>
</pre>


== Call ==
=== See also ===
=== OriginateResponse ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentLogoff
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentLogin
 
== AgentRingNoAnswer ==
Raised when a queue member is notified of a caller in the queue and fails to answer.
 
Class : AGENT
<pre>
<pre>
Event: OriginateResponse
Event: AgentRingNoAnswer
[ActionID:] <value>
Response: <value>
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Context: <value>
Exten: <value>
Exten: <value>
Reason: <value>
Priority: <value>
Uniqueid: <value>
Uniqueid: <value>
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>
</pre>
* 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 ===
<pre>
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
</pre>
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentRingNoAnswer
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentCalled
== 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
<pre>
Event: Agents
Agent: <value>
Name: <value>
Status: <value>
TalkingToChan: <value>
CallStarted: <value>
LoggedInTime: <value>
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <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>
ActionID: <value>
</pre>
</pre>
* 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
* ActionID
* Response
 
* * Failure
=== Example ===
* * Success
<pre>
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
 
== AgentsComplete ==
Final response event in a series of events to the Agents AMI action.
 
Class : AGENT
<pre>
Event: AgentsComplete
ActionID: <value>
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AgentsComplete
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Agents
 
== AGIExecEnd ==
Raised when a received AGI command completes processing.
 
Class : AGI
<pre>
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>
</pre>
* 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 ===
<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 ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AGIExecEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AGIExecStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AGI
 
== AGIExecStart ==
Raised when a received AGI command starts processing.
 
Class : AGI
<pre>
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>
</pre>
* 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 ===
<pre>
Event: AGIExecStart
Privilege: agi,all
Channel: PJSIP/pjagent-02-00000006
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: pjagent-02
CallerIDName: pjagent-02
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample-agi-async
Exten: s
Priority: 2
Uniqueid: 1516568222.6
Linkedid: 1516568222.6
CommandId: 1492281484
Command: Answer
</pre>
 
<pre>
Event: AsyncAGIStart
Privilege: agi,all
Channel: PJSIP/199-00000038
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: 199
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: demo
Exten: 5000
Priority: 2
Uniqueid: 1523491570.91
Linkedid: 1523491570.91
Env: agi_request%3A%20async%0Aagi_channel%3A%20PJSIP%2F199-00000038%0Aagi_language%3A%20en%0Aagi_type%3A%20PJSIP%0Aagi_uniqueid%3A%201523491570.91%0Aagi_version%3A%2015.3.0%0Aagi_callerid%3A%20199%0Aagi_calleridname%3A%20unknown%0Aagi_callingpres%3A%200%0Aagi_callingani2%3A%200%0Aagi_callington%3A%200%0Aagi_callingtns%3A%200%0Aagi_dnid%3A%205000%0Aagi_rdnis%3A%20unknown%0Aagi_context%3A%20demo%0Aagi_extension%3A%205000%0Aagi_priority%3A%202%0Aagi_enhanced%3A%200.0%0Aagi_accountcode%3A%20%0Aagi_threadid%3A%20139751619557120%0Aagi_arg_1%3A%20jade_dialplan%0Aagi_arg_2%3A%20a099b914-e427-4455-848f-73d796b359df%0A%0A
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AGIExecStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AGIExecEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AGI
 
== Alarm ==
Raised when an alarm is set on a DAHDI channel.
 
Class : SYSTEM
<pre>
Event: Alarm
DAHDIChannel: <value>
Alarm: <value>
</pre>
* DAHDIChannel : The channel on which the alarm occurred(Asterisk channel identifier 가 아니다).
* Alarm : A textual description an the alarm that occurred.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Alarm
 
== AlarmClear ==
Raised when an alarm is cleared on a DAHDI channel.
 
Class : SYSTEM
<pre>
Event: AlarmClear
DAHDIChannel: <value>
</pre>
* DAHDIChannel : The DAHDI channel on which the alarm was cleared(Asterisk channel identifier 가 아니다).
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AlarmClear
 
== AOC-D ==
Raised when an Advice of Charge message is sent during a call.
 
Class : AOC
<pre>
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>
</pre>
* 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 ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AOC-D
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_AOCMessage
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AOC-S
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AOC-E
 
== AOC-E ==
Raised when an Advice of Charge message is sent at the end of a call.
 
Class : AOC
<pre>
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>
</pre>
* 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 ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AOC-E
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_AOCMessage
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AOC-S
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AOC-D
 
== AOC-S ==
Raised when an Advice of Charge message is sent at the beginning of a call.
 
Class : AOC
<pre>
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>
</pre>
* 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 ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AOC-S
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AOC-D
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AOC-E
 
== AorDetail ==
Provide details about an Address of Record(AoR) section.
 
Class : COMMAND
<pre>
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>
</pre>
* 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 ===
<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 ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AorDetail
 
== AsyncAGIEnd ==
Raised when a channel stops AsyncAGI command processing
 
Class : AGI
<pre>
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>
</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_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.
 
Class : AGI
<pre>
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>
</pre>
* Channel
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Context
* Exten
* Exten
* Reason
* Priority
* Uniqueid
* 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 ===
<pre>
Event: AsyncAGIExec
Privilege: agi,all
Channel: PJSIP/pjagent-02-00000006
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: pjagent-02
CallerIDName: pjagent-02
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample-agi-async
Exten: s
Priority: 2
Uniqueid: 1516568222.6
Linkedid: 1516568222.6
Result: 200%20result%3D0%0A
CommandId: 77cdcf4c-feed-11e7-bd12-5b24ee4818c3
</pre>
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIExec
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AGI
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_AGI
== AsyncAGIStart ==
Raised when a channel starts AsyncAGI command processing.
Class : AGI
<pre>
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>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDNum
* CallerIDName
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
* Env : URL encoded string read from the AsyncAGI server.
=== Example ===
==== Normal ====
<pre>
Event: AsyncAGIStart
Privilege: agi,all
Channel: PJSIP/pjagent-02-00000000
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: pjagent-02
CallerIDName: pjagent-02
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample-agi-async
Exten: s
Priority: 2
Uniqueid: 1516563765.0
Linkedid: 1516563765.0
Env: agi_request%3A%20async%0Aagi_channel%3A%20PJSIP%2Fpjagent-02-00000000%0Aagi_language%3A%20en%0Aagi_type%3A%20PJSIP%0Aagi_uniqueid%3A%201516563765.0%0Aagi_version%3A%20GIT-master-516ab38M%0Aagi_callerid%3A%20pjagent-02%0Aagi_calleridname%3A%20pjagent-02%0Aagi_callingpres%3A%200%0Aagi_callingani2%3A%200%0Aagi_callington%3A%200%0Aagi_callingtns%3A%200%0Aagi_dnid%3A%204006%0Aagi_rdnis%3A%20unknown%0Aagi_context%3A%20sample-agi-async%0Aagi_extension%3A%20s%0Aagi_priority%3A%202%0Aagi_enhanced%3A%200.0%0Aagi_accountcode%3A%20%0Aagi_threadid%3A%201954128928%0A%0A
</pre>
* Decoded Env info
<pre>
agi_request: async
agi_channel: PJSIP/pjagent-02-00000000
agi_language: en
agi_type: PJSIP
agi_uniqueid: 1516563765.0
agi_version: GIT-master-516ab38M
agi_callerid: pjagent-02
agi_calleridname: pjagent-02
agi_callingpres: 0
agi_callingani2: 0
agi_callington: 0
agi_callingtns: 0
agi_dnid: 4006
agi_rdnis: unknown
agi_context: sample-agi-async
agi_extension: s
agi_priority: 2
agi_enhanced: 0.0
agi_accountcode:
agi_threadid: 1954128928
</pre>
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_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.
Class : CALL
<pre>
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>
</pre>
=== See also ===
* 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 : COMMAND
<pre>
Event: AuthDetail
ObjectType: <value>
ObjectName: <value>
Username: <value>
Password: <value>
Md5Cred: <value>
Realm: <value>
NonceLifetime: <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


'''Reason'''
== BlindTransfer ==
Raised when a blind transfer is complete.


Reason code 내용은 다음과 같다(asterisk/frame.h).
Class : CALL
<pre>
<pre>
AST_CONTROL_HANGUP = 1, /*!< Other end has hungup */
Event: BlindTransfer
AST_CONTROL_RING = 2, /*!< Local ring */
Result: <value>
AST_CONTROL_RINGING = 3, /*!< Remote end is ringing */
TransfererChannel: <value>
AST_CONTROL_ANSWER = 4, /*!< Remote end has answered */
TransfererChannelState: <value>
AST_CONTROL_BUSY = 5, /*!< Remote end is busy */
TransfererChannelStateDesc: <value>
AST_CONTROL_TAKEOFFHOOK = 6, /*!< Make it go off hook */
TransfererCallerIDNum: <value>
AST_CONTROL_OFFHOOK = 7, /*!< Line is off hook */
TransfererCallerIDName: <value>
AST_CONTROL_CONGESTION = 8, /*!< Congestion (circuits busy) */
TransfererConnectedLineNum: <value>
AST_CONTROL_FLASH = 9, /*!< Flash hook */
TransfererConnectedLineName: <value>
AST_CONTROL_WINK = 10, /*!< Wink */
TransfererAccountCode: <value>
AST_CONTROL_OPTION = 11, /*!< Set a low-level option */
TransfererContext: <value>
AST_CONTROL_RADIO_KEY = 12, /*!< Key Radio */
TransfererExten: <value>
AST_CONTROL_RADIO_UNKEY = 13, /*!< Un-Key Radio */
TransfererPriority: <value>
AST_CONTROL_PROGRESS = 14, /*!< Indicate PROGRESS */
TransfererUniqueid: <value>
AST_CONTROL_PROCEEDING = 15, /*!< Indicate CALL PROCEEDING */
TransfererLinkedid: <value>
AST_CONTROL_HOLD = 16, /*!< Indicate call is placed on hold */
TransfereeChannel: <value>
AST_CONTROL_UNHOLD = 17, /*!< Indicate call is left from hold */
TransfereeChannelState: <value>
AST_CONTROL_VIDUPDATE = 18, /*!< Indicate video frame update */
TransfereeChannelStateDesc: <value>
_XXX_AST_CONTROL_T38 = 19, /*!< T38 state change request/notification \deprecated This is no longer supported. Use AST_CONTROL_T38_PARAMETERS instead. */
TransfereeCallerIDNum: <value>
AST_CONTROL_SRCUPDATE = 20, /*!< Indicate source of media has changed */
TransfereeCallerIDName: <value>
AST_CONTROL_TRANSFER = 21, /*!< Indicate status of a transfer request */
TransfereeConnectedLineNum: <value>
AST_CONTROL_CONNECTED_LINE = 22,/*!< Indicate connected line has changed */
TransfereeConnectedLineName: <value>
AST_CONTROL_REDIRECTING = 23, /*!< Indicate redirecting id has changed */
TransfereeAccountCode: <value>
AST_CONTROL_T38_PARAMETERS = 24,/*!< T38 state change request/notification with parameters */
TransfereeContext: <value>
AST_CONTROL_CC = 25, /*!< Indication that Call completion service is possible */
TransfereeExten: <value>
AST_CONTROL_SRCCHANGE = 26, /*!< Media source has changed and requires a new RTP SSRC */
TransfereePriority: <value>
AST_CONTROL_READ_ACTION = 27, /*!< Tell ast_read to take a specific action */
TransfereeUniqueid: <value>
AST_CONTROL_AOC = 28, /*!< Advice of Charge with encoded generic AOC payload */
TransfereeLinkedid: <value>
AST_CONTROL_END_OF_Q = 29, /*!< Indicate that this position was the end of the channel queue for a softhangup. */
BridgeUniqueid: <value>
AST_CONTROL_INCOMPLETE = 30, /*!< Indication that the extension dialed is incomplete */
BridgeType: <value>
AST_CONTROL_MCID = 31, /*!< Indicate that the caller is being malicious. */
BridgeTechnology: <value>
AST_CONTROL_UPDATE_RTP_PEER = 32, /*!< Interrupt the bridge and have it update the peer */
BridgeCreator: <value>
AST_CONTROL_PVT_CAUSE_CODE = 33, /*!< Contains an update to the protocol-specific cause-code stored for branching dials */
BridgeName: <value>
AST_CONTROL_MASQUERADE_NOTIFY = 34, /*!< A masquerade is about to begin/end. (Never sent as a frame but directly with ast_indicate_data().) */
BridgeNumChannels: <value>
IsExternal: <value>
Context: <value>
Extension: <value>
</pre>
* 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 ===
* WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
==== Success ====
*
<pre>
* IAX2 sends these values out over the wire. To prevent future
Event: BlindTransfer
* incompatibilities, pick the next value in the enum from whatever
Privilege: call,all
* is on the current trunk. If you lose the merge race you need to
Result: Success
* fix the previous branches to match what is on trunk. In addition
TransfererChannel: SIP/agent-01-00000005
* you need to change chan_iax2 to explicitly allow the control
TransfererChannelState: 6
* frame over the wire if it makes sense for the frame to be passed
TransfererChannelStateDesc: Up
* to another Asterisk instance.
TransfererCallerIDNum: agent-01
*
TransfererCallerIDName: <unknown>
* WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
TransfererConnectedLineNum: <unknown>
*/
TransfererConnectedLineName: <unknown>
TransfererLanguage: en
TransfererAccountCode:
TransfererContext: park-dial
TransfererExten: SIP_agent-01
TransfererPriority: 1
TransfererUniqueid: 1481706048.11
TransfererLinkedid: 1481706048.11
TransfereeChannel: SIP/agent-01-00000006
TransfereeChannelState: 6
TransfereeChannelStateDesc: Up
TransfereeCallerIDNum: SIP_agent-01
TransfereeCallerIDName: <unknown>
TransfereeConnectedLineNum: agent-01
TransfereeConnectedLineName: <unknown>
TransfereeLanguage: en
TransfereeAccountCode:
TransfereeContext: public
TransfereeExten:
TransfereePriority: 1
TransfereeUniqueid: 1481706093.12
TransfereeLinkedid: 1481706048.11
BridgeUniqueid: b9ad516f-984d-4dce-a465-d95690edc656
BridgeType: basic
BridgeTechnology: native_rtp
BridgeCreator: <unknown>
BridgeName: <unknown>
BridgeNumChannels: 2
IsExternal: Yes
Context: sample_musiconhold
Extension: s
</pre>


/* Control frames used to manipulate a stream on a channel. The values for these
==== Fail ====
* must be greater than the allowed value for a 8-bit char, so that they avoid
<pre>
* conflicts with DTMF values. */
Event: BlindTransfer
AST_CONTROL_STREAM_STOP = 1000, /*!< Indicate to a channel in playback to stop the stream */
Privilege: call,all
AST_CONTROL_STREAM_SUSPEND = 1001, /*!< Indicate to a channel in playback to suspend the stream */
Result: Invalid
AST_CONTROL_STREAM_RESTART = 1002, /*!< Indicate to a channel in playback to restart the stream */
TransfererChannel: SIP/agent-01-00000002
AST_CONTROL_STREAM_REVERSE = 1003, /*!< Indicate to a channel in playback to rewind */
TransfererChannelState: 6
AST_CONTROL_STREAM_FORWARD = 1004, /*!< Indicate to a channel in playback to fast forward */
TransfererChannelStateDesc: Up
/* Control frames to manipulate recording on a channel. */
TransfererCallerIDNum: agent-01
AST_CONTROL_RECORD_CANCEL = 1100, /*!< Indicated to a channel in record to stop recording and discard the file */
TransfererCallerIDName: <unknown>
AST_CONTROL_RECORD_STOP = 1101, /*!< Indicated to a channel in record to stop recording */
TransfererConnectedLineNum: <unknown>
AST_CONTROL_RECORD_SUSPEND = 1102, /*!< Indicated to a channel in record to suspend/unsuspend recording */
TransfererConnectedLineName: <unknown>
AST_CONTROL_RECORD_MUTE = 1103, /*!< Indicated to a channel in record to mute/unmute (i.e. write silence) recording */
TransfererLanguage: en
TransfererAccountCode:
TransfererContext: sample_park
TransfererExten: s
TransfererPriority: 2
TransfererUniqueid: 1481705835.4
TransfererLinkedid: 1481705835.4
BridgeUniqueid: 299de6ea-1dc7-4144-9e46-d6513723333e
BridgeType: parking
BridgeTechnology: holding_bridge
BridgeCreator: Parking
BridgeName: default
BridgeNumChannels: 1
IsExternal: Yes
Context: sample_musiconhold
Extension: s
</pre>
</pre>


'''Example'''
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BlindTransfer
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_BlindTransfer
 
== BridgeCreate ==
Riased when a bridge is created.
 
Class : CALL
<pre>
<pre>
"event": "OriginateResponse",
Event: BridgeCreate
"privilege": "call,all",
BridgeUniqueid: <value>
"response": "Failure",
BridgeType: <value>
"channel": "SIP/111-111-0004@trunk_test_1",
BridgeTechnology: <value>
"reason": "5",
BridgeCreator: <value>
"uniqueid": "<null>",
BridgeName: <value>
"calleridname": "<unknown>",
BridgeNumChannels: <value>
"context": "",
</pre>
"exten": "",
* BridgeUniqueid
"calleridnum": "<unknown>"
* 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 ===
<pre>
Event: BridgeCreate
Privilege: call,all
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 ==
Raised when a bridge is destroyed.
 
Class : CALL
<pre>
Event: BridgeDestroy
BridgeUniqueid: <value>
BridgeType: <value>
BridgeTechnology: <value>
BridgeCreator: <value>
BridgeName: <value>
BridgeNumChannels: <value>
</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 ===
<pre>
Event: BridgeDestroy
Privilege: call,all
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_BridgeDestroy
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeCreate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeEnter
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeLeave


"event": "OriginateResponse",
== BridgeEnter ==
"privilege": "call,all",
Channel 이 Bridge 로 들어왔음을 나타낸다.
"response": "Success",
<pre>
"channel": "SIP/trunk_test_1-00000000",
Event: BridgeEnter
"reason": "4",
BridgeUniqueid: <value>
"uniqueid": "dd420b95-c52d-467a-8f65-63efaa094eb6",
BridgeType: <value>
"calleridname": "<unknown>",
BridgeTechnology: <value>
"context": "",
BridgeCreator: <value>
"exten": "",
BridgeName: <value>
"calleridnum": "<unknown>"
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>
</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.
* 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.


== ETC ==
=== Example ===
=== VarSet ===
'''Example'''
<pre>
<pre>
Event: VarSet
Event: BridgeEnter
Privilege: dialplan,all
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
ChannelState: 0
BridgeType: basic
ChannelStateDesc: Down
BridgeTechnology: simple_bridge
CallerIDNum: <unknown>
BridgeCreator: <unknown>
BridgeName: <unknown>
BridgeNumChannels: 1
Channel: SIP/test-04-0000019b
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: test-04
CallerIDName: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
Line 303: Line 1,931:
Language: en
Language: en
AccountCode:  
AccountCode:  
Context: from_provider
Context: common-incoming
Exten: s
Exten:  
Priority: 1
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Uniqueid: 1447438716.469
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Variable: SIPCALLID
Value: 2bfd10aa59fd6d695ef6f5393b5e9286@10.0.2.15:5060
</pre>
</pre>


=== Newexten ===
=== 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>
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
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeInfoChannel
 
== BridgeInfoComplete ==
Information about a bridge.
 
Class : COMMAND
<pre>
Event: BridgeInfoComplete
BridgeUniqueid: <value>
BridgeType: <value>
BridgeTechnology: <value>
BridgeCreator: <value>
BridgeName: <value>
BridgeNumChannels: <value>
</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.
 
Class : CALL
<pre>
<pre>
Event: Newexten
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>
</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 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 ===
<pre>
Event: BridgeLeave
Privilege: call,all
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
ChannelState: 0
BridgeType: basic
ChannelStateDesc: Down
BridgeTechnology: simple_bridge
CallerIDNum: <unknown>
BridgeCreator: <unknown>
BridgeName: <unknown>
BridgeNumChannels: 1
Channel: SIP/test-04-0000019b
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: test-04
CallerIDName: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
Line 325: Line 2,069:
Language: en
Language: en
AccountCode:  
AccountCode:  
Context: from_provider
Context: common-incoming
Exten:  
Exten:  
Priority: 1
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Uniqueid: 1447438716.469
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Extension:
Application: AppDial2
AppData: (Outgoing Line)
</pre>
</pre>


=== DeviceStateChange ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeLeave
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeCreate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeDestroy
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_BridgeEnter
 
== BridgeMerge ==
Raised when two bridges are merged.
 
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>
* 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.
 
Class : CDR
<pre>
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>
</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>
Application: <value>
AppData: <value>
EventTime: <value>
AMAFlags: <value>
UniqueID: <value>
LinkedID: <value>
UserField: <value>
Peer: <value>
PeerAccount: <value>
Extra: <value>
</pre>
* EventName : The name of the CEL event being raised. This can include both the system defined CEL events, as well as user defined event. All events listed here may not be raised, depending on the configuration in cel.conf
: CHAN_START : A channel was created.
: CHAN_END : A channel was terminated.
: ANSWER : A channel answered.
: HANGUP : A channel was hung up.
: BRIDGE_ENTER : A channel entered a bridge.
: BRIDGE_EXIT : A channel entered into a tacked application.
: APP_START : A channel entered into a tacked application.
: APP_END : A channel left a tacked application.
: PARK_START : A channel was parked.
: PARK_END : A channel was unparked.
: BLINDTRANSFER : A channel initiated a blind transfer.
: PICKUP : A channel initiated a call pick up.
: FORWARD : A channel is being forwared to another destination.
: LINKEDID_END : The linked ID associated with this channel is being retired.
: LOCAL_OPTIMIZE : A local channel optimization has occurred.
: USER_DEFINED : A user defined type. This event is only present if show user defined in cel.conf is True. Otherwise, the user defined event will be placed directly in the EventName filed.
* AccountCode : The channel's account code.
* CallerIDnum : The Caller ID number.
* CallerIDname : The Caller ID name.
* CallerIDani : The Caller ID Automatic Number Identification.
* CallerIDrdnis : The Caller ID redirected Dialed Number Identification Service.
* CallerIDdnid : The Caller ID Dialed Number Identifier.
* Exten : The dialplan extension the channel is currently executing in.
* Context : The dialplan context the channel is currently executing in.
* Application : The dialplan application the channel is currently executing.
* AppData : The arguments pased to the dialplan Application.
* EventTime : The time the CEL event occurred.
* AMAFlags : A flag that informs a biling system how to treat the CEL.
: OMIT : This event should be ignored.
: BILLING : This event contains valid billing data.
: DOCUMENTATION : This event is for documentation purposes.
* UniqueID : The unique ID of the channel.
* LinkedID : The linked ID of the channel, which ties this event to other related channel's events.
* UserField : A user defined field set on a channel, contraining arbitrary application specific data.
* Peer : If this channel is in a bridge, the channel that it is in a bridge with.
* PeerAccount : If this channel is in bridge, the accountcode of the channel it is in a bridge with.
* Extra : Some events will have event specific data that accompanies the CEL record. This extra data is JSON encoded, and is dependent on the event in question.
 
=== See also ===
* 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.
 
Class : SECRURITY
<pre>
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>
</pre>
* EventTV : The time the event was detected.
* Serverity :  A relative serverity of the security event.
: Informational
: Error
* Service : The Asterisk service that raised the security event.
* EventVersion : The version of this event.
* AccountID : The Service account associated with the security event notification.
* SeesionID : A unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* Challenge : The challenge that was sent.
* Response : The response that was received.
* ExpectedResponse : The expected response to the challenge.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ChallengeResponseFailed
 
== ChallengeSent ==
인증과 관련된 시도가 있음을 나타낸다.
 
Raised when an Asterisk service sends an authentication challenge to a request.
 
Class : SECURITY
<pre>
Event: ChallengeSent
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
Challenge: <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.
* 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 ===
<pre>
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
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ChallengeSent
 
== ContactStatus ==
Raised when the state of a contact changes.
 
Class: SYSTEM
<pre>
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>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_ContactStatus
 
== ContactStatusDetail ==
Provide details about a contact's status.
 
Class: COMMAND
<pre>
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>
</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>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
BridgeId: <value>
Application: <value>
ApplicationData: <value>
Duration: <value>
</pre>
* BridgeId: Identifier of the bridge the channel is in, may be empty if not in one.
* Application: Application currently executing on the channel.
* ApplicationData: Data given to the currently executing application.
* Duration: The amount of time the channel has existed.
 
=== Example ===
<pre>
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:
</pre>
 
=== See also ===
* 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
 
== DBGetResponse ==
DBGet response message.
<pre>
Event: DBGetResponse
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>
<pre>
Event: DeviceStateChange
Event: DeviceStateChange
Line 343: Line 2,541:
</pre>
</pre>


=== DialBegin ===
=== 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>
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>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
* DestChannel
* DestChannelState
* DestChannelStateDesc
* DestAccountCode
* DestContext
* DestExten
* DestUniqueid
* DestLinkedid
* DialString : The non-technology specific device being dialed.
 
=== Example ===
<pre>
<pre>
Event: DialBegin
Event: DialBegin
Privilege: call,all
Privilege: call,all
DestChannel: SIP/trunk_test_1-0000019a
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
DestChannelState: 0
DestChannelStateDesc: Down
DestChannelStateDesc: Down
Line 356: Line 2,629:
DestLanguage: en
DestLanguage: en
DestAccountCode:  
DestAccountCode:  
DestContext: from_provider
DestContext: public
DestExten:  
DestExten:  
DestPriority: 1
DestPriority: 1
DestUniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestUniqueid: 1481281261.84
DestLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestLinkedid: 1481281260.83
DialString: 1237764000@trunk_test_1
DialString: sip/agent-03
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialBegin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Dial
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Originate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Originate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialEnd
 
== DialEnd ==
Dial 이 종료되었음을 알려준다.
 
Class : CALL
<pre>
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>
</pre>
</pre>
* 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.


=== DialEnd ===
=== Example ===
<pre>
<pre>
Event: DialEnd
Event: DialEnd
Privilege: call,all
Privilege: call,all
DestChannel: SIP/trunk_test_1-0000019a
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
DestChannelState: 6
DestChannelStateDesc: Up
DestChannelStateDesc: Up
DestCallerIDNum: <unknown>
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: <unknown>
DestConnectedLineNum: 300
DestConnectedLineName: <unknown>
DestConnectedLineName: <unknown>
DestLanguage: en
DestLanguage: en
DestAccountCode:  
DestAccountCode:  
DestContext: from_provider
DestContext: public
DestExten:  
DestExten: s
DestPriority: 1
DestPriority: 1
DestUniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestUniqueid: 1480668414.16
DestLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestLinkedid: 1480668413.15
DialStatus: ANSWER
DialStatus: ANSWER
</pre>
</pre>
<pre>
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
</pre>
=== 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 ===
<pre>
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
</pre>
== DTMFBegin ==
=== Example ===
<pre>
</pre>
== EndpointDetail ==
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>
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:
</pre>
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_EndpointDetail
== EndpointList ==
Provide details about a contact's status.
Class : COMMAND
<pre>
Event: EndpointList
ObjectType: <value>
ObjectName: <value>
Transport: <value>
Aor: <value>
Auths: <value>
OutboundAuths: <value>
DeviceState: <value>
ActiveChannels: <value>
</pre>
* 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 ===
<pre>
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:
</pre>
=== See also ===
* 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
=== Example ===
<pre>
Event: EndpointDetailComplete
EventList: Complete
ListItems: 4
</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>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Cause: <value>
Cause-txt: <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.
* 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.


=== Newstate ===
=== Example ===
<pre>
<pre>
Event: Newstate
Event: Hangup
Privilege: call,all
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
Channel: SIP/agent-01-00000003
ChannelState: 6
ChannelState: 6
ChannelStateDesc: Up
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDNum: agent-01
CallerIDName: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
Line 398: Line 3,286:
Language: en
Language: en
AccountCode:  
AccountCode:  
Context: from_provider
Context: sample_musiconhold
Exten:  
Exten: s
Priority: 1
Priority: 3
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Uniqueid: 1480425486.6
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 1480425486.6
Cause: 0
Cause-txt: Unknown
</pre>
 
=== 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>
Handler: <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.
* Handler : Hangup handler parameter string passed to the Gosub application.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPop
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPush
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL
 
== HangupHandlerPush ==
Raised when a hangup handler is added to the handler stack by the CHANNEL() function.
 
Class : DIALPLAN
<pre>
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>
</pre>
* 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 ===
* 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
 
== HangupHandlerRun ==
Raised when a hangup handler is about to be called.
 
Class : DIALPLAN
<pre>
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>
</pre>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
* Handler
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerRun
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL
== HangupRequest ==
Hangup request 가 왔음을 알려준다.
Raised when a hangup is requested.


=== MusicOnHoldStart ===
Class : CALL
<pre>
<pre>
Event: MusicOnHoldStart
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>
</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]].
 
=== Example ===
<pre>
Event: HangupRequest
Privilege: call,all
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
Channel: SIP/agent-01-0000002b
ChannelState: 6
ChannelState: 6
ChannelStateDesc: Up
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDNum: agent-01
CallerIDName: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
Line 418: Line 3,473:
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: 1481278514.79
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 1481278514.79
Class: default
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SoftHangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup
 
== Hold ==
채널이 Hold 상태가 되었음을 알려준다. (ex. Device 에서 Hold 기능을 사용했을 경우)
 
Raised when a channel goes on hold.
 
Class : CALL
<pre>
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>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
* MusicClass : The suggested MusicClass, if provided.
 
=== Example ===
<pre>
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
</pre>
 
=== 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>
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,
</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>
* 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 ===
<pre>
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
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_InvalidAccountID
 
== InvalidPassword ==
Raised when a request provides an invalid password during an invalid password during an authentication attempt.
 
Class : SECURITY
<pre>
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>
</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>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_InvalidPassword
 
== InvalidTransport ==
Raised when a request attempts to use a transport not allowed by the Asterisk service.
 
Class : SECURITY
<pre>
Event: InvalidTransport
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
AttemptedTransport: <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.
* 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 ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_InvalidTransport
 
== LoadAverageLimit ==
Raised when a request fails because a configured load average limit has been reached.
 
Class : SECURITY
<pre>
Event: LoadAverageLimit
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 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>
</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


=== LocalBridge ===
=== Example ===
<pre>
<pre>
Event: LocalBridge
Event: LocalBridge
Line 463: Line 3,865:
</pre>
</pre>


=== BridgeLeave ===
=== 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>
* 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 ===
<pre>
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
</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>
<pre>
Event: BridgeLeave
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
Privilege: call,all
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
Channel: SIP/agent-01-0000002b
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: 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>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
Line 482: Line 4,752:
Language: en
Language: en
AccountCode:  
AccountCode:  
Context: common-incoming
Context: from_provider
Exten:  
Exten:  
Priority: 1
Priority: 1
Uniqueid: 1447438716.469
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Extension:
Application: AppDial2
AppData: (Outgoing Line)
</pre>
</pre>


=== AgentCalled ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_NewExten
 
== Newstate ==
Channel 의 state 의 변경되었음을 알려준다.
<pre>
<pre>
Event: AgentCalled
Event: Newstate
Privilege: agent,all
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
Channel: SIP/trunk_test_1-0000019a
ChannelState: 6
ChannelState: 6
Line 507: Line 4,815:
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 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
</pre>
</pre>


=== BridgeCreate ===
=== 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
* 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 ===
<pre>
<pre>
Event: BridgeCreate
Event: ParkedCallGiveUp
Privilege: call,all
Privilege: call,all
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
ParkeeChannel: SIP/agent-01-00000026
BridgeType: basic
ParkeeChannelState: 6
BridgeTechnology: simple_bridge
ParkeeChannelStateDesc: Up
BridgeCreator: <unknown>
ParkeeCallerIDNum: agent-01
BridgeName: <unknown>
ParkeeCallerIDName: <unknown>
BridgeNumChannels: 0
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>
 
=== 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>
</pre>


=== BridgeEnter ===
=== Example ===
<pre>
<pre>
Event: BridgeEnter
Event: ParkedCallTimeOut
Privilege: call,all
Privilege: call,all
BridgeUniqueid: 1d859980-a7f9-4c7c-87ab-d39862ad238b
ParkeeChannel: SIP/agent-02-00000007
BridgeType: basic
ParkeeChannelState: 6
BridgeTechnology: simple_bridge
ParkeeChannelStateDesc: Up
BridgeCreator: <unknown>
ParkeeCallerIDNum: agent-02
BridgeName: <unknown>
ParkeeCallerIDName: <unknown>
BridgeNumChannels: 1
ParkeeConnectedLineNum: <unknown>
Channel: SIP/test-04-0000019b
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
ChannelState: 6
ChannelStateDesc: Up
ChannelStateDesc: Up
CallerIDNum: test-04
CallerIDNum: <unknown>
CallerIDName: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
Line 557: Line 5,480:
Language: en
Language: en
AccountCode:  
AccountCode:  
Context: common-incoming
Context: from_provider
Exten:  
Exten:  
Priority: 1
Priority: 1
Uniqueid: 1447438716.469
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Queue: TestQueue
Count: 1
Position: 1
</pre>
</pre>


=== BridgeDestroy ===
=== 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>
<pre>
Event: BridgeDestroy
Event: QueueCallerLeave
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: 0
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Queue: <value>
Count: <value>
Position: <value>
</pre>
</pre>


=== AgentConnect ===
* 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>
<pre>
Event: AgentConnect
Event: QueueCallerLeave
Privilege: agent,all
Privilege: agent,all
Channel: SIP/trunk_test_1-0000019a
Channel: SIP/trunk_test_1-0000019a
Line 594: Line 5,552:
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 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
Queue: TestQueue
Interface: Local/test-04@common-incoming
Count: 0
MemberName: test 04
Position: 1
HoldTime: 4
</pre>
RingTime: 3
 
== 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>
</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.


=== RTCPReceived ===
=== Example ===
<pre>
<pre>
Event: RTCPReceived
Event: RTCPReceived
Line 649: Line 6,578:
</pre>
</pre>


=== LocalOptimizationBegin ===
=== 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>
<pre>
Event: LocalOptimizationBegin
Event: SIPQualifyPeerDone
Privilege: call,all
Peer: <value>
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
ActionID: <value>
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
</pre>
</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


=== LocalOptimizationEnd ===
== SoftHangupRequest ==
Raised when a soft hangup is requested with specific cause code.
 
Class : CALL
<pre>
<pre>
Event: LocalOptimizationEnd
Event: SoftHangupRequest
Privilege: call,all
Channel: <value>
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
ChannelState: <value>
LocalOneChannelState: 6
ChannelStateDesc: <value>
LocalOneChannelStateDesc: Up
CallerIDNum: <value>
LocalOneCallerIDNum: <unknown>
CallerIDName: <value>
LocalOneCallerIDName: <unknown>
ConnectedLineNum: <value>
LocalOneConnectedLineNum: <unknown>
ConnectedLineName: <value>
LocalOneConnectedLineName: <unknown>
AccountCode: <value>
LocalOneLanguage: en
Context: <value>
LocalOneAccountCode:  
Exten: <value>
LocalOneContext: common-incoming
Priority: <value>
LocalOneExten:
Uniqueid: <value>
LocalOnePriority: 1
Linkedid: <value>
LocalOneUniqueid: 1447438716.467
Cause: <value>
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
LocalTwoChannelState: 6
LocalTwoChannelStateDesc: Up
LocalTwoCallerIDNum: <unknown>
LocalTwoCallerIDName: <unknown>
LocalTwoConnectedLineNum: <unknown>
LocalTwoConnectedLineName: <unknown>
LocalTwoLanguage: en
LocalTwoAccountCode:
LocalTwoContext: common-incoming
LocalTwoExten: test-04
LocalTwoPriority: 1
LocalTwoUniqueid: 1447438716.468
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Success: No
Id: 5
</pre>
</pre>
* 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.


=== SoftHangupRequest ===
=== Example ===
<pre>
<pre>
Event: SoftHangupRequest
Event: SoftHangupRequest
Line 754: Line 6,907:
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Cause: 16
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>
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
</pre>
</pre>


== See also ==
== See also ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+AMI+Events - Asterisk 13 AMI Events
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+AMI+Events - Asterisk 13 AMI Events
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+AMI+Events - Asterisk 14 AMI Events


[[category:asterisk]]
[[category:asterisk]]

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