Asterisk ami-event: Difference between revisions

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


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


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


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


=== Dial result status ===
=== Dial result status ===
Line 46: Line 59:


=== Hangup cause ===
=== Hangup cause ===
Hangup cause 코드 정리.
See [[Asterisk_hangup_code]]
<pre>
/*! \name Causes for disconnection (from Q.850/Q.931)
*  These are the internal cause codes used in Asterisk.
*  \ref AstCauses
*/
/*@{ */
#define AST_CAUSE_UNALLOCATED                    1
#define AST_CAUSE_NO_ROUTE_TRANSIT_NET          2
#define AST_CAUSE_NO_ROUTE_DESTINATION          3
#define AST_CAUSE_MISDIALLED_TRUNK_PREFIX        5
#define AST_CAUSE_CHANNEL_UNACCEPTABLE          6
#define AST_CAUSE_CALL_AWARDED_DELIVERED        7
#define AST_CAUSE_PRE_EMPTED                    8
#define AST_CAUSE_NUMBER_PORTED_NOT_HERE        14
#define AST_CAUSE_NORMAL_CLEARING              16
#define AST_CAUSE_USER_BUSY                    17
#define AST_CAUSE_NO_USER_RESPONSE              18
#define AST_CAUSE_NO_ANSWER                    19
#define AST_CAUSE_SUBSCRIBER_ABSENT            20
#define AST_CAUSE_CALL_REJECTED                21
#define AST_CAUSE_NUMBER_CHANGED                22
#define AST_CAUSE_REDIRECTED_TO_NEW_DESTINATION 23
#define AST_CAUSE_ANSWERED_ELSEWHERE            26
#define AST_CAUSE_DESTINATION_OUT_OF_ORDER      27
#define AST_CAUSE_INVALID_NUMBER_FORMAT        28
#define AST_CAUSE_FACILITY_REJECTED            29
#define AST_CAUSE_RESPONSE_TO_STATUS_ENQUIRY    30
#define AST_CAUSE_NORMAL_UNSPECIFIED            31
#define AST_CAUSE_NORMAL_CIRCUIT_CONGESTION    34
#define AST_CAUSE_NETWORK_OUT_OF_ORDER          38
#define AST_CAUSE_NORMAL_TEMPORARY_FAILURE      41
#define AST_CAUSE_SWITCH_CONGESTION            42
#define AST_CAUSE_ACCESS_INFO_DISCARDED        43
#define AST_CAUSE_REQUESTED_CHAN_UNAVAIL        44
#define AST_CAUSE_FACILITY_NOT_SUBSCRIBED      50
#define AST_CAUSE_OUTGOING_CALL_BARRED          52
#define AST_CAUSE_INCOMING_CALL_BARRED          54
#define AST_CAUSE_BEARERCAPABILITY_NOTAUTH      57
#define AST_CAUSE_BEARERCAPABILITY_NOTAVAIL    58
#define AST_CAUSE_BEARERCAPABILITY_NOTIMPL      65
#define AST_CAUSE_CHAN_NOT_IMPLEMENTED          66
#define AST_CAUSE_FACILITY_NOT_IMPLEMENTED      69
#define AST_CAUSE_INVALID_CALL_REFERENCE        81
#define AST_CAUSE_INCOMPATIBLE_DESTINATION      88
#define AST_CAUSE_INVALID_MSG_UNSPECIFIED      95
#define AST_CAUSE_MANDATORY_IE_MISSING          96
#define AST_CAUSE_MESSAGE_TYPE_NONEXIST        97
#define AST_CAUSE_WRONG_MESSAGE                98
#define AST_CAUSE_IE_NONEXIST                  99
#define AST_CAUSE_INVALID_IE_CONTENTS          100
#define AST_CAUSE_WRONG_CALL_STATE            101
#define AST_CAUSE_RECOVERY_ON_TIMER_EXPIRE    102
#define AST_CAUSE_MANDATORY_IE_LENGTH_ERROR    103
#define AST_CAUSE_PROTOCOL_ERROR              111
#define AST_CAUSE_INTERWORKING                127
 
/* Special Asterisk aliases */
#define AST_CAUSE_BUSY          AST_CAUSE_USER_BUSY
#define AST_CAUSE_FAILURE      AST_CAUSE_NETWORK_OUT_OF_ORDER
#define AST_CAUSE_NORMAL        AST_CAUSE_NORMAL_CLEARING
#define AST_CAUSE_NOANSWER      AST_CAUSE_NO_ANSWER
#define AST_CAUSE_CONGESTION    AST_CAUSE_NORMAL_CIRCUIT_CONGESTION
#define AST_CAUSE_UNREGISTERED  AST_CAUSE_SUBSCRIBER_ABSENT
#define AST_CAUSE_NOTDEFINED    0
#define AST_CAUSE_NOSUCHDRIVER  AST_CAUSE_CHAN_NOT_IMPLEMENTED
</pre>


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


Line 522: Line 491:


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


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


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


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


== AgentComplete ==
<pre>
Final response event in a series of events to the Agents AMI action.
Event: Agents
 
Agent: 10001
Class : AGENT
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>
<pre>
Event: AgentsComplete
Event: AgentsComplete
Line 757: Line 780:
* ResultCode : The numeric result code from AGI.
* ResultCode : The numeric result code from AGI.
* Result : The text result rason from AGI.
* Result : The text result rason from AGI.
=== Example ===
<pre>
Event: AGIExecEnd
Privilege: agi,all
Channel: PJSIP/pjagent-02-00000006
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: pjagent-02
CallerIDName: pjagent-02
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample-agi-async
Exten: s
Priority: 2
Uniqueid: 1516568222.6
Linkedid: 1516568222.6
CommandId: 1492281484
Command: Answer
ResultCode: 200
Result: Success
</pre>


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


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


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


=== See also ===
=== Example ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIExec
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIStart
Event: AsyncAGIExec
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIEnd
Privilege: agi,all
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AGI
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
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_AGI


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


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


=== See also ===
=== See also ===
Line 1,981: Line 2,174:
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Cdr
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Cdr


== ChallengeSent ==
== CEL ==
인증과 관련된 시도가 있음을 나타낸다.
Raised when a Channel Event Log is generated for a channel.


Raised when an Asterisk service sends an authentication challenge to a request.
Class : CEL
 
Class : SECURITY
<pre>
<pre>
Event: ChallengeSent
Event: CEL
EventTV: <value>
EventName: <value>
Severity: <value>
AccountCode: <value>
Service: <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>
EventVersion: <value>
AccountID: <value>
AccountID: <value>
Line 1,998: Line 2,257:
RemoteAddress: <value>
RemoteAddress: <value>
Challenge: <value>
Challenge: <value>
Response: <value>
ExpectedResponse: <value>
[Module:] <value>
[Module:] <value>
[SessionTV:] <value>
[SessionTV:] <value>
</pre>
</pre>
* EventTV : The time the event was detected.
* EventTV : The time the event was detected.
* Severity : A relative severity of the security event.
* Serverity : A relative serverity of the security event.
: Informational
: Informational
: Error
: Error
Line 2,008: Line 2,269:
* EventVersion : The version of this event.
* EventVersion : The version of this event.
* AccountID : The Service account associated with the security event notification.
* AccountID : The Service account associated with the security event notification.
* SessionID : A unique identifier for the session in the service that raised the event.
* 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.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* Challenge : The challenge that was sent.
* 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.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.
* SessionTV : The timestamp reported by the session.


=== Example ===
=== See also ===
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ChallengeResponseFailed
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 ===
== ChallengeSent ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ChallengeSent
인증과 관련된 시도가 있음을 나타낸다.


== DeviceStateChange ==
Raised when an Asterisk service sends an authentication challenge to a request.
Device의 state 가 변경되었음을 나타낸다.


ExtensionStatus 이벤트는 dialplan hints 와 연관된 내용에만 발생하는 것에 반해, DeviceStateChange 이벤트는 모든 device state 의 변경에 발생한다는 것이 다르다.
Class : SECURITY
<pre>
<pre>
Event: DeviceStateChange
Event: ChallengeSent
Device: <value>
EventTV: <value>
State: <value>
Severity: <value>
</pre>
Service: <value>
* Device : state 가 변경된 device
EventVersion: <value>
* State : 변경된 state
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 ===
=== Example ===
<pre>
<pre>
Event: DeviceStateChange
Event: ChallengeSent
Privilege: call,all
Privilege: security,all
Device: SIP/trunk_test_1
EventTV: 2016-12-09T09:40:45.561+0000
State: RINGING
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>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DeviceStateChange
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ChallengeSent
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ExtensionStatus
 
== ContactStatus ==
Raised when the state of a contact changes.


== DialBegin ==
Class: SYSTEM
<pre>
<pre>
Event: DialBegin
Event: ContactStatus
Privilege: call,all
URI: <value>
DestChannel: SIP/trunk_test_1-0000019a
ContactStatus: <value>
DestChannelState: 0
AOR: <value>
DestChannelStateDesc: Down
EndpointName: <value>
DestCallerIDNum: <unknown>
RoundtripUsec: <value>
DestCallerIDName: <unknown>
UserAgent: <value>
DestConnectedLineNum: <unknown>
RegExpire: <value>
DestConnectedLineName: <unknown>
ViaAddress: <value>
DestLanguage: en
CallID: <value>
DestAccountCode:
DestContext: from_provider
DestExten:
DestPriority: 1
DestUniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DialString: 1237764000@trunk_test_1
</pre>
</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>
<pre>
Event: DialBegin
Event: ContactStatus
Privilege: call,all
Privilege: system,all
Channel: SIP/agent-01-0000002d
URI: sip:199@172.17.42.1:32942;transport=ws;rtcweb-breaker=no
ChannelState: 4
ContactStatus: Unknown
ChannelStateDesc: Ring
AOR: 199
CallerIDNum: agent-01
EndpointName: 199
CallerIDName: <unknown>
RoundtripUsec: 0
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
</pre>
</pre>


== DialEnd ==
=== See also ===
Dial 이 종료되었음을 알려준다.
* 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
Class : CALL
<pre>
<pre>
Event: DialEnd
Event: CoreShowChannel
ActionID: <value>
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 2,131: Line 2,462:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
DestChannel: <value>
BridgeId: <value>
DestChannelState: <value>
Application: <value>
DestChannelStateDesc: <value>
ApplicationData: <value>
DestCallerIDNum: <value>
Duration: <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.
* BridgeId: Identifier of the bridge the channel is in, may be empty if not in one.
* ChannelState : Channel's state.
* Application: Application currently executing on the channel.
* ChannelStateDesc : Channel's state description.
* ApplicationData: Data given to the currently executing application.
* CallerIDNum :
* Duration: The amount of time the channel has existed.
* CallerIDName :
 
* ConnectedLineNum :
=== Example ===
* ConnectedLineName :
<pre>
* AccountCode :
Event: CoreShowChannel
* Context :
Channel: PJSIP/agent-01-0000000a
* Exten :
ChannelState: 6
* Priority :
ChannelStateDesc: Up
* Uniqueid :
CallerIDNum: agent-01
* Linkedid : Uniqueid of the oldest channel associated with this channel.
CallerIDName: agent-01@pluto.pchero21.com
* DestChannel : Destination channel name.
* DestChannelState : Destination channel's state.
* DestChannelStateDesc : Destination channel's state description.
* DestCallerIDNum :
* DestCallerIDName :
* DestAccountCode :
* DestExten :
* DestPriority :
* DestUniqueid :
* DestLinkedid :
* DialStatus : The result of the dial operation.
* Forward : If the call was forwarded, where the call was forward to.
 
=== Example ===
<pre>
Event: DialEnd
Privilege: call,all
Channel: SIP/300-00000008
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: 300
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
ConnectedLineName: <unknown>
Language: en
Language: en
AccountCode:  
AccountCode:  
Context: queue_sales
Context: sample_musiconhold
Exten: s
Exten: s
Priority: 2
Priority: 3
Uniqueid: 1480668413.15
Uniqueid: 1513280582.21
Linkedid: 1480668413.15
Linkedid: 1513280582.21
DestChannel: SIP/agent-03-00000009
Application: MusicOnHold
DestChannelState: 6
ApplicationData:  
DestChannelStateDesc: Up
Duration: 00:00:32
DestCallerIDNum: <unknown>
BridgeId:  
DestCallerIDName: <unknown>
</pre>
DestConnectedLineNum: 300
 
DestConnectedLineName: <unknown>
=== See also ===
DestLanguage: en
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_CoreShowChannel
DestAccountCode:
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerAction_CoreShowChannels
DestContext: public
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_CoreShowChannelsComplete
DestExten: s
 
DestPriority: 1
== DBGetResponse ==
DestUniqueid: 1480668414.16
DBGet response message.
DestLinkedid: 1480668413.15
<pre>
DialStatus: ANSWER
Event: DBGetResponse
Family: <value>
Key: <value>
Val: <value>
</pre>
</pre>
* Family : Requested DBGet family.
* Key : Requested DBGet key.
* Val : Stored value.
=== Example ===
<pre>
<pre>
Event: DialEnd
Event: DBGetResponse
Privilege: call,all
Family: SIP/Registry
Channel: SIP/300-0000001b
Key: agent-01
ChannelState: 4
Val: 10.1.27.60:49456:600:24816095:sip:47631908@10.1.27.60:49456
ChannelStateDesc: Ring
ActionID: 956f798b-e55e-46f7-927c-03b19086112b
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>
</pre>


=== See also ===
== DeviceStateChange ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialEnd
Device의 state 가 변경되었음을 나타낸다.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Dial
 
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Originate
ExtensionStatus 이벤트는 dialplan hints 와 연관된 내용에만 발생하는 것에 반해, DeviceStateChange 이벤트는 모든 device state 의 변경에 발생한다는 것이 다르다.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Originate
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialBegin
Event: DeviceStateChange
Device: <value>
State: <value>
</pre>
* Device : state 가 변경된 device
* State : 변경된 state


== DialState ==
=== Example ===
=== Example ===
<pre>
<pre>
Event: DialState
Event: DeviceStateChange
Privilege: call,all
Privilege: call,all
Channel: SIP/agent-01-0000002d
Device: SIP/trunk_test_1
ChannelState: 4
State: RINGING
ChannelStateDesc: Ring
</pre>
CallerIDNum: agent-01
 
CallerIDName: <unknown>
=== See also ===
ConnectedLineNum: <unknown>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DeviceStateChange
ConnectedLineName: <unknown>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ExtensionStatus
Language: en
 
AccountCode:  
== DialBegin ==
Context: queue_sales
Raised when a dial action has started.
Exten: s
 
Priority: 2
Class : CALL
Uniqueid: 1481281260.83
<pre>
Linkedid: 1481281260.83
Event: DialBegin
DestChannel: SIP/agent-03-0000002e
Channel: <value>
DestChannelState: 5
ChannelState: <value>
DestChannelStateDesc: Ringing
ChannelStateDesc: <value>
DestCallerIDNum: <unknown>
CallerIDNum: <value>
DestCallerIDName: <unknown>
CallerIDName: <value>
DestConnectedLineNum: agent-01
ConnectedLineNum: <value>
DestConnectedLineName: <unknown>
ConnectedLineName: <value>
DestLanguage: en
AccountCode: <value>
DestAccountCode:  
Context: <value>
DestContext: public
DestExten: s
DestPriority: 1
DestUniqueid: 1481281261.84
DestLinkedid: 1481281260.83
DialStatus: RINGING
</pre>
 
== ExtensionStatus ==
Raised when a hint changes due to a device state change.
 
Class : CALL
<pre>
Event: ExtensionStatus
Exten: <value>
Exten: <value>
Context: <value>
Priority: <value>
Hint: <value>
Uniqueid: <value>
Status: <value>
Linkedid: <value>
StatusText: <value>
DestChannel: <value>
</pre>
DestChannelState: <value>
* Extension : Name of the extension.
DestChannelStateDesc: <value>
* Context : Context that owns the extension.
DestCallerIDNum: <value>
* Hint : Hint set for the extension.
DestCallerIDName: <value>
* Status : Numerical value of the extension status. Extension status is determined by the combined device state of all items contained in the hint.
DestConnectedLineNum: <value>
: -2 : The extension was removed from the dialplan.
DestConnectedLineName: <value>
: -1 : The extension's hint was removed from the dialplan.
DestAccountCode: <value>
: 0 : Idle. Related device(s) are in an idle state.
DestContext: <value>
: 1 : InUse. Related device(s) are in active calls but may take any more calls.
DestExten: <value>
: 2 : Busy. Related device(s) are in active calls and may not take any more calls.
DestPriority: <value>
: 4 : Unavailable. Related device(s) are not reachable.
DestUniqueid: <value>
: 8 : Ringing. Related device(s) are currently ringing.
DestLinkedid: <value>
: 9 : InUse&Ringing. Related device(s) are currently ringing and in activce calls.
DialString: <value>
: 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>
</pre>
* Status : Informational message
* Channel
* Uptime : Seconds since start
* ChannelState
* LastReload : Seconds since last reload
* ChannelStateDesc
 
=== 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
* CallerIDNum
* CallerIDName
* CallerIDName
Line 2,383: Line 2,591:
* Priority
* Priority
* Uniqueid
* Uniqueid
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* Linkedid
* Cause - A numeric cause code for why the channel was hung up.
* DestChannel
* Cause-txt - A description of why the channel was hung up.
* DestChannelState
 
* DestChannelStateDesc
=== Example ===
* DestAccountCode
<pre>
* DestContext
Event: Hangup
* DestExten
* DestUniqueid
* DestLinkedid
* DialString : The non-technology specific device being dialed.
 
=== Example ===
<pre>
Event: DialBegin
Privilege: call,all
Privilege: call,all
Channel: SIP/agent-01-00000003
Channel: SIP/agent-01-0000002d
ChannelState: 6
ChannelState: 4
ChannelStateDesc: Up
ChannelStateDesc: Ring
CallerIDNum: agent-01
CallerIDNum: agent-01
CallerIDName: <unknown>
CallerIDName: <unknown>
Line 2,400: Line 2,615:
Language: en
Language: en
AccountCode:  
AccountCode:  
Context: sample_musiconhold
Context: queue_sales
Exten: s
Exten: s
Priority: 3
Priority: 2
Uniqueid: 1480425486.6
Uniqueid: 1481281260.83
Linkedid: 1480425486.6
Linkedid: 1481281260.83
Cause: 0
DestChannel: SIP/agent-03-0000002e
Cause-txt: Unknown
DestChannelState: 0
DestChannelStateDesc: Down
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: <unknown>
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode:
DestContext: public
DestExten:
DestPriority: 1
DestUniqueid: 1481281261.84
DestLinkedid: 1481281260.83
DialString: sip/agent-03
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialBegin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newchannel
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Dial
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SoftHangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Originate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Originate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newstate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialEnd
 
== DialEnd ==
Dial 이 종료되었음을 알려준다.


== HangupHandlerPop ==
Class : CALL
Raised when a hangup handler is removed from the handler stack by the CHANNEL() function.
<pre>
<pre>
Event: HangupHandlerPop
Event: DialEnd
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 2,433: Line 2,663:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Handler: <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 : Channel name.
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* ChannelState : Channel's state.
* ChannelStateDesc : Channel state description 참조.
* ChannelStateDesc : Channel's state description.
* CallerIDNum
* CallerIDNum :
* CallerIDName
* CallerIDName :
* ConnectedLineNum
* ConnectedLineNum :
* ConnectedLineName
* ConnectedLineName :
* AccountCode
* AccountCode :
* Context
* Context :
* Exten
* Exten :
* Priority
* Priority :
* Uniqueid
* Uniqueid :
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Handler : Hangup handler parameter string passed to the Gosub application.
* DestChannel : Destination channel name.
 
* DestChannelState : Destination channel's state.
=== See also ===
* DestChannelStateDesc : Destination channel's state description.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPop
* DestCallerIDNum :
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPush
* DestCallerIDName :
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL
* DestAccountCode :
 
* DestExten :
== HangupRequest ==
* DestPriority :
Hangup request 가 왔음을 알려준다.
* DestUniqueid :
<pre>
* DestLinkedid :
Event: HangupRequest
* DialStatus : The result of the dial operation.
Channel: <value>
: ABORT : The call was aborted.
ChannelState: <value>
: ANSWER : The caller answered.
ChannelStateDesc: <value>
: BUSY : The caller was busy.
CallerIDNum: <value>
: CANCEL : The caller cancelled the call.
CallerIDName: <value>
: CHANUNAVAIL : The requested channel is unavailable.
ConnectedLineNum: <value>
: CONGESTION : The called party is congested.
ConnectedLineName: <value>
: CONTINUE : The dial completed, but the caller elected to continue in the dialplan.
AccountCode: <value>
: 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 ":".
Context: <value>
: NOANSWER : The called party failed to answer.
Exten: <value>
* Forward : If the call was forwarded, where the call was forward to.
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Cause: <value>
</pre>


=== Example ===
=== Example ===
<pre>
<pre>
Event: HangupRequest
Event: DialEnd
Privilege: call,all
Privilege: call,all
Channel: SIP/agent-01-0000002b
Channel: SIP/300-00000008
ChannelState: 6
ChannelState: 4
ChannelStateDesc: Up
ChannelStateDesc: Ring
CallerIDNum: agent-01
CallerIDNum: 300
CallerIDName: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
Line 2,488: Line 2,727:
Language: en
Language: en
AccountCode:  
AccountCode:  
Context: sample_musiconhold
Context: queue_sales
Exten: s
Exten: s
Priority: 3
Priority: 2
Uniqueid: 1481278514.79
Uniqueid: 1480668413.15
Linkedid: 1481278514.79
Linkedid: 1480668413.15
DestChannel: SIP/agent-03-00000009
DestChannelState: 6
DestChannelStateDesc: Up
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: 300
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode:
DestContext: public
DestExten: s
DestPriority: 1
DestUniqueid: 1480668414.16
DestLinkedid: 1480668413.15
DialStatus: ANSWER
</pre>
</pre>
== LocalBridge ==
<pre>
<pre>
Event: LocalBridge
Event: DialEnd
Privilege: call,all
Privilege: call,all
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
Channel: SIP/300-0000001b
LocalOneChannelState: 0
ChannelState: 4
LocalOneChannelStateDesc: Down
ChannelStateDesc: Ring
LocalOneCallerIDNum: <unknown>
CallerIDNum: 300
LocalOneCallerIDName: <unknown>
CallerIDName: <unknown>
LocalOneConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
LocalOneConnectedLineName: <unknown>
ConnectedLineName: <unknown>
LocalOneLanguage: en
Language: en
LocalOneAccountCode:  
AccountCode:  
LocalOneContext: common-incoming
Context: queue_sales
LocalOneExten: test-04
Exten: s
LocalOnePriority: 1
Priority: 2
LocalOneUniqueid: 1447438716.467
Uniqueid: 1480670638.49
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 1480670638.49
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
DestChannel: SIP/agent-02-0000001d
LocalTwoChannelState: 4
DestChannelState: 5
LocalTwoChannelStateDesc: Ring
DestChannelStateDesc: Ringing
LocalTwoCallerIDNum: <unknown>
DestCallerIDNum: <unknown>
LocalTwoCallerIDName: <unknown>
DestCallerIDName: <unknown>
LocalTwoConnectedLineNum: <unknown>
DestConnectedLineNum: 300
LocalTwoConnectedLineName: <unknown>
DestConnectedLineName: <unknown>
LocalTwoLanguage: en
DestLanguage: en
LocalTwoAccountCode:  
DestAccountCode:  
LocalTwoContext: common-incoming
DestContext: public
LocalTwoExten: test-04
DestExten: s
LocalTwoPriority: 1
DestPriority: 1
LocalTwoUniqueid: 1447438716.468
DestUniqueid: 1480670639.51
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestLinkedid: 1480670638.49
Context: common-incoming
DialStatus: NOANSWER
Exten: test-04
LocalOptimization: Yes
</pre>
</pre>


== LocalOptimizationBegin ==
=== 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>
<pre>
Event: LocalOptimizationBegin
Event: DialState
Privilege: call,all
Privilege: call,all
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
Channel: SIP/agent-01-0000002d
LocalOneChannelState: 6
ChannelState: 4
LocalOneChannelStateDesc: Up
ChannelStateDesc: Ring
LocalOneCallerIDNum: <unknown>
CallerIDNum: agent-01
LocalOneCallerIDName: <unknown>
CallerIDName: <unknown>
LocalOneConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
LocalOneConnectedLineName: <unknown>
ConnectedLineName: <unknown>
LocalOneLanguage: en
Language: en
LocalOneAccountCode:  
AccountCode:  
LocalOneContext: common-incoming
Context: queue_sales
LocalOneExten:  
Exten: s
LocalOnePriority: 1
Priority: 2
LocalOneUniqueid: 1447438716.467
Uniqueid: 1481281260.83
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 1481281260.83
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
DestChannel: SIP/agent-03-0000002e
LocalTwoChannelState: 6
DestChannelState: 5
LocalTwoChannelStateDesc: Up
DestChannelStateDesc: Ringing
LocalTwoCallerIDNum: <unknown>
DestCallerIDNum: <unknown>
LocalTwoCallerIDName: <unknown>
DestCallerIDName: <unknown>
LocalTwoConnectedLineNum: <unknown>
DestConnectedLineNum: agent-01
LocalTwoConnectedLineName: <unknown>
DestConnectedLineName: <unknown>
LocalTwoLanguage: en
DestLanguage: en
LocalTwoAccountCode:  
DestAccountCode:  
LocalTwoContext: common-incoming
DestContext: public
LocalTwoExten: test-04
DestExten: s
LocalTwoPriority: 1
DestPriority: 1
LocalTwoUniqueid: 1447438716.468
DestUniqueid: 1481281261.84
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestLinkedid: 1481281260.83
SourceChannel: SIP/test-04-0000019b
DialStatus: RINGING
SourceChannelState: 6
</pre>
SourceChannelStateDesc: Up
 
SourceCallerIDNum: test-04
== DTMFBegin ==
SourceCallerIDName: <unknown>
=== Example ===
SourceConnectedLineNum: <unknown>
<pre>
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>


== LocalOptimizationEnd ==
== EndpointDetail ==
Provide details about an endpoint section.
 
Class: COMMAND
<pre>
<pre>
Event: LocalOptimizationEnd
Event: EndpointDetail
Privilege: call,all
ObjectType: <value>
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
ObjectName: <value>
LocalOneChannelState: 6
Context: <value>
LocalOneChannelStateDesc: Up
Disallow: <value>
LocalOneCallerIDNum: <unknown>
Allow: <value>
LocalOneCallerIDName: <unknown>
DtmfMode: <value>
LocalOneConnectedLineNum: <unknown>
RtpIpv6: <value>
LocalOneConnectedLineName: <unknown>
RtpSymmetric: <value>
LocalOneLanguage: en
IceSupport: <value>
LocalOneAccountCode:  
UsePtime: <value>
LocalOneContext: common-incoming
ForceRport: <value>
LocalOneExten:  
RewriteContact: <value>
LocalOnePriority: 1
Transport: <value>
LocalOneUniqueid: 1447438716.467
OutboundProxy: <value>
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
MohSuggest: <value>
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
100rel: <value>
LocalTwoChannelState: 6
Timers: <value>
LocalTwoChannelStateDesc: Up
TimersMinSe: <value>
LocalTwoCallerIDNum: <unknown>
TimersSessExpires: <value>
LocalTwoCallerIDName: <unknown>
Auth: <value>
LocalTwoConnectedLineNum: <unknown>
OutboundAuth: <value>
LocalTwoConnectedLineName: <unknown>
Aors: <value>
LocalTwoLanguage: en
MediaAddress: <value>
LocalTwoAccountCode:  
IdentifyBy: <value>
LocalTwoContext: common-incoming
DirectMedia: <value>
LocalTwoExten: test-04
DirectMediaMethod: <value>
LocalTwoPriority: 1
ConnectedLineMethod: <value>
LocalTwoUniqueid: 1447438716.468
DirectMediaGlareMitigation: <value>
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DisableDirectMediaOnNat: <value>
Success: No
Callerid: <value>
Id: 5
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>
</pre>


== MonitorStart ==
=== See also ===
Raised when monitoring has started on a channel.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_EndpointDetail
 
== EndpointList ==
Provide details about a contact's status.


Class : CALL
Class : COMMAND
<pre>
<pre>
Event: MonitorStart
Event: EndpointList
Channel: <value>
ObjectType: <value>
ChannelState: <value>
ObjectName: <value>
ChannelStateDesc: <value>
Transport: <value>
CallerIDNum: <value>
Aor: <value>
CallerIDName: <value>
Auths: <value>
ConnectedLineNum: <value>
OutboundAuths: <value>
ConnectedLineName: <value>
DeviceState: <value>
AccountCode: <value>
ActiveChannels: <value>
Context: <value>
</pre>
Exten: <value>
* ObjectType: The Object's type. This will always be 'endpoint'.
Priority: <value>
* ObjectName: The name of this object.
Uniqueid: <value>
* Transport: The transport configurations associated with this endpoint.
Linkedid: <value>
* Aor: The aor configurations associated with this endpoint.
</pre>
* Auths: The inbound authentication configurations associated with this endpoint.
* Channel
* OutboundAuths: The outbound authentication configurations associated with this endpoint.
* ChannelState
* DeviceState: The aggregate device state for this endpoint.
* ChannelStateDesc
* ActiveChannels: The number of active channels associated with this endpoint.
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid


=== Example ===
=== Example ===
<pre>
<pre>
Event: MonitorStart
Event: EndpointList
Privilege: call,all
ObjectType: endpoint
Channel: SIP/300-00000000
ObjectName: 199
ChannelState: 6
Transport:  
ChannelStateDesc: Up
Aor: 199
CallerIDNum: 300
Auths: 199
CallerIDName: <unknown>
OutboundAuths:  
ConnectedLineNum: <unknown>
Contacts: 199/sip:199@172.17.42.1:32942;transport=ws;rtcweb-breaker=no,
ConnectedLineName: <unknown>
DeviceState: Not in use
Language: en
ActiveChannels:  
AccountCode:  
Context: sample_musiconhold
Exten: s
Priority: 3
Uniqueid: 1481880386.0
Linkedid: 1481880386.0
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MonitorStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_EndpointList
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MonitorStop
 
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Monitor
== EndpointDetailComplete ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Monitor
Provide final information about endpoint details.


== MonitorStop ==
Class: COMMAND
Raised when monitoring has stopped on a channel.
 
Class : CALL
<pre>
<pre>
Event: MonitorStop
Event: EndpointDetailComplete
Channel: <value>
EventList: <value>
ChannelState: <value>
ListItems: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
</pre>
</pre>
* Channel
* EventList
* ChannelState
* ListItems
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid


=== Example ===
=== Example ===
<pre>
<pre>
Event: MonitorStop
Event: EndpointDetailComplete
Privilege: call,all
EventList: Complete
Channel: SIP/300-00000000
ListItems: 4
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>
</pre>


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


== MusicOnHoldStart ==
Class : CALL
채널에서 Music on hold 가 시작되었음을 알려준다.
<pre>
<pre>
Event: MusicOnHoldStart
Event: ExtensionStatus
Channel: <value>
Exten: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Context: <value>
Exten: <value>
Hint: <value>
Priority: <value>
Status: <value>
Uniqueid: <value>
StatusText: <value>
Linkedid: <value>
Class: <value>
</pre>
</pre>
* Channel
* Extension : Name of the extension.
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* Context : Context that owns the extension.
* channelStateDesc : Channel state description 참조.
* Hint : Hint set for the extension.
* CallerIDNum
* Status : Numerical value of the extension status. Extension status is determined by the combined device state of all items contained in the hint.
* CallerIDName
: -2 : The extension was removed from the dialplan.
* ConnectedLineNum
: -1 : The extension's hint was removed from the dialplan.
* ConnectedLineName
: 0 : Idle. Related device(s) are in an idle state.
* AccountCode
: 1 : InUse. Related device(s) are in active calls but may take any more calls.
* Context
: 2 : Busy. Related device(s) are in active calls and may not take any more calls.
* Exten
: 4 : Unavailable. Related device(s) are not reachable.
* Priority
: 8 : Ringing. Related device(s) are currently ringing.
* Uniqueid
: 9 : InUse&Ringing. Related device(s) are currently ringing and in activce calls.
* Linkedid : Uniqueid of the oldest channel associated with this channel.
: 16 : Hold. Related device(s) are currently on hold.
* Class : The class of music being played on the channel.
: 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 ===
=== Example ===
<pre>
<pre>
Event: MusicOnHoldStart
Event: FullyBooted
Privilege: call,all
Privilege: system,all
Channel: SIP/trunk_test_1-0000019a
Uptime: 908581
ChannelState: 6
LastReload: 908581
ChannelStateDesc: Up
Status: Fully Booted
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>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MusicOnHoldStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_FullyBooted
* 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 ==
== Hangup ==
=== Example ===
채널이 종료되었음을 알려준다.
<pre>
<pre>
Event: MusicOnHoldStop
Event: Hangup
Privilege: call,all
Channel: <value>
Channel: SIP/agent-01-0000002b
ChannelState: <value>
ChannelState: 6
ChannelStateDesc: <value>
ChannelStateDesc: Up
CallerIDNum: <value>
CallerIDNum: agent-01
CallerIDName: <value>
CallerIDName: <unknown>
ConnectedLineNum: <value>
ConnectedLineNum: <unknown>
ConnectedLineName: <value>
ConnectedLineName: <unknown>
AccountCode: <value>
Language: en
Context: <value>
AccountCode:
Exten: <value>
Context: sample_musiconhold
Priority: <value>
Exten: s
Uniqueid: <value>
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>
Linkedid: <value>
Cause: <value>
Cause-txt: <value>
</pre>
</pre>
* Channel
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
* ChannelStateDesc : Channel state description 참조.
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* Cause - A numeric cause code for why the channel was hung up. See detail [[#Hangup cause]] above.
* Cause-txt - A description of why the channel was hung up.


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


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


== NewConnectedLine ==
== HangupHandlerPop ==
Raised when a channel's connected line information is changed.
Raised when a hangup handler is removed from the handler stack by the CHANNEL() function.
 
Class : CALL
<pre>
<pre>
Event: NewConnectedLine
Event: HangupHandlerPop
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 2,900: Line 3,319:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Handler: <value>
</pre>
</pre>
* Channel
* Channel
* ChannelState
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* ChannelStateDesc
* ChannelStateDesc : Channel state description 참조.
* CallerIDNum
* CallerIDNum
* CallerIDName
* CallerIDName
Line 2,913: Line 3,333:
* Priority
* Priority
* Uniqueid
* Uniqueid
* Linkedid
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Handler : Hangup handler parameter string passed to the Gosub application.


=== Example ===
=== See also ===
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPop
Event: NewConnectedLine
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPush
Privilege: call,all
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL
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 ===
== HangupHandlerPush ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_NewConnectedLine
Raised when a hangup handler is added to the handler stack by the CHANNEL() function.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CONNECTEDLINE


== Newexten ==
Class : DIALPLAN
채널이 새로운 context, extension, priority 로 진입했을 때 발생한다.
<pre>
<pre>
Event: NewExten
Event: HangupHandlerPush
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 2,956: Line 3,360:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Extension: <value>
Handler: <value>
Application: <value>
AppData: <value>
</pre>
</pre>
* Channel
* Channel
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* ChannelState
* ChannelStateDesc : Channel state description 참조.
* ChannelStateDesc
* CallerIDNum
* CallerIDNum
* CallerIDName
* CallerIDName
Line 2,972: Line 3,374:
* Priority
* Priority
* Uniqueid
* Uniqueid
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Linkedid
* Extension : Deprecated in 12, but kept for backward compatibility. Please use 'Exten' instead.
* Handler : Hangup handler parameter string passed to the Gosub application.
* Application : The application about to be executed.
* AppData : The data to be passed to the application.


=== Example ===
=== See also ===
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPush
Event: Newexten
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPop
Privilege: call,all
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL
Channel: SIP/trunk_test_1-0000019a
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: from_provider
Exten:
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Extension:
Application: AppDial2
AppData: (Outgoing Line)
</pre>


=== See also ===
== HangupHandlerRun ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_NewExten
Raised when a hangup handler is about to be called.


== Newstate ==
Class : DIALPLAN
Channel 의 state 의 변경되었음을 알려준다.
<pre>
<pre>
Event: Newstate
Event: HangupHandlerRun
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 3,020: Line 3,401:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Handler: <value>
</pre>
</pre>
* Channel
* Channel
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* ChannelState
* ChannelStateDesc : Channel state description 참조.
* ChannelStateDesc
* CallerIDNum
* CallerIDNum
* CallerIDName
* CallerIDName
Line 3,033: Line 3,415:
* Priority
* Priority
* Uniqueid
* Uniqueid
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* 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.


=== Example ===
Class : CALL
<pre>
<pre>
Event: Newstate
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 3,048: 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
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newstate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupRequest
* 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_Hangup
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup


== OriginateResponse ==
== Hold ==
Raised in response to an Originate command.
채널이 Hold 상태가 되었음을 알려준다. (ex. Device 에서 Hold 기능을 사용했을 경우)
 
Raised when a channel goes on hold.


Class : CALL
Class : CALL
<pre>
<pre>
Event: OriginateResponse
Event: Hold
[ActionID:] <value>
Response: <value>
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Context: <value>
Exten: <value>
Exten: <value>
Reason: <value>
Priority: <value>
Uniqueid: <value>
Uniqueid: <value>
CallerIDNum: <value>
Linkedid: <value>
CallerIDName: <value>
MusicClass: <value>
</pre>
</pre>
* ActionID
* Response
: Failure
: Success
* Channel
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Context
* Exten
* Exten
* Reason
* Priority
: 자세한 내용은 [[Asterisk_status_code#Originate_response_reason]] 참조.
* Uniqueid
* Uniqueid
* CallerIDNum
* Linkedid
* CallerIDName
* MusicClass : The suggested MusicClass, if provided.


=== Example ===
=== Example ===
==== Normal ====
<pre>
<pre>
"event": "OriginateResponse",
Event: Hold
"privilege": "call,all",
Privilege: call,all
"response": "Success",
Channel: SIP/agent-01-0000000c
"channel": "SIP/trunk_test_1-00000000",
ChannelState: 6
"reason": "4",
ChannelStateDesc: Up
"uniqueid": "dd420b95-c52d-467a-8f65-63efaa094eb6",
CallerIDNum: agent-01
"calleridname": "<unknown>",
CallerIDName: agent-01@earth.pchero21.com
"context": "",
ConnectedLineNum: <unknown>
"exten": "",
ConnectedLineName: <unknown>
"calleridnum": "<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>
</pre>


==== Failed ====
== IdentifyDetail ==
Provide details about an identify section.
 
Class : COMMAND
<pre>
<pre>
"event": "OriginateResponse",
Event: IdentifyDetail
"privilege": "call,all",
ObjectType: <value>
"response": "Failure",
ObjectName: <value>
"channel": "SIP/111-111-0004@trunk_test_1",
Endpoint: <value>
"reason": "5",
Match: <value>
"uniqueid": "<null>",
EndpointName: <value>
"calleridname": "<unknown>",
"context": "",
"exten": "",
"calleridnum": "<unknown>"
</pre>
</pre>
* ObjectType : The object's type. This will always be "identify".
* ObjectName : The name of this object.
* Endpoint : Nameof Endpoint.
* Match : IP addresses or networks to match against.
* EndpointName : The name of the endpoint associated with this information.


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_OriginateResponse
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_IdentifyDetail
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Originate


== ParkedCall ==
== InvalidAccountID ==
Channel 이 parked 되었을 때 발생한다.
Raised when a request fails an authentication check due to an invalid account ID.


Raised when a channel is parked.
Class : SECURITY
 
Class : CALL
<pre>
<pre>
Event: ParkedCall
Event: InvalidAccountID
ParkeeChannel: <value>
EventTV: <value>
ParkeeChannelState: <value>
Severity: <value>
ParkeeChannelStateDesc: <value>
Service: <value>
ParkeeCallerIDNum: <value>
EventVersion: <value>
ParkeeCallerIDName: <value>
AccountID: <value>
ParkeeConnectedLineNum: <value>
SessionID: <value>
ParkeeConnectedLineName: <value>
LocalAddress: <value>
ParkeeAccountCode: <value>
RemoteAddress: <value>
ParkeeContext: <value>
[Module:] <value>
ParkeeExten: <value>
[SessionTV:] <value>
ParkeePriority: <value>
ParkeeUniqueid: <value>
ParkeeLinkedid: <value>
ParkerDialString: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
</pre>
</pre>
* ParkeeChannel
* EventTV : The time the event was detected.
* ParkeeChannelState
* Severity : A relative severity of the security event.
* ParkeeChannelStateDesc
: Informational
* ParkeeCallerIDNum
: Error
* ParkeeCallerIDName
* Service : The Asterisk service that raised the security event.
* ParkeeConnectedLineNum
* EventVersion : The version of this event.
* ParkeeConnectedLineName
* AccountID : The Service account associated with the security event notification.
* ParkeeAccountCode
* SessionID : A unique identifier for the session in the service that raised the event.
* ParkeeContext
* LocalAddress : The address of the Asterisk service that raised the security event.
* ParkeeExten
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* ParkeePriority
* Module : If available, the name of the module that raised the event.
* ParkeeUniqueid
* SessionTV : The timestamp reported by the session.
* 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 ===
=== Example ===
<pre>
<pre>
Event: ParkedCall
Event: InvalidAccountID
Privilege: call,all
Privilege: security,all
ParkeeChannel: SIP/agent-01-00000009
EventTV: 2017-03-22T14:35:31.838+0000
ParkeeChannelState: 6
Severity: Error
ParkeeChannelStateDesc: Up
Service: AMI
ParkeeCallerIDNum: agent-01
EventVersion: 1
ParkeeCallerIDName: <unknown>
AccountID: test
ParkeeConnectedLineNum: <unknown>
SessionID: 0x7f49878ee3b0
ParkeeConnectedLineName: <unknown>
LocalAddress: IPV4/TCP/0.0.0.0/5038
ParkeeLanguage: en
RemoteAddress: IPV4/TCP/127.0.0.1/49117
ParkeeAccountCode:  
SessionTV: 1970-01-01T00:00:00.000+0000
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>
</pre>


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


== ParkedCallGiveUp ==
== InvalidPassword ==
Parking lot 에서 대기중인 채널이 다른 곳으로 redirect/bridge/hangup 될 경우 발생한다.
Raised when a request provides an invalid password during an invalid password during an authentication attempt.


Raised when a channel leaves a parking lot because it hung up without being answer.
Class : SECURITY
 
Class : CALL
<pre>
<pre>
Event: ParkedCallGiveUp
Event: InvalidPassword
ParkeeChannel: <value>
EventTV: <value>
ParkeeChannelState: <value>
Severity: <value>
ParkeeChannelStateDesc: <value>
Service: <value>
ParkeeCallerIDNum: <value>
EventVersion: <value>
ParkeeCallerIDName: <value>
AccountID: <value>
ParkeeConnectedLineNum: <value>
SessionID: <value>
ParkeeConnectedLineName: <value>
LocalAddress: <value>
ParkeeAccountCode: <value>
RemoteAddress: <value>
ParkeeContext: <value>
[Module:] <value>
ParkeeExten: <value>
[SessionTV:] <value>
ParkeePriority: <value>
[Challenge:] <value>
ParkeeUniqueid: <value>
[ReceivedChallenge:] <value>
ParkeeLinkedid: <value>
[RecievedHash:] <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>
* ParkeeChannel
* EventTV : The time the event was detected.
* ParkeeChannelState
* Severity : A relative severity of the security event.
* ParkeeChannelStateDesc
: Informational
* ParkeeCallerIDNum
: Error
* ParkeeCallerIDName
* Service : The asterisk service that raised the security event.
* ParkeeConnectedLineNum
* EventVersion : The version of this event.
* ParkeeConnectedLineName
* AccountID : The Service account associated with the security event notification.
* ParkeeAccountCode
* SessionID : A unique identifier for the session in the service that raised the event.
* ParkeeContext
* LocalAddress : The address of the Asterisk service that raised the security event.
* ParkeeExten
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* ParkeePriority
* Module : If available, the name of the module that raised the event.
* ParkeeUniqueid
* SessionTV : The timestamp reported by the session.
* ParkeeLinkedid
* Challenge : The challenge that was sent.
* ParkerChannel
* ReceivedChallenge : The challenge that was received.
* ParkerChannelState
* RecievedHash : The hash that was received.
* 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 ===
=== Example ===
<pre>
<pre>
Event: ParkedCallGiveUp
Event: InvalidPassword
Privilege: call,all
Privilege: security,all
ParkeeChannel: SIP/agent-01-00000026
EventTV: 2017-03-22T13:15:50.525+0000
ParkeeChannelState: 6
Severity: Error
ParkeeChannelStateDesc: Up
Service: SIP
ParkeeCallerIDNum: agent-01
EventVersion: 2
ParkeeCallerIDName: <unknown>
AccountID: 999999
ParkeeConnectedLineNum: <unknown>
SessionID: 0x7f49b4cc6bd8
ParkeeConnectedLineName: <unknown>
LocalAddress: IPV4/UDP/127.0.0.1/5060
ParkeeLanguage: en
RemoteAddress: IPV4/UDP/209.126.120.180/5183
ParkeeAccountCode:  
Challenge: 1538bbe1
ParkeeContext: sample_park
ReceivedChallenge: 1538bbe1
ParkeeExten: s
ReceivedHash: c022076148e01693420c417d2edcbc53
ParkeePriority: 2
</pre>
ParkeeUniqueid: 1480935251.69
 
ParkeeLinkedid: 1480935251.69
=== See also ===
ParkerDialString: SIP/agent-01
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_InvalidPassword
Parkinglot: default
 
ParkingSpace: 701
== InvalidTransport ==
ParkingTimeout: 35
Raised when a request attempts to use a transport not allowed by the Asterisk service.
ParkingDuration: 10
 
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>
</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 ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ParkedCallGiveUp
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_InvalidTransport


== ParkedCallSwap ==
== LoadAverageLimit ==
Raised when a channel takes the place of a previously parked channel.
Raised when a request fails because a configured load average limit has been reached.


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 : 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
Class : CALL
<pre>
<pre>
Event: ParkedCallSwap
Event: LocalBridge
ParkeeChannel: <value>
LocalOneChannel: <value>
ParkeeChannelState: <value>
LocalOneChannelState: <value>
ParkeeChannelStateDesc: <value>
LocalOneChannelStateDesc: <value>
ParkeeCallerIDNum: <value>
LocalOneCallerIDNum: <value>
ParkeeCallerIDName: <value>
LocalOneCallerIDName: <value>
ParkeeConnectedLineNum: <value>
LocalOneConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
LocalOneConnectedLineName: <value>
ParkeeAccountCode: <value>
LocalOneAccountCode: <value>
ParkeeContext: <value>
LocalOneContext: <value>
ParkeeExten: <value>
LocalOneExten: <value>
ParkeePriority: <value>
LocalOnePriority: <value>
ParkeeUniqueid: <value>
LocalOneUniqueid: <value>
ParkeeLinkedid: <value>
LocalOneLinkedid: <value>
ParkerChannel: <value>
LocalTwoChannel: <value>
ParkerChannelState: <value>
LocalTwoChannelState: <value>
ParkerChannelStateDesc: <value>
LocalTwoChannelStateDesc: <value>
ParkerCallerIDNum: <value>
LocalTwoCallerIDNum: <value>
ParkerCallerIDName: <value>
LocalTwoCallerIDName: <value>
ParkerConnectedLineNum: <value>
LocalTwoConnectedLineNum: <value>
ParkerConnectedLineName: <value>
LocalTwoConnectedLineName: <value>
ParkerAccountCode: <value>
LocalTwoAccountCode: <value>
ParkerContext: <value>
LocalTwoContext: <value>
ParkerExten: <value>
LocalTwoExten: <value>
ParkerPriority: <value>
LocalTwoPriority: <value>
ParkerUniqueid: <value>
LocalTwoUniqueid: <value>
ParkerLinkedid: <value>
LocalTwoLinkedid: <value>
ParkerDialString: <value>
Context: <value>
Parkinglot: <value>
Exten: <value>
ParkingSpace: <value>
LocalOptimization: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
</pre>
</pre>
* ParkeeChannel
* LocalOneChannel
* ParkeeChannelState
* LocalOneChannelState
* ParkeeChannelStateDesc
* LocalOneChannelStateDesc
* ParkeeCallerIDNum
* LocalOneCallerIDNum
* ParkeeCallerIDName
* LocalOneCallerIDName
* ParkeeConnectedLineNum
* LocalOneAccountCode
* ParkeeConnectedLineName
* LocalOneContext
* ParkeeAccountCode
* LocalOneExten
* ParkeeContext
* LocalOnePriority
* ParkeeExten
* LocalOneUniqueid
* ParkeePriority
* LocalOneLinkedid
* ParkeeUniqueid
* LocalTwoChannel
* ParkeeLinkedid : Uniqueid of the oldest channel associated with this channel.
* LocalTwoChannelState
* ParkerChannel
* LocalTwoChannelStateDesc
* ParkerChannelState
* LocalTwoCallerIDNum
* ParkerChannelStateDesc
* LocalTwoCallerIDName
* ParkerCallerIDNum
* LocalTwoConnectedLineNum
* ParkerCallerIDName
* LocalTwoConnectedLineName
* ParkerConnectedLineNum
* LocalTwoAccountCode
* ParkerConnectedLineName
* LocalTwoContext
* ParkerAccountCode
* LocalTwoExten
* ParkerContext
* LocalTwoPriority
* ParkerExten
* LocalTwoUniqueid
* ParkerPriority
* LocalTwoLinkedid
* ParkerUniqueid
* Context : The context in the dialplan that Channel2 starts in.
* ParkerLinkedid : Uniqueid of the oldest channel associated with this channel.
* Exten : The extension in the dialplan that Channel2 starts in.
* ParkerDialString : Dial string that can be used to call back the parker on ParkingTimeout.
* LocalOptimization
* Parkinglot : Name of the parking lot that the parkee is parked in.
: Yes
* ParkingSpace : Parking space that the parkee is parked in.
: No
* 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
 
== Parkinglot ==
Action: Parkinglots response message.
 
=== Example ===
=== Example ===
<pre>
<pre>
Event: Parkinglot
Event: LocalBridge
Name: default
Privilege: call,all
StartSpace: 701
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
StopSpace: 720
LocalOneChannelState: 0
Timeout: 45
LocalOneChannelStateDesc: Down
</pre>
LocalOneCallerIDNum: <unknown>
LocalOneCallerIDName: <unknown>
LocalOneConnectedLineNum: <unknown>
LocalOneConnectedLineName: <unknown>
LocalOneLanguage: en
LocalOneAccountCode:
LocalOneContext: common-incoming
LocalOneExten: test-04
LocalOnePriority: 1
LocalOneUniqueid: 1447438716.467
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
LocalTwoChannelState: 4
LocalTwoChannelStateDesc: Ring
LocalTwoCallerIDNum: <unknown>
LocalTwoCallerIDName: <unknown>
LocalTwoConnectedLineNum: <unknown>
LocalTwoConnectedLineName: <unknown>
LocalTwoLanguage: en
LocalTwoAccountCode:
LocalTwoContext: common-incoming
LocalTwoExten: test-04
LocalTwoPriority: 1
LocalTwoUniqueid: 1447438716.468
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Context: common-incoming
Exten: test-04
LocalOptimization: Yes
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LocalBridge


== PeerEntry ==
== LocalOptimizationBegin ==
Action: SIPpeers response message 이다.
Raised when two halves of a Local Channel begin to optimize themselves out of the media path.


=== Example ===
Class : CALL
<pre>
<pre>
Event: PeerEntry
Event: LocalOptimizationBegin
Channeltype: SIP
LocalOneChannel: <value>
ObjectName: client-03
LocalOneChannelState: <value>
ChanObjectType: peer
LocalOneChannelStateDesc: <value>
IPaddress: -none-
LocalOneCallerIDNum: <value>
IPport: 0
LocalOneCallerIDName: <value>
Dynamic: yes
LocalOneConnectedLineNum: <value>
AutoForcerport: yes
LocalOneConnectedLineName: <value>
Forcerport: no
LocalOneAccountCode: <value>
AutoComedia: no
LocalOneContext: <value>
Comedia: no
LocalOneExten: <value>
VideoSupport: no
LocalOnePriority: <value>
TextSupport: no
LocalOneUniqueid: <value>
ACL: no
LocalOneLinkedid: <value>
Status: Unmonitored
LocalTwoChannel: <value>
RealtimeDevice: no
LocalTwoChannelState: <value>
Description:  
LocalTwoChannelStateDesc: <value>
LocalTwoCallerIDNum: <value>
LocalTwoCallerIDName: <value>
LocalTwoConnectedLineNum: <value>
LocalTwoConnectedLineName: <value>
LocalTwoAccountCode: <value>
LocalTwoContext: <value>
LocalTwoExten: <value>
LocalTwoPriority: <value>
LocalTwoUniqueid: <value>
LocalTwoLinkedid: <value>
SourceChannel: <value>
SourceChannelState: <value>
SourceChannelStateDesc: <value>
SourceCallerIDNum: <value>
SourceCallerIDName: <value>
SourceConnectedLineNum: <value>
SourceConnectedLineName: <value>
SourceAccountCode: <value>
SourceContext: <value>
SourceExten: <value>
SourcePriority: <value>
SourceUniqueid: <value>
SourceLinkedid: <value>
DestUniqueId: <value>
Id: <value>
</pre>
</pre>
* SourceLinkedid : Uniqeid of the oldest channel associated with this channel.
* DestUniqueid : The unique ID of the bridge into which the local channel is optimizing.
* Id : Identification for the optimization operation.


== PeerStatus ==
=== Example ===
Peer 의 state 가 변경되었음을 알려준다.
<pre>
<pre>
Event: PeerStatus
Event: LocalOptimizationBegin
ChannelType: <value>
Privilege: call,all
Peer: <value>
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
PeerStatus: <value>
LocalOneChannelState: 6
Cause: <value>
LocalOneChannelStateDesc: Up
Address: <value>
LocalOneCallerIDNum: <unknown>
Port: <value>
LocalOneCallerIDName: <unknown>
Time: <value>
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>
* 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 ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LocalOptimizationBegin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LocalOptimizationEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_LocalOptimizeAway
 
== LocalOptimizationEnd ==
Raised when two halves of a Local Channel have finished optimizing themselves out of the media path.
 
Class : CALL
<pre>
<pre>
Event: PeerStatus
Event: LocalOptimizationEnd
Privilege: system,all
LocalOneChannel: <value>
ChannelType: SIP
LocalOneChannelState: <value>
Peer: SIP/agent-01
LocalOneChannelStateDesc: <value>
PeerStatus: Registered
LocalOneCallerIDNum: <value>
Address: 192.168.200.50:5060
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>
</pre>
* Success : Indicates whether the local optimization succeeded.
* Id : Identification for the optimization operation. Matches the id from a previous LocalOptimizationBegin.


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


== QueueCallerAbandon ==
Class : SYSTEM
Queue 에 인입된 콜이 분배되기 전 Hangup 되었을 때 발생하는 이벤트이다.
<pre>
<pre>
Event: QueueCallerAbandon
Event: LogChannel
Channel: <value>
Channel: <value>
ChannelState: <value>
Enabled: <value>
ChannelStateDesc: <value>
Reason: <value>
CallerIDNum: <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>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineNum: <value>
Line 3,462: Line 4,090:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Queue: <value>
MCallerIDNumValid: <value>
Position: <value>
MCallerIDNum: <value>
OriginalPosition: <value>
MCallerIDton: <value>
HoldTime: <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>
</pre>
* Channel
* Meetme : The identifier for the MeetMe conference.
* 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.


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


== QueueCallerJoin ==
Class : CALL
Queue 에 콜이 인입될 때 발생하는 이벤트이다.
<pre>
<pre>
Event: QueueCallerJoin
Event: MeetmeJoin
Meetme: <value>
Usernum: <value>
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 3,505: Line 4,156:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Queue: <value>
Position: <value>
Count: <value>
</pre>
</pre>
* Meetme : The identifier for the MeetME conference.
* Usernum : The identifier of the MeetME user who joined.


* Channel
=== See also ===
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeJoin
* ChannelStateDesc : Channel state description 참조.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeLeave
* CallerIDNum
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_MeetMe
* 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 ===
== MeetmeLeave ==
<pre>
Raised when a user leaves a MeetMe conference.
Event: QueueCallerJoin
Privilege: agent,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: from_provider
Exten:
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Queue: TestQueue
Count: 1
Position: 1
</pre>


== QueueCallerLeave ==
Class : CALL
Queue 에 인입된 콜이 빠져나갈 때 발생하는 이벤트이다.
<pre>
<pre>
Event: QueueCallerLeave
Event: MeetmeLeave
Meetme: <value>
Usernum: <value>
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 3,567: Line 4,186:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Queue: <value>
Duration: <value>
Count: <value>
Position: <value>
</pre>
</pre>
* Meetme : The identifier for the MeetMe conference.
* Usernum : The identifier of the MeetMe user who joined.
* Duration : The length of time in seconds that the Meetme user was in the conference.


* Channel
=== See also ===
* ChannelState - A numeric code for the channel's current state, related to ChannelStateDesc
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeLeave
* ChannelStateDesc : Channel state description 참조.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeJoin
* 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 ===
== MeetmeMute ==
<pre>
Raised when a MeetMe user is muted or unmuted.
Event: QueueCallerLeave
Privilege: agent,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: from_provider
Exten:
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Queue: TestQueue
Count: 0
Position: 1
</pre>


== QueueEntry ==
Class : CALL
Action: QueueStatus response message.
 
Queue 에서 대기중인 콜이 있을 경우 표시된다.
 
=== Example ===
<pre>
<pre>
Event: QueueEntry
Event: MeetmeMute
Queue: sales_1
Meetme: <value>
Position: 1
Usernum: <value>
Channel: SIP/agent-01-0000000f
Channel: <value>
Uniqueid: 1486480869.26
ChannelState: <value>
CallerIDNum: agent-01
ChannelStateDesc: <value>
CallerIDName: unknown
CallerIDNum: <value>
ConnectedLineNum: unknown
CallerIDName: <value>
ConnectedLineName: unknown
ConnectedLineNum: <value>
Wait: 11
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Duration: <value>
Status: <value>
</pre>
</pre>
* Meetme : The identifier for the MeetMe conference.
* Usernum : The idenitifer of the MeetMe user who joined.
* Duration : The length of time in seconds that the Meetme user has been in the conference at the time of this event.
* Status
: on
: off


== QueueMember ==
=== See also ===
Action: QueueStatus 의 response message 중 하나이다. Queue 에 속해있는 멤버의 정보를 표시한다.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeMute
<pre>
 
Event: QueueMember
== MeetmeTalking ==
Queue: <value>
Raised when a MeeMe user begins or ends talking.
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>


=== Example ===
Class : CALL
<pre>
<pre>
Event: QueueMember
Event: MeetmeTalking
Queue: sales_1
Meetme: <value>
Name: sip/agent-01
Usernum: <value>
Location: sip/agent-01
Channel: <value>
StateInterface: sip/agent-01
ChannelState: <value>
Membership: dynamic
ChannelStateDesc: <value>
Penalty: 0
CallerIDNum: <value>
CallsTaken: 0
CallerIDName: <value>
LastCall: 0
ConnectedLineNum: <value>
LastPause: 0
ConnectedLineName: <value>
InCall: 0
AccountCode: <value>
Status: 5
Context: <value>
Paused: 0
Exten: <value>
PausedReason:  
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Duration: <value>
Status: <value>
</pre>
</pre>
* Meetme : The identifier for the MeetMe conference.
* Usernum : The identifier of the MeetMe user who joined.
* Duration : The length of time in seconds that the Meetme user has been in the conference at the time of this event.
* Status
: on
: off
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeTalking


== QueueMemberAdded ==
== MeetmeTalkRequest ==
Queue 에 새롭게 멤버가 등록되었을 때 발생하는 이벤트 메시지이다.
Raised when a MeetMe user has started talking.
<pre>
Event: QueueMemberAdded
Privilege: agent,all
Queue: Dragon
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
MemberName: Local/603-test-mac_address-what-ever-002-1@DialLine/n
Membership: dynamic
Penalty: 0
CallsTaken: 0
LastCall: 0
Status: 1
Paused: 0
</pre>


== QueueMemberPause ==
Class : CALL
Queue 멤버가 Pause 되었을 때 발생하는 이벤트이다.
<pre>
<pre>
Event: QueueMemberPaused
Event: MeetmeTalkRequest
Privilege: agent,all
Meetme: <value>
Queue: Dragon
Usernum: <value>
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
Channel: <value>
MemberName: dummy_name
ChannelState: <value>
Paused: 0
ChannelStateDesc: <value>
Reason: Test pause
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>
</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


== QueueMemberPenalty ==
== MemoryLimit ==
Queue 멤버의 Penalty 값이 조정되었을 때 발생하는 이벤트이다.
Raised when a request fails due to an internal memory allocation failure.


'''Example'''
Class : SECURITY
<pre>
<pre>
Event: QueueMemberPenalty
Event: MemoryLimit
Privilege: agent,all
EventTV: <value>
Queue: Dragon
Severity: <value>
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
Service: <value>
Penalty: 100
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
[Module:] <value>
[SessionTV:] <value>
</pre>
</pre>
* EventTV : The time the event was detected.
* Severity : A relative severity of the security event.
: Informational
: Error
* Service : The Asterisk service that raised the security event.
* EventVersion : The version of this event.
* AccountID : The Service account associated with the security event notification.
* SessionID : A Unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.


== QueueMemberRemoved ==
=== See also ===
Queue 에서 멤버가 Leave(삭제) 되었을 때 발생하는 이벤트이다.
* 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.


'''Example'''
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>
<pre>
Event: QueueMemberRemoved
Event: MessageWaiting
Privilege: agent,all
Privilege: call,all
Queue: Dragon
Channel: SIP/agent-01-00000001
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
ChannelState: 6
MemberName: dummy_name
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>
</pre>


== QueueMemberRinginuse ==
== MonitorStart ==
== QueueMemberStatus ==
Raised when monitoring has started on a channel.
Queue 의 멤버 상태 정보가 변경되었을 때, 발생한다.


Class : AGENT
Class : CALL
<pre>
<pre>
Event: QueueMemberStatus
Event: MonitorStart
Queue: <value>
Channel: <value>
MemberName: <value>
ChannelState: <value>
Interface: <value>
ChannelStateDesc: <value>
StateInterface: <value>
CallerIDNum: <value>
Membership: <value>
CallerIDName: <value>
Penalty: <value>
ConnectedLineNum: <value>
CallsTaken: <value>
ConnectedLineName: <value>
LastCall: <value>
AccountCode: <value>
Status: <value>
Context: <value>
Paused: <value>
Exten: <value>
Ringinuse: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
</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
* CallerIDName
: dynamic
* ConnectedLineNum
: realtime
* ConnectedLineName
: static
* AccountCode
* Penalty : The penalty associated with the queue member.
* Context
* CallsTaken : The number of calls this queue member has serviced.
* Exten
* LastCall : The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
* Priority
* LastPause : The time when started last paused the queue member.
* Uniqueid
* InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
* Linkedid
: 0
 
: 1
=== Example ===
* Status - The numeric device state status of the queue member.
<pre>
: 0 : AST_DEVICE_UNKNOWN
Event: MonitorStart
: 1 : AST_DEVICE_NOT_INUSE
Privilege: call,all
: 2 : AST_DEVICE_INUSE
Channel: SIP/300-00000000
: 3 : AST_DEVICE_BUSY
ChannelState: 6
: 4 : AST_DEVICE_INVALID
ChannelStateDesc: Up
: 5 : AST_DEVICE_UNAVAILABLE
CallerIDNum: 300
: 6 : AST_DEVICE_RINGING
CallerIDName: <unknown>
: 7 : AST_DEVICE_RINGINUSE
ConnectedLineNum: <unknown>
: 8 : AST_DEVICE_ONHOLD
ConnectedLineName: <unknown>
* Paused
Language: en
: 0 : Not paused.
AccountCode:  
: 1 : Paused.
Context: sample_musiconhold
* PauseReason : If set when paused, the reason the queue member was paused.
Exten: s
* Ringinuse
Priority: 3
: 0
Uniqueid: 1481880386.0
: 1
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.


=== Example ===
Class : CALL
<pre>
<pre>
Event: QueueMemberStatus
Event: MonitorStop
Privilege: agent,all
Channel: <value>
PausedReason:  
ChannelState: <value>
MemberName: sip/agent-01
ChannelStateDesc: <value>
InCall: 0
CallerIDNum: <value>
Queue: sales_1
CallerIDName: <value>
Status: 1
ConnectedLineNum: <value>
Membership: dynamic
ConnectedLineName: <value>
Interface: sip/agent-01
AccountCode: <value>
StateInterface: sip/agent-01
Context: <value>
Ringinuse: 1
Exten: <value>
Penalty: 0
Priority: <value>
CallsTaken: 1
Uniqueid: <value>
LastCall: 1480670890
Linkedid: <value>
LastPause: 0
Paused: 0
</pre>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid


=== See also ===
=== Example ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueMemberStatus
<pre>
 
Event: MonitorStop
== QueueParams ==
Privilege: call,all
Action: QueueStatus response message.
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>


Queue 의 parameter 를 표시한다.
=== See also ===
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MonitorStop
Event: QueueParams
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MonitorStart
Queue: <value>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_StopMonitor
Max: <value>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_StopMonitor
Strategy: <value>
Calls: <value>
Holdtime: <value>
TalkTime: <value>
Completed: <value>
Abandoned: <value>
ServiceLevel: <value>
ServicelevelPerf: <value>
Weight: <value>
</pre>


=== Example ===
== MusicOnHoldStart ==
채널에서 Music on hold 가 시작되었음을 알려준다.
<pre>
<pre>
Event: QueueParams
Event: MusicOnHoldStart
Queue: sales_1
Channel: <value>
Max: 0
ChannelState: <value>
Strategy: ringall
ChannelStateDesc: <value>
Calls: 0
CallerIDNum: <value>
Holdtime: 0
CallerIDName: <value>
TalkTime: 0
ConnectedLineNum: <value>
Completed: 0
ConnectedLineName: <value>
Abandoned: 0
AccountCode: <value>
ServiceLevel: 0
Context: <value>
ServicelevelPerf: 0.0
Exten: <value>
Weight: 0
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Class: <value>
</pre>
</pre>
 
* Channel
== QueueSummary ==
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
Action: QueueSummary response message.
* channelStateDesc : Channel state description 참조.
 
* CallerIDNum
Queue의 통계를 표시한다.
* 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 ===
=== Example ===
<pre>
<pre>
Event: QueueSummary
Event: MusicOnHoldStart
Queue: sales_1
Privilege: call,all
LoggedIn: 3
Channel: SIP/trunk_test_1-0000019a
Available: 0
ChannelState: 6
Callers: 1
ChannelStateDesc: Up
HoldTime: 0
CallerIDNum: <unknown>
TalkTime: 0
CallerIDName: <unknown>
LongestHoldTime: 29
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>
</pre>


== RegistryEntry ==
=== See also ===
Action: SIPshowregistry Response message.
* 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 ===
=== Example ===
<pre>
<pre>
Event: RegistryEntry
Event: MusicOnHoldStop
Host: mysipprovider.com
Privilege: call,all
Port: 5060
Channel: SIP/agent-01-0000002b
Username: 3456
ChannelState: 6
Domain: mydomain
ChannelStateDesc: Up
DomainPort: 5082
CallerIDNum: agent-01
Refresh: 120
CallerIDName: <unknown>
State: Request Sent
ConnectedLineNum: <unknown>
RegistrationTime: 0
ConnectedLineName: <unknown>
</pre>
Language: en
AccountCode:  
Context: sample_musiconhold
Exten: s
Priority: 3
Uniqueid: 1481278514.79
Linkedid: 1481278514.79
</pre>
 
== Newchannel ==
새로운 채널이 생성되었을 때 발생한다.


== Reload ==
Raised when a new channel is created.
Raised when a module has been reloaded in Asterisk.


Class : SYSTEM
Class : CALL
<pre>
<pre>
Event: Reload
Event: Newchannel
Module: <value>
Channel: <value>
Status: <value>
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>
</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 ===
=== Example ===
<pre>
<pre>
Event: Reload
Event: Newchannel
Privilege: system,all
Privilege: call,all
Module: chan_sip
Channel: SIP/trunk_test_1-0000019a
Status: 0
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>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid


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


== RequestBadFormat ==
== NewConnectedLine ==
Raised when a request is received with bad formatting.
Raised when a channel's connected line information is changed.


Class : SECURITY
Class : CALL
<pre>
<pre>
Event: RequestBadFormat
Event: NewConnectedLine
EventTV: <value>
Channel: <value>
Severity: <value>
ChannelState: <value>
Service: <value>
ChannelStateDesc: <value>
EventVersion: <value>
CallerIDNum: <value>
AccountID: <value>
CallerIDName: <value>
SessionID: <value>
ConnectedLineNum: <value>
LocalAddress: <value>
ConnectedLineName: <value>
RemoteAddress: <value>
AccountCode: <value>
RequestType: <value>
Context: <value>
[Module:] <value>
Exten: <value>
[SessionTV:] <value>
Priority: <value>
[AccountID:] <value>
Uniqueid: <value>
[RequestParams:] <value>
Linkedid: <value>
</pre>
</pre>
* EventTV : The time the event was detected.
* Channel
* Severity : A relative severity of the security event.
* ChannelState
: Informational
* ChannelStateDesc
: Error
* CallerIDNum
* Service : The Asterisk service that raised the security event.
* CallerIDName
* EventVersion : The version of this event.
* ConnectedLineNum
* AccountID : The Service account associated with the security event notification.
* ConnectedLineName
* SessionID : A unique identifier for the session in the service that raised the event.
* AccountCode
* LocalAddress : The address of the Asterisk service that raised the security event.
* Context
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* Exten
* RequestType : The type of request attempted.
* Priority
* Module : If available, the name of the module that raised the event.
* Uniqueid
* SessionTV : The timestamp reported by the session.
* Linkedid
* AccountID : The account ID associated with the rejected request.
* RequestParams : Parameters provided to the rejected request.


=== Example ===
=== Example ===
<pre>
<pre>
Event: RequestBadFormat
Event: NewConnectedLine
Privilege: security,all
Privilege: call,all
EventTV: 2016-12-09T10:09:07.294+0000
Channel: SIP/agent-03-0000002e
Severity: Error
ChannelState: 5
Service: AMI
ChannelStateDesc: Ringing
EventVersion: 1
CallerIDNum: <unknown>
SessionID: 0x1290100
CallerIDName: <unknown>
LocalAddress: IPV4/TCP/0.0.0.0/5038
ConnectedLineNum: agent-01
RemoteAddress: IPV4/TCP/127.0.0.1/55100
ConnectedLineName: <unknown>
RequestType: Action: NONE
Language: en
SessionTV: 2016-12-09T09:40:31.714+0000
AccountCode:  
AccountID: admin
Context: public
Exten: s
Priority: 1
Uniqueid: 1481281261.84
Linkedid: 1481281260.83
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_RequestBadFormat
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_NewConnectedLine
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CONNECTEDLINE


== RequestNotAllowed ==
== Newexten ==
전송한 Action Request 를 수행할 권한이 없음을 알려준다.
채널이 새로운 context, extension, priority 로 진입했을 때 발생한다.
 
AMI Action request 를 전송했는데, 만약 접속중인 계정에 해당 명령어를 수행할 권한이 없을 경우 발생하게 된다.
 
Class : SECURITY
<pre>
<pre>
Event: RequestNotAllowed
Event: NewExten
EventTV: <value>
Channel: <value>
Severity: <value>
ChannelState: <value>
Service: <value>
ChannelStateDesc: <value>
EventVersion: <value>
CallerIDNum: <value>
AccountID: <value>
CallerIDName: <value>
SessionID: <value>
ConnectedLineNum: <value>
LocalAddress: <value>
ConnectedLineName: <value>
RemoteAddress: <value>
AccountCode: <value>
RequestType: <value>
Context: <value>
[Module:] <value>
Exten: <value>
[SessionTV:] <value>
Priority: <value>
[RequestParams:] <value>
Uniqueid: <value>
Linkedid: <value>
Extension: <value>
Application: <value>
AppData: <value>
</pre>
</pre>
* EventTV : The time the event was detected.
* Channel
* Severity : A relative severity of the security event.
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
: Informational
* ChannelStateDesc : Channel state description 참조.
: Error
* CallerIDNum
* Service : The Asterisk service that raised the security event.
* CallerIDName
* EventVersion : The version of this event.
* ConnectedLineNum
* AccountID : The Service account associated with the security event notification.
* ConnectedLineName
* SessionID : A unique identifier for the session in the service that raised the event.
* AccountCode
* LocalAddress : The address of the Asterisk service that raised the security event.
* Context
* RemoteAddress : The remote address of the enitty that caused the security event to be raised.
* Exten
* RequestType : The type of request attempted.
* Priority
* SessionTV : The timestamp reported by the session.
* Uniqueid
* RequestParams : Parameters provided to the rejected request.
* 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 ===
=== Example ===
<pre>
<pre>
Event: RequestNotAllowed
Event: Newexten
Privilege: security,all
Privilege: call,all
EventTV: 2016-12-08T12:36:39.885+0000
Channel: SIP/trunk_test_1-0000019a
Severity: Error
ChannelState: 0
Service: AMI
ChannelStateDesc: Down
EventVersion: 1
CallerIDNum: <unknown>
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>
 
== RTCPReceived ==
<pre>
Event: RTCPReceived
Privilege: reporting,all
Channel: SIP/test-04-0000019b
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: test-04
CallerIDName: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
Line 4,012: 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
To: 127.0.1.1:0
Extension:  
From: 192.168.200.1:27223
Application: AppDial2
RTT: 0.0000
AppData: (Outgoing Line)
SSRC: 0x00f17974
</pre>
PT: 201(RR)
 
ReportCount: 1
=== See also ===
Report0SourceSSRC: 0x34634503
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_NewExten
Report0FractionLost: 0
 
Report0CumulativeLost: 0
== Newstate ==
Report0HighestSequence: 41649
Channel 의 state 의 변경되었음을 알려준다.
Report0SequenceNumberCycles: 0
<pre>
Report0IAJitter: 0
Event: Newstate
Report0LSR: 0
Channel: <value>
Report0DLSR: 0.0000
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>
</pre>
 
* Channel
== RTCPSent ==
* 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 ===
=== Example ===
<pre>
<pre>
Event: RTCPSent
Event: Newstate
Privilege: reporting,all
Privilege: call,all
Channel: SIP/agent-01-0000002b
Channel: SIP/trunk_test_1-0000019a
ChannelState: 6
ChannelState: 6
ChannelStateDesc: Up
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDNum: <unknown>
CallerIDName: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
Line 4,048: Line 4,810:
Language: en
Language: en
AccountCode:  
AccountCode:  
Context: sample_musiconhold
Context: from_provider
Exten: s
Exten:  
Priority: 3
Priority: 1
Uniqueid: 1481278514.79
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 1481278514.79
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
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>
</pre>


== SoftHangupRequest ==
=== See also ===
Raised when a soft hangup is requested with specific cause code.
* 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
Class : CALL
<pre>
<pre>
Event: SoftHangupRequest
Event: OriginateResponse
[ActionID:] <value>
Response: <value>
Channel: <value>
Channel: <value>
ChannelState: <value>
Context: <value>
ChannelStateDesc: <value>
Exten: <value>
Reason: <value>
Uniqueid: <value>
CallerIDNum: <value>
CallerIDNum: <value>
CallerIDName: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Cause: <value>
</pre>
</pre>
* ActionID
* Response
: Failure
: Success
* Channel
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Context
* Exten
* Exten
* Priority
* Reason
: 자세한 내용은 [[Asterisk_status_code#Originate_response_reason]] 참조.
* Uniqueid
* Uniqueid
* Linkedid
* CallerIDNum
* Cause : A numeric cause code for why the channel was hung up.
* CallerIDName


=== Example ===
=== Example ===
==== Normal ====
<pre>
<pre>
Event: SoftHangupRequest
"event": "OriginateResponse",
Privilege: call,all
"privilege": "call,all",
Channel: Local/test-04@common-incoming-0000000a;2
"response": "Success",
ChannelState: 6
"channel": "SIP/trunk_test_1-00000000",
ChannelStateDesc: Up
"reason": "4",
CallerIDNum: <unknown>
"uniqueid": "dd420b95-c52d-467a-8f65-63efaa094eb6",
CallerIDName: <unknown>
"calleridname": "<unknown>",
ConnectedLineNum: <unknown>
"context": "",
ConnectedLineName: <unknown>
"exten": "",
Language: en
"calleridnum": "<unknown>"
AccountCode:  
</pre>
Context: common-incoming
 
Exten: test-04
==== Failed ====
Priority: 1
<pre>
Uniqueid: 1447438716.468
"event": "OriginateResponse",
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
"privilege": "call,all",
Cause: 16
"response": "Failure",
"channel": "SIP/111-111-0004@trunk_test_1",
"reason": "5",
"uniqueid": "<null>",
"calleridname": "<unknown>",
"context": "",
"exten": "",
"calleridnum": "<unknown>"
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SoftHangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_OriginateResponse
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Originate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup
 
== 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 되었을 때 발생한다.


== Status ==
Raised when a channel is parked.
Raised in response to Status command.


Class : CALL
Class : CALL
<pre>
<pre>
Event: Status
Event: ParkedCall
[ActionID:] <value>
ParkeeChannel: <value>
Channel: <value>
ParkeeChannelState: <value>
ChannelState: <value>
ParkeeChannelStateDesc: <value>
ChannelStateDesc: <value>
ParkeeCallerIDNum: <value>
CallerIDNum: <value>
ParkeeCallerIDName: <value>
CallerIDName: <value>
ParkeeConnectedLineNum: <value>
ConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
ConnectedLineName: <value>
ParkeeAccountCode: <value>
AccountCode: <value>
ParkeeContext: <value>
Context: <value>
ParkeeExten: <value>
Exten: <value>
ParkeePriority: <value>
Priority: <value>
ParkeeUniqueid: <value>
Uniqueid: <value>
ParkeeLinkedid: <value>
Linkedid: <value>
ParkerDialString: <value>
Type: <value>
Parkinglot: <value>
DNID: <value>
ParkingSpace: <value>
TimeToHangup: <value>
ParkingTimeout: <value>
BridgeID: <value>
ParkingDuration: <value>
Linkedid: <value>
Application: <value>
Data: <value>
Nativeformats: <value>
Readformat: <value>
Readtrans: <value>
Writeformat: <value>
Writetrans: <value>
Callgroup: <value>
Pickupgroup: <value>
Seconds: <value>
</pre>
</pre>
* ActionID
* ParkeeChannel
* Channel
* ParkeeChannelState
* ChannelState
* ParkeeChannelStateDesc
* ChannelStateDesc
* ParkeeCallerIDNum
* CallerIDNum
* ParkeeCallerIDName
* CallerIDName
* ParkeeConnectedLineNum
* ConnectedLineNum
* ParkeeConnectedLineName
* ConnectedLineName
* ParkeeAccountCode
* AccountCode
* ParkeeContext
* Context
* ParkeeExten
* Exten
* ParkeePriority
* Priority
* ParkeeUniqueid
* Uniqueid
* ParkeeLinkedid : Unique of the oldest channel associated with this channel.
* Linkedid
* ParkerDialString : Dial string that can be used to call back the parker on ParkingTimeout.
* Type : Type of channel.
* Parkinglot : Name of the parking lot that the parkee is parked in.
* DNID : Dialed number identifier.
* ParkingSpace : Parking Space that the parkee is parked in.
* TimeToHangup : Absolute lifetime of the channel.
* ParkingTimeout : time remaining until the parkee is forcefully removed from parking in seconds.
* BridgeID : Identifier of the bridge the channel is in, may be empty if not in one.
* ParkingDuration : Time the parkee has been in the parking bridge(in seconds).
* 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 ===
=== Example ===
<pre>
<pre>
Event: Status
Event: ParkedCall
Privilege: Call
Privilege: call,all
Channel: SIP/300-0000000d
ParkeeChannel: SIP/agent-01-00000009
ChannelState: 6
ParkeeChannelState: 6
ChannelStateDesc: Up
ParkeeChannelStateDesc: Up
CallerIDNum: 300
ParkeeCallerIDNum: agent-01
CallerIDName: <unknown>
ParkeeCallerIDName: <unknown>
ConnectedLineNum: <unknown>
ParkeeConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
ParkeeConnectedLineName: <unknown>
Language: en
ParkeeLanguage: en
AccountCode:  
ParkeeAccountCode:  
Context: sample_park
ParkeeContext: sample_park
Exten: s
ParkeeExten: s
Priority: 2
ParkeePriority: 2
Uniqueid: 1481806807.29
ParkeeUniqueid: 1486373739.14
Linkedid: 1481806807.29
ParkeeLinkedid: 1486373739.14
Type: SIP
ParkerDialString: SIP/agent-01
DNID: 4001
Parkinglot: default
EffectiveConnectedLineNum: <unknown>
ParkingSpace: 701
EffectiveConnectedLineName: <unknown>
ParkingTimeout: 45
TimeToHangup: 0
ParkingDuration: 0
BridgeID: 299de6ea-1dc7-4144-9e46-d6513723333e
</pre>
Linkedid: 1481806807.29
 
Application: Park
=== See also ===
Data:
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ParkedCall
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 ===
== ParkedCallGiveUp ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Status
Parking lot 에서 대기중인 채널이 다른 곳으로 redirect/bridge/hangup 될 경우 발생한다.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Status


== SussessfulAuth ==
Raised when a channel leaves a parking lot because it hung up without being answer.
Raised when a request successfully authenticates with a service.


Class : SECURITY
Class : CALL
<pre>
<pre>
Event: SuccessfulAuth
Event: ParkedCallGiveUp
EventTV: <value>
ParkeeChannel: <value>
Severity: <value>
ParkeeChannelState: <value>
Service: <value>
ParkeeChannelStateDesc: <value>
EventVersion: <value>
ParkeeCallerIDNum: <value>
AccountID: <value>
ParkeeCallerIDName: <value>
SessionID: <value>
ParkeeConnectedLineNum: <value>
LocalAddress: <value>
ParkeeConnectedLineName: <value>
RemoteAddress: <value>
ParkeeAccountCode: <value>
UsingPassword: <value>
ParkeeContext: <value>
[Module:] <value>
ParkeeExten: <value>
[SessionTV:] <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>
* EventTV : The time the event was detected.
* ParkeeChannel
* Severity : A relative severity of the security event.
* ParkeeChannelState
: Informational
* ParkeeChannelStateDesc
: Error
* ParkeeCallerIDNum
* Service : The Asterisk service that raised the security event.
* ParkeeCallerIDName
* EventVersion : The version of this event.
* ParkeeConnectedLineNum
* AccountID : The Service account associated with the security event notification.
* ParkeeConnectedLineName
* SessionID : A unique identifier for the session in the service that raised the event.
* ParkeeAccountCode
* LocalAddress : The address of the Asterisk service that raised the security event.
* ParkeeContext
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* ParkeeExten
* UsingPassword : Whether or not the authentication attempt included a password.
* ParkeePriority
* Module : If available, the name of the module that raised the event.
* ParkeeUniqueid
* SessionTV : The timestamp reported by the session.
* 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 ===
=== Example ===
<pre>
<pre>
Event: SuccessfulAuth
Event: ParkedCallGiveUp
Privilege: security,all
Privilege: call,all
EventTV: 2016-12-09T09:40:31.714+0000
ParkeeChannel: SIP/agent-01-00000026
Severity: Informational
ParkeeChannelState: 6
Service: AMI
ParkeeChannelStateDesc: Up
EventVersion: 1
ParkeeCallerIDNum: agent-01
AccountID: admin
ParkeeCallerIDName: <unknown>
SessionID: 0x1290100
ParkeeConnectedLineNum: <unknown>
LocalAddress: IPV4/TCP/0.0.0.0/5038
ParkeeConnectedLineName: <unknown>
RemoteAddress: IPV4/TCP/127.0.0.1/55100
ParkeeLanguage: en
UsingPassword: 0
ParkeeAccountCode:  
SessionTV: 2016-12-09T09:40:31.714+0000
ParkeeContext: sample_park
</pre>
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 ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_SuccessfulAuth
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ParkedCallGiveUp
 
== ParkedCallSwap ==
Raised when a channel takes the place of a previously parked channel.


== Unhold ==
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.
Raised when a channel goes off hold.


Class : CALL
Class : CALL
<pre>
<pre>
Event: Unhold
Event: ParkedCallSwap
Channel: <value>
ParkeeChannel: <value>
ChannelState: <value>
ParkeeChannelState: <value>
ChannelStateDesc: <value>
ParkeeChannelStateDesc: <value>
CallerIDNum: <value>
ParkeeCallerIDNum: <value>
CallerIDName: <value>
ParkeeCallerIDName: <value>
ConnectedLineNum: <value>
ParkeeConnectedLineNum: <value>
ConnectedLineName: <value>
ParkeeConnectedLineName: <value>
AccountCode: <value>
ParkeeAccountCode: <value>
Context: <value>
ParkeeContext: <value>
Exten: <value>
ParkeeExten: <value>
Priority: <value>
ParkeePriority: <value>
Uniqueid: <value>
ParkeeUniqueid: <value>
Linkedid: <value>
ParkeeLinkedid: <value>
</pre>
ParkerChannel: <value>
* Channel
ParkerChannelState: <value>
* ChannelState
ParkerChannelStateDesc: <value>
* ChannelStateDesc
ParkerCallerIDNum: <value>
* CallerIDNum
ParkerCallerIDName: <value>
* CallerIDName
ParkerConnectedLineNum: <value>
* ConnectedLineNum
ParkerConnectedLineName: <value>
* ConnectedLineName
ParkerAccountCode: <value>
* AccountCode
ParkerContext: <value>
* Context
ParkerExten: <value>
* Exten
ParkerPriority: <value>
* Priority
ParkerUniqueid: <value>
* Uniqueid
ParkerLinkedid: <value>
* Linkedid
ParkerDialString: <value>
 
Parkinglot: <value>
=== Example ===
ParkingSpace: <value>
<pre>
ParkingTimeout: <value>
Event: Unhold
ParkingDuration: <value>
Privilege: call,all
</pre>
Channel: SIP/agent-01-00000002
* ParkeeChannel
ChannelState: 6
* ParkeeChannelState
ChannelStateDesc: Up
* ParkeeChannelStateDesc
CallerIDNum: agent-01
* ParkeeCallerIDNum
CallerIDName: <unknown>
* ParkeeCallerIDName
ConnectedLineNum: <unknown>
* ParkeeConnectedLineNum
ConnectedLineName: <unknown>
* ParkeeConnectedLineName
Language: en
* ParkeeAccountCode
AccountCode:  
* ParkeeContext
Context: sample_park
* ParkeeExten
Exten: s
* ParkeePriority
Priority: 2
* ParkeeUniqueid
Uniqueid: 1481705835.4
* ParkeeLinkedid : Uniqueid of the oldest channel associated with this channel.
Linkedid: 1481705835.4
* ParkerChannel
</pre>
* 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 ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Unhold
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ParkedCallSwap
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hold


== UnParkedCall ==
== ParkedCallTimeOut ==
Raised when a chaneel leaves a parking lot because it was retrieved from the parking lot and reconnected.
Raised when a channel leaves a parking lot due to reaching the time limit of being parked.


Class : Call
Class : CALL
<pre>
<pre>
Event: UnParkedCall
Event: ParkedCallTimeOut
ParkeeChannel: <value>
ParkeeChannel: <value>
ParkeeChannelState: <value>
ParkeeChannelState: <value>
Line 4,390: Line 5,207:
ParkingTimeout: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
ParkingDuration: <value>
RetrieverChannel: <value>
RetrieverChannelState: <value>
RetrieverChannelStateDesc: <value>
RetrieverCallerIDNum: <value>
RetrieverCallerIDName: <value>
RetrieverConnectedLineNum: <value>
RetrieverConnectedLineName: <value>
RetrieverAccountCode: <value>
RetrieverContext: <value>
RetrieverExten: <value>
RetrieverPriority: <value>
RetrieverUniqueid: <value>
RetrieverLinkedid: <value>
</pre>
</pre>
* ParkeeChannel
* ParkeeChannelState
* 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


== VarSet ==
=== Example ===
Raised when a variable local to the gosub stack frame is set due to a subroutine call.
<pre>
Event: ParkedCallTimeOut
Privilege: call,all
ParkeeChannel: SIP/agent-02-00000007
ParkeeChannelState: 6
ParkeeChannelStateDesc: Up
ParkeeCallerIDNum: agent-02
ParkeeCallerIDName: <unknown>
ParkeeConnectedLineNum: <unknown>
ParkeeConnectedLineName: <unknown>
ParkeeLanguage: en
ParkeeAccountCode:
ParkeeContext: park-dial
ParkeeExten: SIP_agent-02
ParkeePriority: 1
ParkeeUniqueid: 1491606713.17
ParkeeLinkedid: 1491606713.17
ParkerDialString: SIP/agent-02
Parkinglot: default
ParkingSpace: 701
ParkingTimeout: 0
ParkingDuration: 45
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ParkedCallTimeOut
 
== Parkinglot ==
Action: Parkinglots response message.
 
=== Example ===
<pre>
Event: Parkinglot
Name: default
StartSpace: 701
StopSpace: 720
Timeout: 45
</pre>
 
== PeerEntry ==
Action: SIPpeers response message.
<pre>
Event: PeerEntry
Channeltype: <value>
ObjectName: <value>
ChanObjectType: <value>
IPaddress: <value>
IPport: <value>
Dynamic: <value>
AutoForcerport: <value>
Forcerport: <value>
AutoComedia: <value>
Comedia: <value>
VideoSupport: <value>
TextSupport: <value>
ACL: <value>
Status: <value>
RealtimeDevice: <value>
Description: [value]
Accountcode: [value]
</pre>


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


== See also ==
== See also ==

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