Asterisk ami-event: Difference between revisions

From 탱이의 잡동사니
Jump to navigation Jump to search
 
(76 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
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Agents
 
== AgentComplete ==
Final response event in a series of events to the Agents AMI action.
 
Class : AGENT
<pre>
<pre>
Event: AgentsComplete
Event: Agents
ActionID: <value>
Agent: 10001
Name: agent 10001
Status: AGENT_LOGGEDOFF
</pre>
 
<pre>
Event: Agents
Agent: 10001
Name: agent 10001
Status: AGENT_IDLE
LoggedInTime: 1488794919
Channel: SIP/agent-01-00000006
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: agent-01@pluto.pchero21.com
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample_agent
Exten: s
Priority: 2
Uniqueid: 1488794919.12
Linkedid: 1488794919.12
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Agents
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Agents
 
== AgentsComplete ==
Final response event in a series of events to the Agents AMI action.
 
Class : AGENT
<pre>
Event: AgentsComplete
ActionID: <value>
</pre>
</pre>


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
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AGIExecEnd
Event: AGIExecStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AGI
Privilege: agi,all
 
Channel: PJSIP/pjagent-02-00000006
== Alarm ==
ChannelState: 6
Raised when an alarm is set on a DAHDI channel.
ChannelStateDesc: Up
 
CallerIDNum: pjagent-02
Class : SYSTEM
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>
<pre>
Event: Alarm
Event: Alarm
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
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_AGI
ChannelState: 6
 
ChannelStateDesc: Up
== AsyncAGIStart ==
CallerIDNum: pjagent-02
Raised when a channel starts AsyncAGI command processing.
CallerIDName: pjagent-02
 
ConnectedLineNum: <unknown>
Class : AGI
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample-agi-async
Exten: s
Priority: 2
Uniqueid: 1516568222.6
Linkedid: 1516568222.6
Result: 200%20result%3D0%0A
CommandId: 77cdcf4c-feed-11e7-bd12-5b24ee4818c3
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIExec
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_AsyncAGIEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AGI
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_AGI
 
== AsyncAGIStart ==
Raised when a channel starts AsyncAGI command processing.
 
Class : AGI
<pre>
<pre>
Event: AsyncAGIStart
Event: AsyncAGIStart
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 : SECURITY
Class : CEL
<pre>
Event: CEL
EventName: <value>
AccountCode: <value>
CallerIDnum: <value>
CallerIDname: <value>
CallerIDani: <value>
CallerIDrdnis: <value>
CallerIDdnid: <value>
Exten: <value>
Context: <value>
Application: <value>
AppData: <value>
EventTime: <value>
AMAFlags: <value>
UniqueID: <value>
LinkedID: <value>
UserField: <value>
Peer: <value>
PeerAccount: <value>
Extra: <value>
</pre>
* EventName : The name of the CEL event being raised. This can include both the system defined CEL events, as well as user defined event. All events listed here may not be raised, depending on the configuration in cel.conf
: CHAN_START : A channel was created.
: CHAN_END : A channel was terminated.
: ANSWER : A channel answered.
: HANGUP : A channel was hung up.
: BRIDGE_ENTER : A channel entered a bridge.
: BRIDGE_EXIT : A channel entered into a tacked application.
: APP_START : A channel entered into a tacked application.
: APP_END : A channel left a tacked application.
: PARK_START : A channel was parked.
: PARK_END : A channel was unparked.
: BLINDTRANSFER : A channel initiated a blind transfer.
: PICKUP : A channel initiated a call pick up.
: FORWARD : A channel is being forwared to another destination.
: LINKEDID_END : The linked ID associated with this channel is being retired.
: LOCAL_OPTIMIZE : A local channel optimization has occurred.
: USER_DEFINED : A user defined type. This event is only present if show user defined in cel.conf is True. Otherwise, the user defined event will be placed directly in the EventName filed.
* AccountCode : The channel's account code.
* CallerIDnum : The Caller ID number.
* CallerIDname : The Caller ID name.
* CallerIDani : The Caller ID Automatic Number Identification.
* CallerIDrdnis : The Caller ID redirected Dialed Number Identification Service.
* CallerIDdnid : The Caller ID Dialed Number Identifier.
* Exten : The dialplan extension the channel is currently executing in.
* Context : The dialplan context the channel is currently executing in.
* Application : The dialplan application the channel is currently executing.
* AppData : The arguments pased to the dialplan Application.
* EventTime : The time the CEL event occurred.
* AMAFlags : A flag that informs a biling system how to treat the CEL.
: OMIT : This event should be ignored.
: BILLING : This event contains valid billing data.
: DOCUMENTATION : This event is for documentation purposes.
* UniqueID : The unique ID of the channel.
* LinkedID : The linked ID of the channel, which ties this event to other related channel's events.
* UserField : A user defined field set on a channel, contraining arbitrary application specific data.
* Peer : If this channel is in a bridge, the channel that it is in a bridge with.
* PeerAccount : If this channel is in bridge, the accountcode of the channel it is in a bridge with.
* Extra : Some events will have event specific data that accompanies the CEL record. This extra data is JSON encoded, and is dependent on the event in question.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_CEL
 
== ChallengeResponseFailed ==
Raised when a request's attempt to authenticate has been challenged, and the request failed the authentication challenge.
 
Class : SECRURITY
<pre>
Event: ChallengeResponseFailed
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
Challenge: <value>
Response: <value>
ExpectedResponse: <value>
[Module:] <value>
[SessionTV:] <value>
</pre>
* EventTV : The time the event was detected.
* Serverity :  A relative serverity of the security event.
: Informational
: Error
* Service : The Asterisk service that raised the security event.
* EventVersion : The version of this event.
* AccountID : The Service account associated with the security event notification.
* SeesionID : A unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* Challenge : The challenge that was sent.
* Response : The response that was received.
* ExpectedResponse : The expected response to the challenge.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ChallengeResponseFailed
 
== ChallengeSent ==
인증과 관련된 시도가 있음을 나타낸다.
 
Raised when an Asterisk service sends an authentication challenge to a request.
 
Class : SECURITY
<pre>
<pre>
Event: ChallengeSent
Event: ChallengeSent
Line 2,033: Line 2,333:
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ChallengeSent
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ChallengeSent


== DeviceStateChange ==
== ContactStatus ==
Device의 state 가 변경되었음을 나타낸다.
Raised when the state of a contact changes.
 
Class: SYSTEM
<pre>
Event: ContactStatus
URI: <value>
ContactStatus: <value>
AOR: <value>
EndpointName: <value>
RoundtripUsec: <value>
UserAgent: <value>
RegExpire: <value>
ViaAddress: <value>
CallID: <value>
</pre>
* URI: This contact's URI.
* ContactStatus - New status of the contact.
: Unknown
: Unreachable
: Reachable
: Created
: Removed
: Updated
* AOR: The name of the associated aor.
* EndpointName: The name of the associated endpoint.
* RoundtripUse: The RTT measured during the last qualify.
* UserAgent: Content of the User-Agent header in REGISTER request.
* RegExpire: Absolute time that this contact is no longer valid after.
* ViaAddress: IP address:port of the last Via header in REGISTER request.
* CallID: Content of the Call-ID header in REGISTER request.
 
=== Example ===
<pre>
Event: ContactStatus
Privilege: system,all
URI: sip:199@172.17.42.1:32942;transport=ws;rtcweb-breaker=no
ContactStatus: Unknown
AOR: 199
EndpointName: 199
RoundtripUsec: 0
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_ContactStatus
 
== ContactStatusDetail ==
Provide details about a contact's status.


ExtensionStatus 이벤트는 dialplan hints 와 연관된 내용에만 발생하는 것에 반해, DeviceStateChange 이벤트는 모든 device state 의 변경에 발생한다는 것이 다르다.
Class: COMMAND
<pre>
<pre>
Event: DeviceStateChange
Event: ContactStatusDetail
Device: <value>
AOR: <value>
State: <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>
</pre>
* Device : state 가 변경된 device
* AOR: The AoR that owns this contact.
* State : 변경된 state
* 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 ===
=== Example ===
<pre>
<pre>
Event: DeviceStateChange
Event: ContactStatusDetail
Privilege: call,all
AOR: 199
Device: SIP/trunk_test_1
URI: sip:199@172.17.42.1:36115;transport=ws;rtcweb-breaker=no
State: RINGING
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>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DeviceStateChange
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_ContactStatusDetail
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ExtensionStatus


== DialBegin ==
== CoreShowChannel ==
Raised when a dial action has started.
Raised in response to a CoreShowChannels command.


Class : CALL
Class : CALL
<pre>
<pre>
Event: DialBegin
Event: CoreShowChannel
ActionID: <value>
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 2,076: 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>
</pre>
DestConnectedLineNum: <value>
* BridgeId: Identifier of the bridge the channel is in, may be empty if not in one.
DestConnectedLineName: <value>
* Application: Application currently executing on the channel.
DestAccountCode: <value>
* ApplicationData: Data given to the currently executing application.
DestContext: <value>
* Duration: The amount of time the channel has existed.
DestExten: <value>
 
DestPriority: <value>
=== Example ===
DestUniqueid: <value>
<pre>
DestLinkedid: <value>
Event: CoreShowChannel
DialString: <value>
Channel: PJSIP/agent-01-0000000a
</pre>
ChannelState: 6
* Channel
ChannelStateDesc: Up
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
* DestChannel
* DestChannelState
* DestChannelStateDesc
* DestAccountCode
* DestContext
* DestExten
* DestUniqueid
* DestLinkedid
* DialString : The non-technology specific device being dialed.
 
=== Example ===
<pre>
Event: DialBegin
Privilege: call,all
Channel: SIP/agent-01-0000002d
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: agent-01
CallerIDNum: agent-01
CallerIDName: <unknown>
CallerIDName: agent-01@pluto.pchero21.com
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: 1481281260.83
Uniqueid: 1513280582.21
Linkedid: 1481281260.83
Linkedid: 1513280582.21
DestChannel: SIP/agent-03-0000002e
Application: MusicOnHold
DestChannelState: 0
ApplicationData:  
DestChannelStateDesc: Down
Duration: 00:00:32
DestCallerIDNum: <unknown>
BridgeId:  
DestCallerIDName: <unknown>
</pre>
DestConnectedLineNum: <unknown>
 
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:
 
DestPriority: 1
== DBGetResponse ==
DestUniqueid: 1481281261.84
DBGet response message.
DestLinkedid: 1481281260.83
<pre>
DialString: sip/agent-03
Event: DBGetResponse
Family: <value>
Key: <value>
Val: <value>
</pre>
</pre>
* Family : Requested DBGet family.
* Key : Requested DBGet key.
* Val : Stored value.


=== See also ===
=== Example ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialBegin
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Dial
Event: DBGetResponse
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Originate
Family: SIP/Registry
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Originate
Key: agent-01
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialEnd
Val: 10.1.27.60:49456:600:24816095:sip:47631908@10.1.27.60:49456
ActionID: 956f798b-e55e-46f7-927c-03b19086112b
</pre>


== DialEnd ==
== DeviceStateChange ==
Dial 이 종료되었음을 알려준다.
Device의 state 가 변경되었음을 나타낸다.


Class : CALL
ExtensionStatus 이벤트는 dialplan hints 와 연관된 내용에만 발생하는 것에 반해, DeviceStateChange 이벤트는 모든 device state 의 변경에 발생한다는 것이 다르다.
<pre>
<pre>
Event: DialEnd
Event: DeviceStateChange
Channel: <value>
Device: <value>
ChannelState: <value>
State: <value>
ChannelStateDesc: <value>
</pre>
CallerIDNum: <value>
* Device : state 가 변경된 device
CallerIDName: <value>
* State : 변경된 state
ConnectedLineNum: <value>
 
=== Example ===
<pre>
Event: DeviceStateChange
Privilege: call,all
Device: SIP/trunk_test_1
State: RINGING
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DeviceStateChange
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ExtensionStatus
 
== DialBegin ==
Raised when a dial action has started.
 
Class : CALL
<pre>
Event: DialBegin
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
ConnectedLineName: <value>
AccountCode: <value>
AccountCode: <value>
Line 2,188: Line 2,577:
DestUniqueid: <value>
DestUniqueid: <value>
DestLinkedid: <value>
DestLinkedid: <value>
DialStatus: <value>
DialString: <value>
[Forward:] <value>
</pre>
</pre>
* Channel : Channel name.
* Channel
* ChannelState : Channel's state.
* ChannelState
* ChannelStateDesc : Channel's state description.
* ChannelStateDesc
* 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
* DestChannel : Destination channel name.
* DestChannel
* DestChannelState : Destination channel's state.
* DestChannelState
* DestChannelStateDesc : Destination channel's state description.
* DestChannelStateDesc
* DestCallerIDNum :
* DestAccountCode
* DestCallerIDName :
* DestContext
* DestAccountCode :
* DestExten
* DestExten :
* DestUniqueid
* DestPriority :
* DestLinkedid
* DestUniqueid :
* DialString : The non-technology specific device being dialed.
* 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 ===
=== Example ===
<pre>
<pre>
Event: DialEnd
Event: DialBegin
Privilege: call,all
Privilege: call,all
Channel: SIP/300-00000008
Channel: SIP/agent-01-0000002d
ChannelState: 4
ChannelState: 4
ChannelStateDesc: Ring
ChannelStateDesc: Ring
CallerIDNum: 300
CallerIDNum: agent-01
CallerIDName: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
Line 2,242: Line 2,618:
Exten: s
Exten: s
Priority: 2
Priority: 2
Uniqueid: 1480668413.15
Uniqueid: 1481281260.83
Linkedid: 1480668413.15
Linkedid: 1481281260.83
DestChannel: SIP/agent-03-00000009
DestChannel: SIP/agent-03-0000002e
DestChannelState: 6
DestChannelState: 0
DestChannelStateDesc: Up
DestChannelStateDesc: Down
DestCallerIDNum: <unknown>
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: 300
DestConnectedLineNum: <unknown>
DestConnectedLineName: <unknown>
DestConnectedLineName: <unknown>
DestLanguage: en
DestLanguage: en
DestAccountCode:  
DestAccountCode:  
DestContext: public
DestContext: public
DestExten: s
DestExten:  
DestPriority: 1
DestPriority: 1
DestUniqueid: 1480668414.16
DestUniqueid: 1481281261.84
DestLinkedid: 1480668413.15
DestLinkedid: 1481281260.83
DialStatus: ANSWER
DialString: sip/agent-03
</pre>
<pre>
Event: DialEnd
Privilege: call,all
Channel: SIP/300-0000001b
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: 300
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: queue_sales
Exten: s
Priority: 2
Uniqueid: 1480670638.49
Linkedid: 1480670638.49
DestChannel: SIP/agent-02-0000001d
DestChannelState: 5
DestChannelStateDesc: Ringing
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: 300
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode:
DestContext: public
DestExten: s
DestPriority: 1
DestUniqueid: 1480670639.51
DestLinkedid: 1480670638.49
DialStatus: NOANSWER
</pre>
</pre>


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


== DialState ==
== DialEnd ==
=== Example ===
Dial 이 종료되었음을 알려준다.
<pre>
Event: DialState
Privilege: call,all
Channel: SIP/agent-01-0000002d
ChannelState: 4
ChannelStateDesc: Ring
CallerIDNum: agent-01
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: queue_sales
Exten: s
Priority: 2
Uniqueid: 1481281260.83
Linkedid: 1481281260.83
DestChannel: SIP/agent-03-0000002e
DestChannelState: 5
DestChannelStateDesc: Ringing
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: agent-01
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode:
DestContext: public
DestExten: s
DestPriority: 1
DestUniqueid: 1481281261.84
DestLinkedid: 1481281260.83
DialStatus: RINGING
</pre>
 
== ExtensionStatus ==
Raised when a hint changes due to a device state change.


Class : CALL
Class : CALL
<pre>
<pre>
Event: ExtensionStatus
Event: DialEnd
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Exten: <value>
Context: <value>
Priority: <value>
Hint: <value>
Uniqueid: <value>
Status: <value>
Linkedid: <value>
StatusText: <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>
* Extension : Name of the extension.
* Channel : Channel name.
* Context : Context that owns the extension.
* ChannelState : Channel's state.
* Hint : Hint set for the extension.
* ChannelStateDesc : Channel's state description.
* Status : Numerical value of the extension status. Extension status is determined by the combined device state of all items contained in the hint.
* CallerIDNum :
: -2 : The extension was removed from the dialplan.
* CallerIDName :  
: -1 : The extension's hint was removed from the dialplan.
* ConnectedLineNum :
: 0 : Idle. Related device(s) are in an idle state.
* ConnectedLineName :
: 1 : InUse. Related device(s) are in active calls but may take any more calls.
* AccountCode :
: 2 : Busy. Related device(s) are in active calls and may not take any more calls.
* Context :
: 4 : Unavailable. Related device(s) are not reachable.
* Exten :
: 8 : Ringing. Related device(s) are currently ringing.
* Priority :
: 9 : InUse&Ringing. Related device(s) are currently ringing and in activce calls.
* Uniqueid :
: 16 : Hold. Related device(s) are currently on hold.
* Linkedid : Uniqueid of the oldest channel associated with this channel.
: 17 : InUse&Hold. Related device(s) are currently on hold and in active calls.
* DestChannel : Destination channel name.
* StatusText : Text representation of Status.
* DestChannelState : Destination channel's state.
: Idle
* DestChannelStateDesc : Destination channel's state description.
: InUse
* DestCallerIDNum :
: Busy
* DestCallerIDName :
: Unavailable
* DestAccountCode :
: Ringing
* DestExten :
: InUse&Ringing
* DestPriority :
: Hold
* DestUniqueid :
: InUse&Hold
* DestLinkedid :
: Unknown : Status does not match any of the above values.
* DialStatus : The result of the dial operation.
 
: ABORT : The call was aborted.
=== See also ===
: ANSWER : The caller answered.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ExtensionStatus
: BUSY : The caller was busy.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_ExtensionState
: CANCEL : The caller cancelled the call.
 
: CHANUNAVAIL : The requested channel is unavailable.
== FullyBooted ==
: CONGESTION : The called party is congested.
Raised when all Asterisk initialization procedures have finished.
: 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 ":".
Class : SYSTEM
: NOANSWER : The called party failed to answer.
<pre>
* Forward : If the call was forwarded, where the call was forward to.
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: FullyBooted
Event: DialEnd
Privilege: system,all
Privilege: call,all
Uptime: 908581
Channel: SIP/300-00000008
LastReload: 908581
ChannelState: 4
Status: Fully Booted
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
</pre>
</pre>
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_FullyBooted
== Hangup ==
채널이 종료되었음을 알려준다.
<pre>
<pre>
Event: Hangup
Event: DialEnd
Channel: <value>
Privilege: call,all
ChannelState: <value>
Channel: SIP/300-0000001b
ChannelStateDesc: <value>
ChannelState: 4
CallerIDNum: <value>
ChannelStateDesc: Ring
CallerIDName: <value>
CallerIDNum: 300
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Cause: <value>
Cause-txt: <value>
</pre>
* Channel
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
* ChannelStateDesc : Channel state description 참조.
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* Cause - A numeric cause code for why the channel was hung up.
* Cause-txt - A description of why the channel was hung up.
 
=== Example ===
<pre>
Event: Hangup
Privilege: call,all
Channel: SIP/agent-01-00000003
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
Line 2,453: Line 2,760:
Language: en
Language: en
AccountCode:  
AccountCode:  
Context: sample_musiconhold
Context: queue_sales
Exten: s
Exten: s
Priority: 3
Priority: 2
Uniqueid: 1480425486.6
Uniqueid: 1480670638.49
Linkedid: 1480425486.6
Linkedid: 1480670638.49
Cause: 0
DestChannel: SIP/agent-02-0000001d
Cause-txt: Unknown
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 ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_DialEnd
* 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_DialBegin


== HangupHandlerPop ==
== DialState ==
Raised when a hangup handler is removed from the handler stack by the CHANNEL() function.
=== Example ===
<pre>
<pre>
Event: HangupHandlerPop
Event: DialState
Channel: <value>
Privilege: call,all
ChannelState: <value>
Channel: SIP/agent-01-0000002d
ChannelStateDesc: <value>
ChannelState: 4
CallerIDNum: <value>
ChannelStateDesc: Ring
CallerIDName: <value>
CallerIDNum: agent-01
ConnectedLineNum: <value>
CallerIDName: <unknown>
ConnectedLineName: <value>
ConnectedLineNum: <unknown>
AccountCode: <value>
ConnectedLineName: <unknown>
Context: <value>
Language: en
Exten: <value>
AccountCode:  
Priority: <value>
Context: queue_sales
Uniqueid: <value>
Exten: s
Linkedid: <value>
Priority: 2
Handler: <value>
Uniqueid: 1481281260.83
Linkedid: 1481281260.83
DestChannel: SIP/agent-03-0000002e
DestChannelState: 5
DestChannelStateDesc: Ringing
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: agent-01
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode:
DestContext: public
DestExten: s
DestPriority: 1
DestUniqueid: 1481281261.84
DestLinkedid: 1481281260.83
DialStatus: RINGING
</pre>
</pre>
* Channel
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* ChannelStateDesc : Channel state description 참조.
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Handler : Hangup handler parameter string passed to the Gosub application.


=== See also ===
== DTMFBegin ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPop
=== Example ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPush
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL
</pre>


== HangupHandlerPush ==
== EndpointDetail ==
Raised when a hangup handler is added to the handler stack by the CHANNEL() function.
Provide details about an endpoint section.


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


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPush
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_EndpointDetail
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPop
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL


== HangupHandlerRun ==
== EndpointList ==
Raised when a hangup handler is about to be called.
Provide details about a contact's status.


Class : DIALPLAN
Class : COMMAND
<pre>
<pre>
Event: HangupHandlerRun
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.
Handler: <value>
* Auths: The inbound authentication configurations associated with this endpoint.
* OutboundAuths: The outbound authentication configurations associated with this endpoint.
* DeviceState: The aggregate device state for this endpoint.
* ActiveChannels: The number of active channels associated with this endpoint.
 
=== Example ===
<pre>
Event: EndpointList
ObjectType: endpoint
ObjectName: 199
Transport:
Aor: 199
Auths: 199
OutboundAuths:  
Contacts: 199/sip:199@172.17.42.1:32942;transport=ws;rtcweb-breaker=no,
DeviceState: Not in use
ActiveChannels:  
</pre>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
* Handler


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


== HangupRequest ==
=== See also ===
Hangup request 가 왔음을 알려준다.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+15+ManagerEvent_EndpointDetailComplete


Raised when a hangup is requested.
== ExtensionStatus ==
Raised when a hint changes due to a device state change.


Class : CALL
Class : CALL
<pre>
<pre>
Event: HangupRequest
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>
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
Channel: SIP/agent-01-0000002b
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample_musiconhold
Exten: s
Priority: 3
Uniqueid: 1481278514.79
Linkedid: 1481278514.79
</pre>
</pre>
* Extension : Name of the extension.
* Context : Context that owns the extension.
* Hint : Hint set for the extension.
* Status : Numerical value of the extension status. Extension status is determined by the combined device state of all items contained in the hint.
: -2 : The extension was removed from the dialplan.
: -1 : The extension's hint was removed from the dialplan.
: 0 : Idle. Related device(s) are in an idle state.
: 1 : InUse. Related device(s) are in active calls but may take any more calls.
: 2 : Busy. Related device(s) are in active calls and may not take any more calls.
: 4 : Unavailable. Related device(s) are not reachable.
: 8 : Ringing. Related device(s) are currently ringing.
: 9 : InUse&Ringing. Related device(s) are currently ringing and in activce calls.
: 16 : Hold. Related device(s) are currently on hold.
: 17 : InUse&Hold. Related device(s) are currently on hold and in active calls.
* StatusText : Text representation of Status.
: Idle
: InUse
: Busy
: Unavailable
: Ringing
: InUse&Ringing
: Hold
: InUse&Hold
: Unknown : Status does not match any of the above values.


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


== Hold ==
== FullyBooted ==
채널이 Hold 상태가 되었음을 알려준다. (ex. Device 에서 Hold 기능을 사용했을 경우)
Raised when all Asterisk initialization procedures have finished.


Raised when a channel goes on hold.
Class : SYSTEM
<pre>
Event: FullyBooted
Status: <value>
Uptime: <value>
LastReload: <value>
</pre>
* Status : Informational message
* Uptime : Seconds since start
* LastReload : Seconds since last reload


Class : CALL
=== Example ===
<pre>
<pre>
Event: Hold
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>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 2,673: Line 3,254:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
MusicClass: <value>
Cause: <value>
Cause-txt: <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,687: Line 3,269:
* Priority
* Priority
* Uniqueid
* Uniqueid
* Linkedid
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* MusicClass : The suggested MusicClass, if provided.
* 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: Hold
Event: Hangup
Privilege: call,all
Privilege: call,all
Channel: SIP/agent-01-0000000c
Channel: SIP/agent-01-00000003
ChannelState: 6
ChannelState: 6
ChannelStateDesc: Up
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDNum: agent-01
CallerIDName: agent-01@earth.pchero21.com
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
ConnectedLineName: <unknown>
Language: en
Language: en
AccountCode:  
AccountCode:  
Context: sample_park
Context: sample_musiconhold
Exten: s
Exten: s
Priority: 2
Priority: 3
Uniqueid: 1487768728.23
Uniqueid: 1480425486.6
Linkedid: 1487768728.23
Linkedid: 1480425486.6
Cause: 0
Cause-txt: Unknown
</pre>
</pre>


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


== IdentifyDetail ==
== HangupHandlerPop ==
Provide details about an identify section.
Raised when a hangup handler is removed from the handler stack by the CHANNEL() function.
 
Class : COMMAND
<pre>
<pre>
Event: IdentifyDetail
Event: HangupHandlerPop
ObjectType: <value>
Channel: <value>
ObjectName: <value>
ChannelState: <value>
Endpoint: <value>
ChannelStateDesc: <value>
Match: <value>
CallerIDNum: <value>
EndpointName: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Handler: <value>
</pre>
</pre>
* ObjectType : The object's type. This will always be "identify".
* Channel
* ObjectName : The name of this object.
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* Endpoint : Nameof Endpoint.
* ChannelStateDesc : Channel state description 참조.
* Match : IP addresses or networks to match against.
* CallerIDNum
* EndpointName : The name of the endpoint associated with this information.
* 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 ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_IdentifyDetail
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPop
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPush
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL


== InvalidAccountID ==
== HangupHandlerPush ==
Raised when a request fails an authentication check due to an invalid account ID.
Raised when a hangup handler is added to the handler stack by the CHANNEL() function.


Class : SECURITY
Class : DIALPLAN
<pre>
<pre>
Event: InvalidAccountID
Event: HangupHandlerPush
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>
[Module:] <value>
Context: <value>
[SessionTV:] <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Handler: <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
* Module : If available, the name of the module that raised the event.
* Priority
* SessionTV : The timestamp reported by the session.
* Uniqueid
* Linkedid
* Handler : Hangup handler parameter string passed to the Gosub application.


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


== InvalidPassword ==
== HangupHandlerRun ==
Raised when a request provides an invalid password during an invalid password during an authentication attempt.
Raised when a hangup handler is about to be called.


Class : SECURITY
Class : DIALPLAN
<pre>
<pre>
Event: InvalidPassword
Event: HangupHandlerRun
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>
[Module:] <value>
Context: <value>
[SessionTV:] <value>
Exten: <value>
[Challenge:] <value>
Priority: <value>
[ReceivedChallenge:] <value>
Uniqueid: <value>
[RecievedHash:] <value>
Linkedid: <value>
Handler: <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
* Module : If available, the name of the module that raised the event.
* Priority
* SessionTV : The timestamp reported by the session.
* Uniqueid
* Challenge : The challenge that was sent.
* Linkedid
* ReceivedChallenge : The challenge that was received.
* Handler
* RecievedHash : The hash that was received.


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_InvalidPassword
* 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 가 왔음을 알려준다.


== InvalidTransport ==
Raised when a hangup is requested.
Raised when a request attempts to use a transport not allowed by the Asterisk service.


Class : SECURITY
Class : CALL
<pre>
<pre>
Event: InvalidTransport
Event: HangupRequest
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>
AttemptedTransport: <value>
Context: <value>
[Module:] <value>
Exten: <value>
[SessionTV:] <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Cause: <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
* AttemptedTransfer : The transport type that the request attempted to use.
* Priority
* Module : If available, the name of the module that raised the event.
* Uniqueid
* SessionTV : The timestamp reported by the session.
* Linkedid
* Cause : A numeirc cause code for why the channel was hung up. See detail [[Asterisk_status_code#Hangup_code]].


=== See also ===
=== Example ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_InvalidTransport
<pre>
 
Event: HangupRequest
== LoadAverageLimit ==
Privilege: call,all
Raised when a request fails because a configured load average limit has been reached.
Channel: SIP/agent-01-0000002b
 
ChannelState: 6
Class : SECURITY
ChannelStateDesc: Up
<pre>
CallerIDNum: agent-01
Event: LoadAverageLimit
CallerIDName: <unknown>
EventTV: <value>
ConnectedLineNum: <unknown>
Severity: <value>
ConnectedLineName: <unknown>
Service: <value>
Language: en
EventVersion: <value>
AccountCode:  
AccountID: <value>
Context: sample_musiconhold
SessionID: <value>
Exten: s
LocalAddress: <value>
Priority: 3
RemoteAddress: <value>
Uniqueid: 1481278514.79
[Module:] <value>
Linkedid: 1481278514.79
[SessionTV:] <value>
</pre>
</pre>
* EventTV : The time the event was detected.
* Severity : A relative severity of the security event.
: Informational
: Error
* Service : The Asterisk that raised the security event.
* EventVersion : The version of this event.
* AccountID : The service account associated with the security event notification.
* SessionID : A unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.


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


== LocalBridge ==
== Hold ==
Raised when two halves of a Local Channel form a bridge.
채널이 Hold 상태가 되었음을 알려준다. (ex. Device 에서 Hold 기능을 사용했을 경우)
 
Raised when a channel goes on hold.


Class : CALL
Class : CALL
<pre>
<pre>
Event: LocalBridge
Event: Hold
LocalOneChannel: <value>
Channel: <value>
LocalOneChannelState: <value>
ChannelState: <value>
LocalOneChannelStateDesc: <value>
ChannelStateDesc: <value>
LocalOneCallerIDNum: <value>
CallerIDNum: <value>
LocalOneCallerIDName: <value>
CallerIDName: <value>
LocalOneConnectedLineNum: <value>
ConnectedLineNum: <value>
LocalOneConnectedLineName: <value>
ConnectedLineName: <value>
LocalOneAccountCode: <value>
AccountCode: <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>
Context: <value>
Exten: <value>
Exten: <value>
LocalOptimization: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
MusicClass: <value>
</pre>
</pre>
* LocalOneChannel
* Channel
* LocalOneChannelState
* ChannelState
* LocalOneChannelStateDesc
* ChannelStateDesc
* LocalOneCallerIDNum
* CallerIDNum
* LocalOneCallerIDName
* CallerIDName
* LocalOneAccountCode
* ConnectedLineNum
* LocalOneContext
* ConnectedLineName
* LocalOneExten
* AccountCode
* LocalOnePriority
* Context
* LocalOneUniqueid
* Exten
* LocalOneLinkedid
* Priority
* LocalTwoChannel
* Uniqueid
* LocalTwoChannelState
* Linkedid
* LocalTwoChannelStateDesc
* MusicClass : The suggested MusicClass, if provided.
* 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 ===
=== Example ===
<pre>
<pre>
Event: LocalBridge
Event: Hold
Privilege: call,all
Privilege: call,all
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
Channel: SIP/agent-01-0000000c
LocalOneChannelState: 0
ChannelState: 6
LocalOneChannelStateDesc: Down
ChannelStateDesc: Up
LocalOneCallerIDNum: <unknown>
CallerIDNum: agent-01
LocalOneCallerIDName: <unknown>
CallerIDName: agent-01@earth.pchero21.com
LocalOneConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
LocalOneConnectedLineName: <unknown>
ConnectedLineName: <unknown>
LocalOneLanguage: en
Language: en
LocalOneAccountCode:
AccountCode:  
LocalOneContext: common-incoming
Context: sample_park
LocalOneExten: test-04
Exten: s
LocalOnePriority: 1
Priority: 2
LocalOneUniqueid: 1447438716.467
Uniqueid: 1487768728.23
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 1487768728.23
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
LocalTwoChannelState: 4
LocalTwoChannelStateDesc: Ring
LocalTwoCallerIDNum: <unknown>
LocalTwoCallerIDName: <unknown>
LocalTwoConnectedLineNum: <unknown>
LocalTwoConnectedLineName: <unknown>
LocalTwoLanguage: en
LocalTwoAccountCode:  
LocalTwoContext: common-incoming
LocalTwoExten: test-04
LocalTwoPriority: 1
LocalTwoUniqueid: 1447438716.468
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Context: common-incoming
Exten: test-04
LocalOptimization: Yes
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LocalBridge
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hold
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Unhold


== LocalOptimizationBegin ==
== InboundRegistrationDetail ==
Raised when two halves of a Local Channel begin to optimize themselves out of the media path.
=== 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>


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


=== Example ===
Class : COMMAND
<pre>
<pre>
Event: LocalOptimizationBegin
Event: IdentifyDetail
Privilege: call,all
ObjectType: <value>
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
ObjectName: <value>
LocalOneChannelState: 6
Endpoint: <value>
LocalOneChannelStateDesc: Up
Match: <value>
LocalOneCallerIDNum: <unknown>
EndpointName: <value>
LocalOneCallerIDName: <unknown>
</pre>
LocalOneConnectedLineNum: <unknown>
* ObjectType : The object's type. This will always be "identify".
LocalOneConnectedLineName: <unknown>
* ObjectName : The name of this object.
LocalOneLanguage: en
* Endpoint : Nameof Endpoint.
LocalOneAccountCode:  
* Match : IP addresses or networks to match against.
LocalOneContext: common-incoming
* EndpointName : The name of the endpoint associated with this information.
LocalOneExten:  
 
LocalOnePriority: 1
=== See also ===
LocalOneUniqueid: 1447438716.467
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_IdentifyDetail
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
 
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
== InvalidAccountID ==
LocalTwoChannelState: 6
Raised when a request fails an authentication check due to an invalid account ID.
LocalTwoChannelStateDesc: Up
 
LocalTwoCallerIDNum: <unknown>
Class : SECURITY
LocalTwoCallerIDName: <unknown>
<pre>
LocalTwoConnectedLineNum: <unknown>
Event: InvalidAccountID
LocalTwoConnectedLineName: <unknown>
EventTV: <value>
LocalTwoLanguage: en
Severity: <value>
LocalTwoAccountCode:  
Service: <value>
LocalTwoContext: common-incoming
EventVersion: <value>
LocalTwoExten: test-04
AccountID: <value>
LocalTwoPriority: 1
SessionID: <value>
LocalTwoUniqueid: 1447438716.468
LocalAddress: <value>
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
RemoteAddress: <value>
SourceChannel: SIP/test-04-0000019b
[Module:] <value>
SourceChannelState: 6
[SessionTV:] <value>
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>
* 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 ===
=== Example ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LocalOptimizationBegin
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LocalOptimizationEnd
Event: InvalidAccountID
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_LocalOptimizeAway
Privilege: security,all
EventTV: 2017-03-22T14:35:31.838+0000
Severity: Error
Service: AMI
EventVersion: 1
AccountID: test
SessionID: 0x7f49878ee3b0
LocalAddress: IPV4/TCP/0.0.0.0/5038
RemoteAddress: IPV4/TCP/127.0.0.1/49117
SessionTV: 1970-01-01T00:00:00.000+0000
</pre>


== LocalOptimizationEnd ==
=== See also ===
Raised when two halves of a Local Channel have finished optimizing themselves out of the media path.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_InvalidAccountID


Class : CALL
== InvalidPassword ==
<pre>
Raised when a request provides an invalid password during an invalid password during an authentication attempt.
Event: LocalOptimizationEnd
LocalOneChannel: <value>
LocalOneChannelState: <value>
LocalOneChannelStateDesc: <value>
LocalOneCallerIDNum: <value>
LocalOneCallerIDName: <value>
LocalOneConnectedLineNum: <value>
LocalOneConnectedLineName: <value>
LocalOneAccountCode: <value>
LocalOneContext: <value>
LocalOneExten: <value>
LocalOnePriority: <value>
LocalOneUniqueid: <value>
LocalOneLinkedid: <value>
LocalTwoChannel: <value>
LocalTwoChannelState: <value>
LocalTwoChannelStateDesc: <value>
LocalTwoCallerIDNum: <value>
LocalTwoCallerIDName: <value>
LocalTwoConnectedLineNum: <value>
LocalTwoConnectedLineName: <value>
LocalTwoAccountCode: <value>
LocalTwoContext: <value>
LocalTwoExten: <value>
LocalTwoPriority: <value>
LocalTwoUniqueid: <value>
LocalTwoLinkedid: <value>
Success: <value>
Id: <value>
</pre>
* Success : Indicates whether the local optimization succeeded.
* Id : Identification for the optimization operation. Matches the id from a previous LocalOptimizationBegin.


=== Example ===
Class : SECURITY
<pre>
<pre>
Event: LocalOptimizationEnd
Event: InvalidPassword
Privilege: call,all
EventTV: <value>
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
Severity: <value>
LocalOneChannelState: 6
Service: <value>
LocalOneChannelStateDesc: Up
EventVersion: <value>
LocalOneCallerIDNum: <unknown>
AccountID: <value>
LocalOneCallerIDName: <unknown>
SessionID: <value>
LocalOneConnectedLineNum: <unknown>
LocalAddress: <value>
LocalOneConnectedLineName: <unknown>
RemoteAddress: <value>
LocalOneLanguage: en
[Module:] <value>
LocalOneAccountCode:
[SessionTV:] <value>
LocalOneContext: common-incoming
[Challenge:] <value>
LocalOneExten:
[ReceivedChallenge:] <value>
LocalOnePriority: 1
[RecievedHash:] <value>
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>
</pre>
* EventTV : The time the event was detected.
* Severity : A relative severity of the security event.
: Informational
: Error
* Service : The asterisk service that raised the security event.
* EventVersion : The version of this event.
* AccountID : The Service account associated with the security event notification.
* SessionID : A unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.
* Challenge : The challenge that was sent.
* ReceivedChallenge : The challenge that was received.
* RecievedHash : The hash that was received.


=== See also ===
=== Example ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LocalOptimizationEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LocalOptimizationBegin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_LocalOptimizeAway
 
== LogChannel ==
Raised when a logging channel is enabled/disabled.
 
Class : SYSTEM
<pre>
<pre>
Event: LogChannel
Event: InvalidPassword
Channel: <value>
Privilege: security,all
Enabled: <value>
EventTV: 2017-03-22T13:15:50.525+0000
Reason: <value>
Severity: Error
Service: SIP
EventVersion: 2
AccountID: 999999
SessionID: 0x7f49b4cc6bd8
LocalAddress: IPV4/UDP/127.0.0.1/5060
RemoteAddress: IPV4/UDP/209.126.120.180/5183
Challenge: 1538bbe1
ReceivedChallenge: 1538bbe1
ReceivedHash: c022076148e01693420c417d2edcbc53
</pre>
</pre>
* Channel : The name of the logging channel.
* Enabled
* Reason


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


== MCID ==
== InvalidTransport ==
Published when a malicious call ID request arrives.
Raised when a request attempts to use a transport not allowed by the Asterisk service.


Class : CALL
Class : SECURITY
<pre>
<pre>
Event: MCID
Event: InvalidTransport
Channel: <value>
EventTV: <value>
ChannelState: <value>
Severity: <value>
ChannelStateDesc: <value>
Service: <value>
CallerIDNum: <value>
EventVersion: <value>
CallerIDName: <value>
AccountID: <value>
ConnectedLineNum: <value>
SessionID: <value>
ConnectedLineName: <value>
LocalAddress: <value>
AccountCode: <value>
RemoteAddress: <value>
Context: <value>
AttemptedTransport: <value>
Exten: <value>
[Module:] <value>
Priority: <value>
[SessionTV:] <value>
Uniqueid: <value>
Linkedid: <value>
MCallerIDNumValid: <value>
MCallerIDNum: <value>
MCallerIDton: <value>
MCallerIDNumPlan: <value>
MCallerIDNumPres: <value>
MCallerIDNameValid: <value>
MCallerIDName: <value>
MCallerIDNameCharSet: <value>
MCallerIDNamePres: <value>
MCallerIDSubaddr: <value>
MCallerIDSubaddrType: <value>
MCallerIDSubaddrOdd: <value>
MCallerIDPres: <value>
MConnectedIDNumValid: <value>
MConnectedIDNum: <value>
MConnectedIDton: <value>
MConnectedIDNumPlan: <value>
MConnectedIDNumPres: <value>
MConnectedIDNameValid: <value>
MConnectedIDName: <value>
MConnectedIDNameCharSet: <value>
MConnectedIDNamePres: <value>
MConnectedIDSubaddr: <value>
MConnectedIDSubaddrType: <value>
MConnectedIDSubaddrOdd: <value>
MConnectedIDPres: <value>
</pre>
</pre>
* EventTV : The time the event was detected.
* Severity : A relative severity of the security event.
: Informational
: Error
* Service : The Asterisk service that raised the security event.
* EventVersion : The version of this event.
* AccountID : The service account associated with the security event notification.
* SessionID : A unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* AttemptedTransfer : The transport type that the request attempted to use.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_InvalidTransport


=== See also ===
== LoadAverageLimit ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MCID
Raised when a request fails because a configured load average limit has been reached.
 
== MeetmeEnd ==
Raised when a MeetMe conference ends.


Class : CALL
Class : SECURITY
<pre>
<pre>
Event: MeetmeEnd
Event: LoadAverageLimit
Meetme: <value>
EventTV: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
[Module:] <value>
[SessionTV:] <value>
</pre>
</pre>
* Meetme : The identifier for the MeetMe conference.
* 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 ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LoadAverageLimit
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeJoin


== MeetmeJoin ==
== LocalBridge ==
Raised when a user joins a MeetMe conference.
Raised when two halves of a Local Channel form a bridge.


Class : CALL
Class : CALL
<pre>
<pre>
Event: MeetmeJoin
Event: LocalBridge
Meetme: <value>
LocalOneChannel: <value>
Usernum: <value>
LocalOneChannelState: <value>
Channel: <value>
LocalOneChannelStateDesc: <value>
ChannelState: <value>
LocalOneCallerIDNum: <value>
ChannelStateDesc: <value>
LocalOneCallerIDName: <value>
CallerIDNum: <value>
LocalOneConnectedLineNum: <value>
CallerIDName: <value>
LocalOneConnectedLineName: <value>
ConnectedLineNum: <value>
LocalOneAccountCode: <value>
ConnectedLineName: <value>
LocalOneContext: <value>
AccountCode: <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>
Context: <value>
Exten: <value>
Exten: <value>
Priority: <value>
LocalOptimization: <value>
Uniqueid: <value>
Linkedid: <value>
</pre>
</pre>
* Meetme : The identifier for the MeetME conference.
* LocalOneChannel
* Usernum : The identifier of the MeetME user who joined.
* 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


=== See also ===
=== Example ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeJoin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeLeave
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_MeetMe
 
== MeetmeLeave ==
Raised when a user leaves a MeetMe conference.
 
Class : CALL
<pre>
<pre>
Event: MeetmeLeave
Event: LocalBridge
Meetme: <value>
Privilege: call,all
Usernum: <value>
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
Channel: <value>
LocalOneChannelState: 0
ChannelState: <value>
LocalOneChannelStateDesc: Down
ChannelStateDesc: <value>
LocalOneCallerIDNum: <unknown>
CallerIDNum: <value>
LocalOneCallerIDName: <unknown>
CallerIDName: <value>
LocalOneConnectedLineNum: <unknown>
ConnectedLineNum: <value>
LocalOneConnectedLineName: <unknown>
ConnectedLineName: <value>
LocalOneLanguage: en
AccountCode: <value>
LocalOneAccountCode:
Context: <value>
LocalOneContext: common-incoming
Exten: <value>
LocalOneExten: test-04
Priority: <value>
LocalOnePriority: 1
Uniqueid: <value>
LocalOneUniqueid: 1447438716.467
Linkedid: <value>
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Duration: <value>
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
LocalTwoChannelState: 4
LocalTwoChannelStateDesc: Ring
LocalTwoCallerIDNum: <unknown>
LocalTwoCallerIDName: <unknown>
LocalTwoConnectedLineNum: <unknown>
LocalTwoConnectedLineName: <unknown>
LocalTwoLanguage: en
LocalTwoAccountCode:  
LocalTwoContext: common-incoming
LocalTwoExten: test-04
LocalTwoPriority: 1
LocalTwoUniqueid: 1447438716.468
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Context: common-incoming
Exten: test-04
LocalOptimization: Yes
</pre>
</pre>
* 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 ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeLeave
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LocalBridge
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeJoin


== MeetmeMute ==
== LocalOptimizationBegin ==
Raised when a MeetMe user is muted or unmuted.
Raised when two halves of a Local Channel begin to optimize themselves out of the media path.


Class : CALL
Class : CALL
<pre>
<pre>
Event: MeetmeMute
Event: LocalOptimizationBegin
Meetme: <value>
LocalOneChannel: <value>
Usernum: <value>
LocalOneChannelState: <value>
Channel: <value>
LocalOneChannelStateDesc: <value>
ChannelState: <value>
LocalOneCallerIDNum: <value>
ChannelStateDesc: <value>
LocalOneCallerIDName: <value>
CallerIDNum: <value>
LocalOneConnectedLineNum: <value>
CallerIDName: <value>
LocalOneConnectedLineName: <value>
ConnectedLineNum: <value>
LocalOneAccountCode: <value>
ConnectedLineName: <value>
LocalOneContext: <value>
AccountCode: <value>
LocalOneExten: <value>
Context: <value>
LocalOnePriority: <value>
Exten: <value>
LocalOneUniqueid: <value>
Priority: <value>
LocalOneLinkedid: <value>
Uniqueid: <value>
LocalTwoChannel: <value>
Linkedid: <value>
LocalTwoChannelState: <value>
Duration: <value>
LocalTwoChannelStateDesc: <value>
Status: <value>
LocalTwoCallerIDNum: <value>
</pre>
LocalTwoCallerIDName: <value>
* Meetme : The identifier for the MeetMe conference.
LocalTwoConnectedLineNum: <value>
* Usernum : The idenitifer of the MeetMe user who joined.
LocalTwoConnectedLineName: <value>
* Duration : The length of time in seconds that the Meetme user has been in the conference at the time of this event.
LocalTwoAccountCode: <value>
* Status
LocalTwoContext: <value>
: on
LocalTwoExten: <value>
: off
LocalTwoPriority: <value>
LocalTwoUniqueid: <value>
LocalTwoLinkedid: <value>
SourceChannel: <value>
SourceChannelState: <value>
SourceChannelStateDesc: <value>
SourceCallerIDNum: <value>
SourceCallerIDName: <value>
SourceConnectedLineNum: <value>
SourceConnectedLineName: <value>
SourceAccountCode: <value>
SourceContext: <value>
SourceExten: <value>
SourcePriority: <value>
SourceUniqueid: <value>
SourceLinkedid: <value>
DestUniqueId: <value>
Id: <value>
</pre>
* SourceLinkedid : Uniqeid of the oldest channel associated with this channel.
* DestUniqueid : The unique ID of the bridge into which the local channel is optimizing.
* Id : Identification for the optimization operation.


=== See also ===
=== Example ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeMute
 
== MeetmeTalking ==
Raised when a MeeMe user begins or ends talking.
 
Class : CALL
<pre>
<pre>
Event: MeetmeTalking
Event: LocalOptimizationBegin
Meetme: <value>
Privilege: call,all
Usernum: <value>
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
Channel: <value>
LocalOneChannelState: 6
ChannelState: <value>
LocalOneChannelStateDesc: Up
ChannelStateDesc: <value>
LocalOneCallerIDNum: <unknown>
CallerIDNum: <value>
LocalOneCallerIDName: <unknown>
CallerIDName: <value>
LocalOneConnectedLineNum: <unknown>
ConnectedLineNum: <value>
LocalOneConnectedLineName: <unknown>
ConnectedLineName: <value>
LocalOneLanguage: en
AccountCode: <value>
LocalOneAccountCode:
Context: <value>
LocalOneContext: common-incoming
Exten: <value>
LocalOneExten:
Priority: <value>
LocalOnePriority: 1
Uniqueid: <value>
LocalOneUniqueid: 1447438716.467
Linkedid: <value>
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Duration: <value>
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
Status: <value>
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>
* 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 ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeTalking
* 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


== MeetmeTalkRequest ==
== LocalOptimizationEnd ==
Raised when a MeetMe user has started talking.
Raised when two halves of a Local Channel have finished optimizing themselves out of the media path.


Class : CALL
Class : CALL
<pre>
<pre>
Event: MeetmeTalkRequest
Event: LocalOptimizationEnd
Meetme: <value>
LocalOneChannel: <value>
Usernum: <value>
LocalOneChannelState: <value>
Channel: <value>
LocalOneChannelStateDesc: <value>
ChannelState: <value>
LocalOneCallerIDNum: <value>
ChannelStateDesc: <value>
LocalOneCallerIDName: <value>
CallerIDNum: <value>
LocalOneConnectedLineNum: <value>
CallerIDName: <value>
LocalOneConnectedLineName: <value>
ConnectedLineNum: <value>
LocalOneAccountCode: <value>
ConnectedLineName: <value>
LocalOneContext: <value>
AccountCode: <value>
LocalOneExten: <value>
Context: <value>
LocalOnePriority: <value>
Exten: <value>
LocalOneUniqueid: <value>
Priority: <value>
LocalOneLinkedid: <value>
Uniqueid: <value>
LocalTwoChannel: <value>
Linkedid: <value>
LocalTwoChannelState: <value>
Duration: <value>
LocalTwoChannelStateDesc: <value>
Status: <value>
LocalTwoCallerIDNum: <value>
</pre>
LocalTwoCallerIDName: <value>
* Meetme : The identifier for the MeetMe conference.
LocalTwoConnectedLineNum: <value>
* Usernum : The idenitifer of the MeetMe user who joined.
LocalTwoConnectedLineName: <value>
* Duration : The length of time in seconds that the Meetme user has been in the conference at the time of this event.
LocalTwoAccountCode: <value>
* Status
LocalTwoContext: <value>
: on
LocalTwoExten: <value>
: off
LocalTwoPriority: <value>
 
LocalTwoUniqueid: <value>
== MonitorStart ==
LocalTwoLinkedid: <value>
Raised when monitoring has started on a channel.
Success: <value>
 
Id: <value>
Class : CALL
<pre>
Event: MonitorStart
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
</pre>
</pre>
* Channel
* Success : Indicates whether the local optimization succeeded.
* ChannelState
* Id : Identification for the optimization operation. Matches the id from a previous LocalOptimizationBegin.
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid


=== Example ===
=== Example ===
<pre>
<pre>
Event: MonitorStart
Event: LocalOptimizationEnd
Privilege: call,all
Privilege: call,all
Channel: SIP/300-00000000
LocalOneChannel: Local/test-04@common-incoming-0000000a;1
ChannelState: 6
LocalOneChannelState: 6
ChannelStateDesc: Up
LocalOneChannelStateDesc: Up
CallerIDNum: 300
LocalOneCallerIDNum: <unknown>
CallerIDName: <unknown>
LocalOneCallerIDName: <unknown>
ConnectedLineNum: <unknown>
LocalOneConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
LocalOneConnectedLineName: <unknown>
Language: en
LocalOneLanguage: en
AccountCode:  
LocalOneAccountCode:  
Context: sample_musiconhold
LocalOneContext: common-incoming
Exten: s
LocalOneExten:  
Priority: 3
LocalOnePriority: 1
Uniqueid: 1481880386.0
LocalOneUniqueid: 1447438716.467
Linkedid: 1481880386.0
LocalOneLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
LocalTwoChannel: Local/test-04@common-incoming-0000000a;2
LocalTwoChannelState: 6
LocalTwoChannelStateDesc: Up
LocalTwoCallerIDNum: <unknown>
LocalTwoCallerIDName: <unknown>
LocalTwoConnectedLineNum: <unknown>
LocalTwoConnectedLineName: <unknown>
LocalTwoLanguage: en
LocalTwoAccountCode:
LocalTwoContext: common-incoming
LocalTwoExten: test-04
LocalTwoPriority: 1
LocalTwoUniqueid: 1447438716.468
LocalTwoLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Success: No
Id: 5
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MonitorStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LocalOptimizationEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MonitorStop
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LocalOptimizationBegin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Monitor
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_LocalOptimizeAway
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Monitor
 
== LogChannel ==
Raised when a logging channel is enabled/disabled.
 
Class : SYSTEM
<pre>
Event: LogChannel
Channel: <value>
Enabled: <value>
Reason: <value>
</pre>
* Channel : The name of the logging channel.
* Enabled
* Reason
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_LogChannel


== MonitorStop ==
== MCID ==
Raised when monitoring has stopped on a channel.
Published when a malicious call ID request arrives.


Class : CALL
Class : CALL
<pre>
<pre>
Event: MonitorStop
Event: MCID
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 3,487: Line 4,090:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
</pre>
MCallerIDNumValid: <value>
* Channel
MCallerIDNum: <value>
* ChannelState
MCallerIDton: <value>
* ChannelStateDesc
MCallerIDNumPlan: <value>
* CallerIDNum
MCallerIDNumPres: <value>
* CallerIDName
MCallerIDNameValid: <value>
* ConnectedLineNum
MCallerIDName: <value>
* ConnectedLineName
MCallerIDNameCharSet: <value>
* AccountCode
MCallerIDNamePres: <value>
* Context
MCallerIDSubaddr: <value>
* Exten
MCallerIDSubaddrType: <value>
* Priority
MCallerIDSubaddrOdd: <value>
* Uniqueid
MCallerIDPres: <value>
* Linkedid
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.


=== Example ===
Class : CALL
<pre>
<pre>
Event: MonitorStop
Event: MeetmeEnd
Privilege: call,all
Meetme: <value>
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>
</pre>
* Meetme : The identifier for the MeetMe conference.


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MonitorStop
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeEnd
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MonitorStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeJoin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_StopMonitor
 
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_StopMonitor
== MeetmeJoin ==
Raised when a user joins a MeetMe conference.


== MusicOnHoldStart ==
Class : CALL
채널에서 Music on hold 가 시작되었음을 알려준다.
<pre>
<pre>
Event: MusicOnHoldStart
Event: MeetmeJoin
Meetme: <value>
Usernum: <value>
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 3,545: Line 4,156:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Class: <value>
</pre>
</pre>
* Channel
* Meetme : The identifier for the MeetME conference.
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* Usernum : The identifier of the MeetME user who joined.
* channelStateDesc : Channel state description 참조.
 
* CallerIDNum
=== See also ===
* CallerIDName
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeJoin
* ConnectedLineNum
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeLeave
* ConnectedLineName
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_MeetMe
* AccountCode
 
* Context
== MeetmeLeave ==
* Exten
Raised when a user leaves a MeetMe conference.
* Priority
* Uniqueid
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Class : The class of music being played on the channel.


=== Example ===
Class : CALL
<pre>
<pre>
Event: MusicOnHoldStart
Event: MeetmeLeave
Privilege: call,all
Meetme: <value>
Channel: SIP/trunk_test_1-0000019a
Usernum: <value>
ChannelState: 6
Channel: <value>
ChannelStateDesc: Up
ChannelState: <value>
CallerIDNum: <unknown>
ChannelStateDesc: <value>
CallerIDName: <unknown>
CallerIDNum: <value>
ConnectedLineNum: <unknown>
CallerIDName: <value>
ConnectedLineName: <unknown>
ConnectedLineNum: <value>
Language: en
ConnectedLineName: <value>
AccountCode:  
AccountCode: <value>
Context: from_provider
Context: <value>
Exten:  
Exten: <value>
Priority: 1
Priority: <value>
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Uniqueid: <value>
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: <value>
Class: default
Duration: <value>
</pre>
</pre>
* Meetme : The identifier for the MeetMe conference.
* Usernum : The identifier of the MeetMe user who joined.
* Duration : The length of time in seconds that the Meetme user was in the conference.


=== 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_MeetmeLeave
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MusicOnHoldStop
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeJoin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_StartMusicOnHold
 
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_MusicOnHold
== MeetmeMute ==
Raised when a MeetMe user is muted or unmuted.


== MusicOnHoldStop ==
Class : CALL
=== Example ===
<pre>
<pre>
Event: MusicOnHoldStop
Event: MeetmeMute
Privilege: call,all
Meetme: <value>
Channel: SIP/agent-01-0000002b
Usernum: <value>
ChannelState: 6
Channel: <value>
ChannelStateDesc: Up
ChannelState: <value>
CallerIDNum: agent-01
ChannelStateDesc: <value>
CallerIDName: <unknown>
CallerIDNum: <value>
ConnectedLineNum: <unknown>
CallerIDName: <value>
ConnectedLineName: <unknown>
ConnectedLineNum: <value>
Language: en
ConnectedLineName: <value>
AccountCode:  
AccountCode: <value>
Context: sample_musiconhold
Context: <value>
Exten: s
Exten: <value>
Priority: 3
Priority: <value>
Uniqueid: 1481278514.79
Uniqueid: <value>
Linkedid: 1481278514.79
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


== Newchannel ==
=== See also ===
새로운 채널이 생성되었을 때 발생한다.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeMute


Raised when a new channel is created.
== MeetmeTalking ==
Raised when a MeeMe user begins or ends talking.


Class : CALL
Class : CALL
<pre>
<pre>
Event: Newchannel
Event: MeetmeTalking
Meetme: <value>
Usernum: <value>
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 3,631: Line 4,251:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Duration: <value>
Status: <value>
</pre>
</pre>
 
* Meetme : The identifier for the MeetMe conference.
=== Example ===
* Usernum : The identifier of the MeetMe user who joined.
<pre>
* Duration : The length of time in seconds that the Meetme user has been in the conference at the time of this event.
Event: Newchannel
* Status
Privilege: call,all
: on
Channel: SIP/trunk_test_1-0000019a
: off
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: from_provider
Exten: s
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid


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


== NewConnectedLine ==
== MeetmeTalkRequest ==
Raised when a channel's connected line information is changed.
Raised when a MeetMe user has started talking.


Class : CALL
Class : CALL
<pre>
<pre>
Event: NewConnectedLine
Event: MeetmeTalkRequest
Meetme: <value>
Usernum: <value>
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 3,690: Line 4,285:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Duration: <value>
Status: <value>
</pre>
</pre>
* Channel
* Meetme : The identifier for the MeetMe conference.
* ChannelState
* Usernum : The idenitifer of the MeetMe user who joined.
* ChannelStateDesc
* Duration : The length of time in seconds that the Meetme user has been in the conference at the time of this event.
* CallerIDNum
* Status
* CallerIDName
: on
* ConnectedLineNum
: off
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid


=== Example ===
=== See also ===
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MeetmeTalkRequest
Event: NewConnectedLine
Privilege: call,all
Channel: SIP/agent-03-0000002e
ChannelState: 5
ChannelStateDesc: Ringing
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: agent-01
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: public
Exten: s
Priority: 1
Uniqueid: 1481281261.84
Linkedid: 1481281260.83
</pre>


=== See also ===
== MemoryLimit ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_NewConnectedLine
Raised when a request fails due to an internal memory allocation failure.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CONNECTEDLINE


== Newexten ==
Class : SECURITY
채널이 새로운 context, extension, priority 로 진입했을 때 발생한다.
<pre>
<pre>
Event: NewExten
Event: MemoryLimit
Channel: <value>
EventTV: <value>
ChannelState: <value>
Severity: <value>
Service: <value>
EventVersion: <value>
AccountID: <value>
SessionID: <value>
LocalAddress: <value>
RemoteAddress: <value>
[Module:] <value>
[SessionTV:] <value>
</pre>
* EventTV : The time the event was detected.
* Severity : A relative severity of the security event.
: Informational
: Error
* Service : The Asterisk service that raised the security event.
* EventVersion : The version of this event.
* AccountID : The Service account associated with the security event notification.
* SessionID : A Unique identifier for the session in the service that raised the event.
* LocalAddress : The address of the Asterisk service that raised the security event.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* Module : If available, the name of the module that raised the event.
* SessionTV : The timestamp reported by the session.
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MemoryLimit
 
== MessageWaiting ==
Raised when the state of messages in a voicemail mailbox has changed or when a channel has finished interacting with a mailbox.
 
Class : CALL
<pre>
Event: MessageWaiting
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDNum: <value>
Line 3,746: Line 4,350:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Extension: <value>
Mailbox: <value>
Application: <value>
Waiting: <value>
AppData: <value>
New: <value>
Old: <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.
* 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: Newexten
Event: MessageWaiting
Privilege: call,all
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
Channel: SIP/agent-01-00000001
ChannelState: 0
ChannelState: 6
ChannelStateDesc: Down
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDNum: agent-01
CallerIDName: <unknown>
CallerIDName: agent-01
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
ConnectedLineName: <unknown>
Language: en
Language: en
AccountCode:  
AccountCode:  
Context: from_provider
Context: public
Exten:  
Exten: 6001
Priority: 1
Priority: 2
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Uniqueid: 1512317522.2
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 1512317522.2
Extension:  
Mailbox: 6001@vm-demo
Application: AppDial2
Waiting: 1
AppData: (Outgoing Line)
New: 2
Old: 1
</pre>
</pre>


=== See also ===
== MonitorStart ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_NewExten
Raised when monitoring has started on a channel.


== Newstate ==
Class : CALL
Channel 의 state 의 변경되었음을 알려준다.
<pre>
<pre>
Event: Newstate
Event: MonitorStart
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 3,812: Line 4,401:
</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,823: Line 4,412:
* Priority
* Priority
* Uniqueid
* Uniqueid
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Linkedid


=== Example ===
=== Example ===
<pre>
<pre>
Event: Newstate
Event: MonitorStart
Privilege: call,all
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
Channel: SIP/300-00000000
ChannelState: 6
ChannelState: 6
ChannelStateDesc: Up
ChannelStateDesc: Up
CallerIDNum: <unknown>
CallerIDNum: 300
CallerIDName: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
Line 3,838: Line 4,427:
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: 1481880386.0
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 1481880386.0
</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_MonitorStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newchannel
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MonitorStop
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Monitor
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Monitor


== OriginateResponse ==
== MonitorStop ==
Raised in response to an Originate command.
Raised when monitoring has stopped on a channel.


Class : CALL
Class : CALL
<pre>
<pre>
Event: OriginateResponse
Event: MonitorStop
[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>
</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


=== Example ===
=== Example ===
==== Normal ====
<pre>
<pre>
"event": "OriginateResponse",
Event: MonitorStop
"privilege": "call,all",
Privilege: call,all
"response": "Success",
Channel: SIP/300-00000000
"channel": "SIP/trunk_test_1-00000000",
ChannelState: 6
"reason": "4",
ChannelStateDesc: Up
"uniqueid": "dd420b95-c52d-467a-8f65-63efaa094eb6",
CallerIDNum: 300
"calleridname": "<unknown>",
CallerIDName: <unknown>
"context": "",
ConnectedLineNum: <unknown>
"exten": "",
ConnectedLineName: <unknown>
"calleridnum": "<unknown>"
Language: en
</pre>
AccountCode:  
 
Context: sample_musiconhold
==== Failed ====
Exten: s
<pre>
Priority: 3
"event": "OriginateResponse",
Uniqueid: 1481880386.0
"privilege": "call,all",
Linkedid: 1481880386.0
"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_OriginateResponse
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MonitorStop
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Originate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MonitorStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_StopMonitor
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_StopMonitor


== ParkedCall ==
== MusicOnHoldStart ==
Channel 이 parked 되었을 때 발생한다.
채널에서 Music on hold 가 시작되었음을 알려준다.
 
Raised when a channel is parked.
 
Class : CALL
<pre>
<pre>
Event: ParkedCall
Event: MusicOnHoldStart
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>
Class: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
</pre>
</pre>
* ParkeeChannel
* Channel
* ParkeeChannelState
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* ParkeeChannelStateDesc
* channelStateDesc : Channel state description 참조.
* 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 : Uniqueid of the oldest channel associated with this channel.
* ParkerDialString : Dial string that can be used to call back the parker on ParkingTimeout.
* Class : The class of music being played on the channel.
* 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: MusicOnHoldStart
Privilege: call,all
Privilege: call,all
ParkeeChannel: SIP/agent-01-00000009
Channel: SIP/trunk_test_1-0000019a
ParkeeChannelState: 6
ChannelState: 6
ParkeeChannelStateDesc: Up
ChannelStateDesc: Up
ParkeeCallerIDNum: agent-01
CallerIDNum: <unknown>
ParkeeCallerIDName: <unknown>
CallerIDName: <unknown>
ParkeeConnectedLineNum: <unknown>
ConnectedLineNum: <unknown>
ParkeeConnectedLineName: <unknown>
ConnectedLineName: <unknown>
ParkeeLanguage: en
Language: en
ParkeeAccountCode:  
AccountCode:  
ParkeeContext: sample_park
Context: from_provider
ParkeeExten: s
Exten:  
ParkeePriority: 2
Priority: 1
ParkeeUniqueid: 1486373739.14
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
ParkeeLinkedid: 1486373739.14
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
ParkerDialString: SIP/agent-01
Class: default
Parkinglot: default
</pre>
ParkingSpace: 701
ParkingTimeout: 45
ParkingDuration: 0
</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_MusicOnHoldStart
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_MusicOnHoldStop
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_StartMusicOnHold
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_MusicOnHold
 
== MusicOnHoldStop ==
=== Example ===
<pre>
Event: MusicOnHoldStop
Privilege: call,all
Channel: SIP/agent-01-0000002b
ChannelState: 6
ChannelStateDesc: Up
CallerIDNum: agent-01
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: sample_musiconhold
Exten: s
Priority: 3
Uniqueid: 1481278514.79
Linkedid: 1481278514.79
</pre>


== ParkedCallGiveUp ==
== Newchannel ==
Parking lot 에서 대기중인 채널이 다른 곳으로 redirect/bridge/hangup 될 경우 발생한다.
새로운 채널이 생성되었을 때 발생한다.


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


Class : CALL
Class : CALL
<pre>
<pre>
Event: ParkedCallGiveUp
Event: Newchannel
ParkeeChannel: <value>
Channel: <value>
ParkeeChannelState: <value>
ChannelState: <value>
ParkeeChannelStateDesc: <value>
ChannelStateDesc: <value>
ParkeeCallerIDNum: <value>
CallerIDNum: <value>
ParkeeCallerIDName: <value>
CallerIDName: <value>
ParkeeConnectedLineNum: <value>
ConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
ConnectedLineName: <value>
ParkeeAccountCode: <value>
AccountCode: <value>
ParkeeContext: <value>
Context: <value>
ParkeeExten: <value>
Exten: <value>
ParkeePriority: <value>
Priority: <value>
ParkeeUniqueid: <value>
Uniqueid: <value>
ParkeeLinkedid: <value>
Linkedid: <value>
ParkerChannel: <value>
ParkerChannelState: <value>
ParkerChannelStateDesc: <value>
ParkerCallerIDNum: <value>
ParkerCallerIDName: <value>
ParkerConnectedLineNum: <value>
ParkerConnectedLineName: <value>
ParkerAccountCode: <value>
ParkerContext: <value>
ParkerExten: <value>
ParkerPriority: <value>
ParkerUniqueid: <value>
ParkerLinkedid: <value>
ParkerDialString: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
</pre>
* ParkeeChannel
* ParkeeChannelState
* ParkeeChannelStateDesc
* ParkeeCallerIDNum
* ParkeeCallerIDName
* ParkeeConnectedLineNum
* ParkeeConnectedLineName
* ParkeeAccountCode
* ParkeeContext
* ParkeeExten
* ParkeePriority
* ParkeeUniqueid
* ParkeeLinkedid
* ParkerChannel
* ParkerChannelState
* ParkerChannelStateDesc
* ParkerCallerIDNum
* ParkerCallerIDName
* ParkerConnectedLineNum
* ParkerConnectedLineName
* ParkerAccountCode
* ParkerContext
* ParkerExten
* ParkerPriority
* ParkerUniqueid
* ParkerLinkedid
* ParkerDialString : Dial String that can be used to call back the parker on Parking Timeout.
* Parkinglot : Name of the parking lot that the parkee is parked in.
* ParkingSpace : Parking Space that the parkee is parked in.
* ParkingTimeout : Time remaining until the parkee is forcefully removed from parking in seconds.
* ParkingDuration : Time the parkee has been in the parking bridge (in seconds).
 
=== Example ===
<pre>
Event: ParkedCallGiveUp
Privilege: call,all
ParkeeChannel: SIP/agent-01-00000026
ParkeeChannelState: 6
ParkeeChannelStateDesc: Up
ParkeeCallerIDNum: agent-01
ParkeeCallerIDName: <unknown>
ParkeeConnectedLineNum: <unknown>
ParkeeConnectedLineName: <unknown>
ParkeeLanguage: en
ParkeeAccountCode:
ParkeeContext: sample_park
ParkeeExten: s
ParkeePriority: 2
ParkeeUniqueid: 1480935251.69
ParkeeLinkedid: 1480935251.69
ParkerDialString: SIP/agent-01
Parkinglot: default
ParkingSpace: 701
ParkingTimeout: 35
ParkingDuration: 10
</pre>
</pre>
=== Example ===
<pre>
Event: Newchannel
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: from_provider
Exten: s
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid


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


== ParkedCallSwap ==
== NewConnectedLine ==
Raised when a channel takes the place of a previously parked channel.
Raised when a channel's connected line information is changed.
 
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
Class : CALL
<pre>
<pre>
Event: ParkedCallSwap
Event: NewConnectedLine
ParkeeChannel: <value>
Channel: <value>
ParkeeChannelState: <value>
ChannelState: <value>
ParkeeChannelStateDesc: <value>
ChannelStateDesc: <value>
ParkeeCallerIDNum: <value>
CallerIDNum: <value>
ParkeeCallerIDName: <value>
CallerIDName: <value>
ParkeeConnectedLineNum: <value>
ConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
ConnectedLineName: <value>
ParkeeAccountCode: <value>
AccountCode: <value>
ParkeeContext: <value>
Context: <value>
ParkeeExten: <value>
Exten: <value>
ParkeePriority: <value>
Priority: <value>
ParkeeUniqueid: <value>
Uniqueid: <value>
ParkeeLinkedid: <value>
Linkedid: <value>
ParkerChannel: <value>
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
* Channel
* ParkeeChannelState
* ChannelState
* ParkeeChannelStateDesc
* ChannelStateDesc
* ParkeeCallerIDNum
* CallerIDNum
* ParkeeCallerIDName
* CallerIDName
* ParkeeConnectedLineNum
* ConnectedLineNum
* ParkeeConnectedLineName
* ConnectedLineName
* ParkeeAccountCode
* AccountCode
* ParkeeContext
* Context
* ParkeeExten
* Exten
* ParkeePriority
* Priority
* ParkeeUniqueid
* Uniqueid
* ParkeeLinkedid : Uniqueid of the oldest channel associated with this channel.
* Linkedid
* ParkerChannel
* ParkerChannelState
* ParkerChannelStateDesc
* ParkerCallerIDNum
* ParkerCallerIDName
* ParkerConnectedLineNum
* ParkerConnectedLineName
* ParkerAccountCode
* ParkerContext
* ParkerExten
* ParkerPriority
* ParkerUniqueid
* ParkerLinkedid : Uniqueid of the oldest channel associated with this channel.
* ParkerDialString : Dial string that can be used to call back the parker on ParkingTimeout.
* Parkinglot : Name of the parking lot that the parkee is parked in.
* ParkingSpace : Parking space that the parkee is parked in.
* ParkingTimeout : Time remaining until the parkee is forcefully removed from parking in seconds.
* OarkingDuration : Time the parkee has been in the parking bridge(in seconds).
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ParkedCallSwap
 
== Parkinglot ==
Action: Parkinglots response message.


=== Example ===
=== Example ===
<pre>
<pre>
Event: Parkinglot
Event: NewConnectedLine
Name: default
Privilege: call,all
StartSpace: 701
Channel: SIP/agent-03-0000002e
StopSpace: 720
ChannelState: 5
Timeout: 45
ChannelStateDesc: Ringing
</pre>
CallerIDNum: <unknown>
 
CallerIDName: <unknown>
== PeerEntry ==
ConnectedLineNum: agent-01
Action: SIPpeers response message 이다.
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: public
Exten: s
Priority: 1
Uniqueid: 1481281261.84
Linkedid: 1481281260.83
</pre>


=== Example ===
=== See also ===
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_NewConnectedLine
Event: PeerEntry
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CONNECTEDLINE
Channeltype: SIP
ObjectName: client-03
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:
</pre>


== PeerStatus ==
== Newexten ==
Peer 의 state 가 변경되었음을 알려준다.
채널이 새로운 context, extension, priority 로 진입했을 때 발생한다.
<pre>
<pre>
Event: PeerStatus
Event: NewExten
ChannelType: <value>
Channel: <value>
Peer: <value>
ChannelState: <value>
PeerStatus: <value>
ChannelStateDesc: <value>
Cause: <value>
CallerIDNum: <value>
Address: <value>
CallerIDName: <value>
Port: <value>
ConnectedLineNum: <value>
Time: <value>
ConnectedLineName: <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
 
== QueueCallerAbandon ==
Queue 에 인입된 콜이 분배되기 전 Hangup 되었을 때 발생하는 이벤트이다.
<pre>
Event: QueueCallerAbandon
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
AccountCode: <value>
Context: <value>
Context: <value>
Line 4,252: Line 4,718:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Queue: <value>
Extension: <value>
Position: <value>
Application: <value>
OriginalPosition: <value>
AppData: <value>
HoldTime: <value>
</pre>
</pre>
* Channel
* Channel
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* ChannelStateDesc : Channel state description 참조.
* ChannelStateDesc : Channel state description 참조.
* CallerIDNum
* CallerIDNum
Line 4,269: Line 4,734:
* Priority
* Priority
* Uniqueid
* Uniqueid
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Queue - The name of the queue.
* Extension : Deprecated in 12, but kept for backward compatibility. Please use 'Exten' instead.
* Position - This channel's current position in the queue.
* Application : The application about to be executed.
* OriginalPosition - The channel's original position in the queue.
* AppData : The data to be passed to the application.
* HoldTime - The time the channel was in the queue, expressed in seconds since 00:00, Jan 1, 1970 UTC.
 
=== Example ===
<pre>
Event: Newexten
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
ChannelState: 0
ChannelStateDesc: Down
CallerIDNum: <unknown>
CallerIDName: <unknown>
ConnectedLineNum: <unknown>
ConnectedLineName: <unknown>
Language: en
AccountCode:
Context: from_provider
Exten:
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Extension:
Application: AppDial2
AppData: (Outgoing Line)
</pre>


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


== QueueCallerJoin ==
== Newstate ==
Queue 에 콜이 인입될 때 발생하는 이벤트이다.
Channel 의 state 의 변경되었음을 알려준다.
<pre>
<pre>
Event: QueueCallerJoin
Event: Newstate
Channel: <value>
Channel: <value>
ChannelState: <value>
ChannelState: <value>
Line 4,295: Line 4,782:
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
Linkedid: <value>
Queue: <value>
Position: <value>
Count: <value>
</pre>
</pre>
* Channel
* Channel
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc.
* ChannelStateDesc : Channel state description 참조.
* ChannelStateDesc : Channel state description 참조.
* CallerIDNum
* CallerIDNum
Line 4,312: Line 4,795:
* Priority
* Priority
* Uniqueid
* Uniqueid
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* Linkedid : Uniqueid of the oldest channel associated with this channel.
* Queue - The name of the queue.
 
* Position - This channel's current position in the queue.
* Count - The total number of channels in the queue.
 
=== Example ===
=== Example ===
<pre>
<pre>
Event: QueueCallerJoin
Event: Newstate
Privilege: agent,all
Privilege: call,all
Channel: SIP/trunk_test_1-0000019a
Channel: SIP/trunk_test_1-0000019a
ChannelState: 6
ChannelState: 6
Line 4,335: Line 4,815:
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Queue: TestQueue
Count: 1
Position: 1
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueCallerJoin
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newstate
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueCallerLeave
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Newchannel
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_Queue
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup
 
== OriginateResponse ==
Raised in response to an Originate command.


== QueueCallerLeave ==
Class : CALL
Queue 에 인입된 콜이 빠져나갈 때 발생하는 이벤트이다.
<pre>
<pre>
Event: QueueCallerLeave
Event: OriginateResponse
[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>
Priority: <value>
Reason: <value>
Uniqueid: <value>
Uniqueid: <value>
Linkedid: <value>
CallerIDNum: <value>
Queue: <value>
CallerIDName: <value>
Count: <value>
Position: <value>
</pre>
</pre>
 
* ActionID
* Response
: Failure
: Success
* Channel
* Channel
* ChannelState - A numeric code for the channel's current state, related to ChannelStateDesc
* Context
* ChannelStateDesc : Channel state description 참조.
* Exten
* Reason
: 자세한 내용은 [[Asterisk_status_code#Originate_response_reason]] 참조.
* Uniqueid
* CallerIDNum
* CallerIDNum
* CallerIDName
* 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 ===
=== Example ===
==== Normal ====
<pre>
<pre>
Event: QueueCallerLeave
"event": "OriginateResponse",
Privilege: agent,all
"privilege": "call,all",
Channel: SIP/trunk_test_1-0000019a
"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:
Context: from_provider
Exten:
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Queue: TestQueue
Count: 0
Position: 1
</pre>
</pre>


== QueueEntry ==
==== Failed ====
Action: QueueStatus response message.
<pre>
"event": "OriginateResponse",
"privilege": "call,all",
"response": "Failure",
"channel": "SIP/111-111-0004@trunk_test_1",
"reason": "5",
"uniqueid": "<null>",
"calleridname": "<unknown>",
"context": "",
"exten": "",
"calleridnum": "<unknown>"
</pre>
 
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_OriginateResponse
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Originate


Queue 에서 대기중인 콜이 있을 경우 표시된다.
== OutboundRegistrationDetail ==
=== Example ===
==== Normal ====
<pre>
<pre>
Event: QueueEntry
Event: OutboundRegistrationDetail
Queue: <value>
ObjectType: registration
Position: <value>
ObjectName: test12345
Channel: <value>
MaxRetries: 10
Uniqueid: <value>
ClientUri: sip:test12345.test.com
CallerIDNum: <value>
AuthRejectionPermanent: true
CallerIDName: <value>
ServerUri: sip:sip.test.com
ConnectedLineNum: <value>
SupportPath: false
ConnectedLineName: <value>
RetryInterval: 60
Wait: <value>
Expiration: 3600
Transport:
Line: false
ContactUser:
Endpoint:
ForbiddenRetryInterval: 0
OutboundAuth: test12345
OutboundProxy:  
FatalRetryInterval: 0
Status: Rejected
NextReg: 0
</pre>
</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 : 이 큐에서 대기한 시간(초)


== OutboundRegistrationDetailComplete ==
=== Example ===
=== Example ===
==== Normal ====
<pre>
<pre>
Event: QueueEntry
Event: OutboundRegistrationDetailComplete
Queue: sales_1
EventList: Complete
Position: 1
ListItems: 1
Channel: SIP/agent-01-0000000f
Registered: 0
Uniqueid: 1486480869.26
NotRegistered: 1
CallerIDNum: agent-01
CallerIDName: unknown
ConnectedLineNum: unknown
ConnectedLineName: unknown
Wait: 11
</pre>
</pre>


== QueueMember ==
== ParkedCall ==
Action: QueueStatus 의 response message 중 하나이다. Queue 에 속해있는 멤버의 정보를 표시한다.
Channel 이 parked 되었을 때 발생한다.
 
Raised when a channel is parked.
 
Class : CALL
<pre>
<pre>
Event: QueueMember
Event: ParkedCall
Queue: <value>
ParkeeChannel: <value>
Name: <value>
ParkeeChannelState: <value>
Location: <value>
ParkeeChannelStateDesc: <value>
StateInterface: <value>
ParkeeCallerIDNum: <value>
Membership: <value>
ParkeeCallerIDName: <value>
Penalty: <value>
ParkeeConnectedLineNum: <value>
CallsTaken: <value>
ParkeeConnectedLineName: <value>
LastCall: <value>
ParkeeAccountCode: <value>
LastPause: <value>
ParkeeContext: <value>
InCall: <value>
ParkeeExten: <value>
Status: <value>
ParkeePriority: <value>
Paused: <value>
ParkeeUniqueid: <value>
PausedReason: <value>
ParkeeLinkedid: <value>
ParkerDialString: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
</pre>
</pre>
* Name : Member name
* ParkeeChannel
* Status : 멤버의 상태 번호
* ParkeeChannelState
: 0:AST_DEVICE_UNKNOWN
* ParkeeChannelStateDesc
: 1:AST_DEVICE_NOT_INUSE
* ParkeeCallerIDNum
: 2:AST_DEVICE_INUSE
* ParkeeCallerIDName
: 3:AST_DEVICE_BUSY
* ParkeeConnectedLineNum
: 4:AST_DEVICE_INVALID
* ParkeeConnectedLineName
: 5:AST_DEVICE_UNAVAILABLE
* ParkeeAccountCode
: 6:AST_DEVICE_RINGING
* ParkeeContext
: 7:AST_DEVICE_RINGINUSE
* ParkeeExten
: 8:AST_DEVICE_ONHOLD
* ParkeePriority
* Location : 멤버의 Channel 정보 혹은 위치 정보
* ParkeeUniqueid
* StateInterface : 멤버의 상태 정보를 확인하는 장치 정보.
* ParkeeLinkedid : Unique of the oldest channel associated with this channel.
* Membership : 멤버의 등록 방법(dynamic|realtime|static).
* ParkerDialString : Dial string that can be used to call back the parker on ParkingTimeout.
: dynamic : 동적 등록. AMI, Dialplan 등으로 등록된 방식.
* Parkinglot : Name of the parking lot that the parkee is parked in.
: static : 정적 등록. queues.conf 에 명시적으로 등록하여 등록된 방식.
* ParkingSpace : Parking Space that the parkee is parked in.
: static :
* ParkingTimeout : time remaining until the parkee is forcefully removed from parking in seconds.
* Penalty : 패널티 정보(높은 패널티를 가지게 되면 상대적으로 콜을 분배받기 어려워진다.)
* ParkingDuration : Time the parkee has been in the parking bridge(in seconds).
* CallsTaken : 분배받은 콜의 숫자
* LastCall : 마지막으로 받은 콜의 시간. Unix 타임을 사용한다.
* Paused : Paused 여부. (1:Paused 상태, 0:Normal 상태)
* PausedReason :


=== Example ===
=== Example ===
<pre>
<pre>
Event: QueueMember
Event: ParkedCall
Queue: sales_1
Privilege: call,all
Name: sip/agent-01
ParkeeChannel: SIP/agent-01-00000009
Location: sip/agent-01
ParkeeChannelState: 6
StateInterface: sip/agent-01
ParkeeChannelStateDesc: Up
Membership: dynamic
ParkeeCallerIDNum: agent-01
Penalty: 0
ParkeeCallerIDName: <unknown>
CallsTaken: 0
ParkeeConnectedLineNum: <unknown>
LastCall: 0
ParkeeConnectedLineName: <unknown>
LastPause: 0
ParkeeLanguage: en
InCall: 0
ParkeeAccountCode:
Status: 5
ParkeeContext: sample_park
Paused: 0
ParkeeExten: s
PausedReason:  
ParkeePriority: 2
ParkeeUniqueid: 1486373739.14
ParkeeLinkedid: 1486373739.14
ParkerDialString: SIP/agent-01
Parkinglot: default
ParkingSpace: 701
ParkingTimeout: 45
ParkingDuration: 0
</pre>
</pre>


== QueueMemberAdded ==
=== See also ===
Queue 에 새롭게 멤버가 등록되었을 때 발생하는 이벤트 메시지이다.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ParkedCall
 
== ParkedCallGiveUp ==
Parking lot 에서 대기중인 채널이 다른 곳으로 redirect/bridge/hangup 될 경우 발생한다.


Raised when a member is added to the queue.
Raised when a channel leaves a parking lot because it hung up without being answer.


Class : AGENT
Class : CALL
<pre>
<pre>
Event: QueueMemberAdded
Event: ParkedCallGiveUp
Queue: <value>
ParkeeChannel: <value>
MemberName: <value>
ParkeeChannelState: <value>
Interface: <value>
ParkeeChannelStateDesc: <value>
StateInterface: <value>
ParkeeCallerIDNum: <value>
Membership: <value>
ParkeeCallerIDName: <value>
Penalty: <value>
ParkeeConnectedLineNum: <value>
CallsTaken: <value>
ParkeeConnectedLineName: <value>
LastCall: <value>
ParkeeAccountCode: <value>
LastPause: <value>
ParkeeContext: <value>
InCall: <value>
ParkeeExten: <value>
Status: <value>
ParkeePriority: <value>
Paused: <value>
ParkeeUniqueid: <value>
PausedReason: <value>
ParkeeLinkedid: <value>
Ringinuse: <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>
* Queue : The name of the queue.
* ParkeeChannel
* MemberName : The name of the queue member.
* ParkeeChannelState
* Interface : The queue member's channel technology or location.
* ParkeeChannelStateDesc
* StateInterface : Channel technology or location from which to read device state changes.
* ParkeeCallerIDNum
* Membership
* ParkeeCallerIDName
: dynamic
* ParkeeConnectedLineNum
: realtime
* ParkeeConnectedLineName
: static
* ParkeeAccountCode
* Penalty : The penalty associated with the queue member.
* ParkeeContext
* CallsTaken : The number of calls this queue member has serviced.
* ParkeeExten
* LastCall : The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
* ParkeePriority
* LastPause : The time when started last paused the queue member.
* ParkeeUniqueid
* InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
* ParkeeLinkedid
: 0
* ParkerChannel
: 1
* ParkerChannelState
* Status : The numberic device state status of the queue member.
* ParkerChannelStateDesc
: 0 : AST_DEVICE_UNKNOWN.
* ParkerCallerIDNum
: 1 : AST_DEVICE_NOT_INUSE.
* ParkerCallerIDName
: 2 : AST_DEVICE_INUSE.
* ParkerConnectedLineNum
: 3 : AST_DEVICE_BUSY.
* ParkerConnectedLineName
: 4 : AST_DEVICE_INVALID.
* ParkerAccountCode
: 5 : AST_DEVICE_UNAVAILABLE.
* ParkerContext
: 6 : AST_DEVICE_RINGING.
* ParkerExten
: 7 : AST_DEVICE_RINGINUSE.
* ParkerPriority
: 8 : AST_DEVICE_ONHOLD.
* ParkerUniqueid
* Paused
* ParkerLinkedid
: 0
* ParkerDialString : Dial String that can be used to call back the parker on Parking Timeout.
: 1
* Parkinglot : Name of the parking lot that the parkee is parked in.
* PauseReason : If set when paused, the reason the queue member was paused.
* ParkingSpace : Parking Space that the parkee is parked in.
* Ringinuse
* ParkingTimeout : Time remaining until the parkee is forcefully removed from parking in seconds.
: 0
* ParkingDuration : Time the parkee has been in the parking bridge (in seconds).
: 1


=== Example ===
=== Example ===
<pre>
<pre>
Event: QueueMemberAdded
Event: ParkedCallGiveUp
Privilege: agent,all
Privilege: call,all
Queue: Dragon
ParkeeChannel: SIP/agent-01-00000026
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
ParkeeChannelState: 6
MemberName: Local/603-test-mac_address-what-ever-002-1@DialLine/n
ParkeeChannelStateDesc: Up
Membership: dynamic
ParkeeCallerIDNum: agent-01
Penalty: 0
ParkeeCallerIDName: <unknown>
CallsTaken: 0
ParkeeConnectedLineNum: <unknown>
LastCall: 0
ParkeeConnectedLineName: <unknown>
Status: 1
ParkeeLanguage: en
Paused: 0
ParkeeAccountCode:
ParkeeContext: sample_park
ParkeeExten: s
ParkeePriority: 2
ParkeeUniqueid: 1480935251.69
ParkeeLinkedid: 1480935251.69
ParkerDialString: SIP/agent-01
Parkinglot: default
ParkingSpace: 701
ParkingTimeout: 35
ParkingDuration: 10
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueMemberAdded
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ParkedCallGiveUp
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueMemberRemoved
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_AddQueueMember


== QueueMemberPause ==
== ParkedCallSwap ==
Queue 멤버가 Pause 되었을 때 발생하는 이벤트이다.
Raised when a channel takes the place of a previously parked channel.


Raised when a member is paused/unpaused in the queue.
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 : AGENT
Class : CALL
<pre>
<pre>
Event: QueueMemberPause
Event: ParkedCallSwap
Queue: <value>
ParkeeChannel: <value>
MemberName: <value>
ParkeeChannelState: <value>
Interface: <value>
ParkeeChannelStateDesc: <value>
StateInterface: <value>
ParkeeCallerIDNum: <value>
Membership: <value>
ParkeeCallerIDName: <value>
Penalty: <value>
ParkeeConnectedLineNum: <value>
CallsTaken: <value>
ParkeeConnectedLineName: <value>
LastCall: <value>
ParkeeAccountCode: <value>
LastPause: <value>
ParkeeContext: <value>
InCall: <value>
ParkeeExten: <value>
Status: <value>
ParkeePriority: <value>
Paused: <value>
ParkeeUniqueid: <value>
PausedReason: <value>
ParkeeLinkedid: <value>
Ringinuse: <value>
ParkerChannel: <value>
Reason: <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>
* Queue : The name of the queue.
* ParkeeChannel
* MemberName : The name of the queue member.
* ParkeeChannelState
* Interface : The queue member's channel technology or location.
* ParkeeChannelStateDesc
* StateInterface : Channel technology or location from which to read device state changes.
* ParkeeCallerIDNum
* Membership
* ParkeeCallerIDName
: dynamic
* ParkeeConnectedLineNum
: realtime
* ParkeeConnectedLineName
: static
* ParkeeAccountCode
* Penalty : The penalty associated with the queue member.
* ParkeeContext
* CallsTaken : The number of calls this queue member has serviced.
* ParkeeExten
* LastCall : The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
* ParkeePriority
: LastPause : The time when started last paused the queue member.
* ParkeeUniqueid
* InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
* ParkeeLinkedid : Uniqueid of the oldest channel associated with this channel.
: 0
* ParkerChannel
: 1
* ParkerChannelState
* Status : The numeric device state status of the queue member. See detail [[Asterisk_status_code#Device_status]].
* ParkerChannelStateDesc
* Paused
* ParkerCallerIDNum
: 0
* ParkerCallerIDName
: 1
* ParkerConnectedLineNum
* PausedReason : If set when paused, the reason the queue member was paused.
* ParkerConnectedLineName
* Ringinuse
* ParkerAccountCode
: 0
* ParkerContext
: 1
* ParkerExten
* Reason : The reason a member was paused.
* 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).


=== Example ===
=== See also ===
<pre>
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ParkedCallSwap
Event: QueueMemberPaused
Privilege: agent,all
Queue: Dragon
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
MemberName: dummy_name
Paused: 0
Reason: Test pause
</pre>


=== See also ===
== ParkedCallTimeOut ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueMemberPause
Raised when a channel leaves a parking lot due to reaching the time limit of being parked.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_PauseQueueMember
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_UnpauseQueueMember


== QueueMemberPenalty ==
Class : CALL
Queue 멤버의 Penalty 값이 조정되었을 때 발생하는 이벤트이다.
 
'''Example'''
<pre>
<pre>
Event: QueueMemberPenalty
Event: ParkedCallTimeOut
Privilege: agent,all
ParkeeChannel: <value>
Queue: Dragon
ParkeeChannelState: <value>
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
ParkeeChannelStateDesc: <value>
Penalty: 100
ParkeeCallerIDNum: <value>
ParkeeCallerIDName: <value>
ParkeeConnectedLineNum: <value>
ParkeeConnectedLineName: <value>
ParkeeAccountCode: <value>
ParkeeContext: <value>
ParkeeExten: <value>
ParkeePriority: <value>
ParkeeUniqueid: <value>
ParkeeLinkedid: <value>
ParkerChannel: <value>
ParkerChannelState: <value>
ParkerChannelStateDesc: <value>
ParkerCallerIDNum: <value>
ParkerCallerIDName: <value>
ParkerConnectedLineNum: <value>
ParkerConnectedLineName: <value>
ParkerAccountCode: <value>
ParkerContext: <value>
ParkerExten: <value>
ParkerPriority: <value>
ParkerUniqueid: <value>
ParkerLinkedid: <value>
ParkerDialString: <value>
Parkinglot: <value>
ParkingSpace: <value>
ParkingTimeout: <value>
ParkingDuration: <value>
</pre>
</pre>


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


== QueueMemberRinginuse ==
=== See also ===
== QueueMemberStatus ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_ParkedCallTimeOut
Queue 의 멤버 상태 정보가 변경되었을 때, 발생한다.
 
== Parkinglot ==
Action: Parkinglots response message.
 
=== Example ===
<pre>
Event: Parkinglot
Name: default
StartSpace: 701
StopSpace: 720
Timeout: 45
</pre>


Class : AGENT
== PeerEntry ==
Action: SIPpeers response message.
<pre>
<pre>
Event: QueueMemberStatus
Event: PeerEntry
Queue: <value>
Channeltype: <value>
MemberName: <value>
ObjectName: <value>
Interface: <value>
ChanObjectType: <value>
StateInterface: <value>
IPaddress: <value>
Membership: <value>
IPport: <value>
Penalty: <value>
Dynamic: <value>
CallsTaken: <value>
AutoForcerport: <value>
LastCall: <value>
Forcerport: <value>
AutoComedia: <value>
Comedia: <value>
VideoSupport: <value>
TextSupport: <value>
ACL: <value>
Status: <value>
Status: <value>
Paused: <value>
RealtimeDevice: <value>
Ringinuse: <value>
Description: [value]
Accountcode: [value]
</pre>
 
=== Example ===
<pre>
Event: PeerEntry
Channeltype: SIP
ObjectName: client-02
ChanObjectType: peer
IPaddress: -none-
IPport: 0
Dynamic: yes
AutoForcerport: yes
Forcerport: no
AutoComedia: no
Comedia: no
VideoSupport: no
TextSupport: no
ACL: no
Status: Unmonitored
RealtimeDevice: no
Description:
Accountcode:
</pre>
 
== PeerlistComplete ==
Action: SIPpeers response message.
<pre>
Event: PeerlistComplete
EventList: Complete
ListItems: <value>
</pre>
</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 ===
=== Example ===
<pre>
<pre>
Event: QueueMemberStatus
Event: PeerlistComplete
Privilege: agent,all
EventList: Complete
PausedReason:  
ListItems: 12
MemberName: sip/agent-01
</pre>
InCall: 0
 
Queue: sales_1
== PeerStatus ==
Status: 1
Peer 의 state 가 변경되었음을 알려준다.
Membership: dynamic
<pre>
Interface: sip/agent-01
Event: PeerStatus
StateInterface: sip/agent-01
ChannelType: <value>
Ringinuse: 1
Peer: <value>
Penalty: 0
PeerStatus: <value>
CallsTaken: 1
Cause: <value>
LastCall: 1480670890
Address: <value>
LastPause: 0
Port: <value>
Paused: 0
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>
</pre>


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


== QueueParams ==
== SIPpeerstatusComplete ==
Action: QueueStatus response message.
Action: SIPpeerstatus response message
 
<pre>
Queue 의 parameter 를 표시한다.
Event: SIPpeerstatusComplete
<pre>
EventList: Complete
Event: QueueParams
ListItems: <value>
Queue: <value>
Max: <value>
Strategy: <value>
Calls: <value>
Holdtime: <value>
TalkTime: <value>
Completed: <value>
Abandoned: <value>
ServiceLevel: <value>
ServicelevelPerf: <value>
Weight: <value>
</pre>
</pre>
* Queue : Queue name.
* Max : Queue에서 허용 가능한 최대 콜 수.
* Strategy : 콜 분배 방식(rignall|roundrobin|leastrecent|fewestcalls|random|rrmemory|linear|wrandom).
* Calls : 현재 큐에서 대기중인 콜의 갯수.
* HoldTime : 현재 평균 큐 대기 시간.
* Weight : 큐의 우선 순위. 높은(많은) 우선순위를 가진 큐의 콜이 낮은(적은) 우선순위를 가진 큐보다 먼저 분배될 확률이 높아진다.
* ServiceLevel : ServiceLevelPerf 를 확인하는 Interval time(sec).
* ServicelevelPerf : SerivceLevel 시간동안의 콜 응답률(%). 응답 콜 /전체 인입 콜 * 100.
* Abandoned : 큐에서 대기중에 분배되지 못하고 끊어진 콜.
* TalkTikme : 분배 후 평균 통화시간.
* Completed : 정상적으로 분배 완료된 콜 갯수.


=== Example ===
=== Example ===
<pre>
<pre>
Event: QueueParams
Event: SIPpeerstatusComplete
Queue: sales_1
EventList: Complete
Max: 0
ListItems: 1
Strategy: ringall
Calls: 0
Holdtime: 0
TalkTime: 0
Completed: 0
Abandoned: 0
ServiceLevel: 0
ServicelevelPerf: 0.0
Weight: 0
</pre>
</pre>


== QueueSummary ==
== QueueCallerAbandon ==
Action: QueueSummary response message.
Queue 에 인입된 콜이 분배되기 전 Hangup 되었을 때 발생하는 이벤트이다.
 
Queue의 통계를 표시한다.
<pre>
<pre>
Event: QueueSummary
Event: QueueCallerAbandon
Queue: <value>
Channel: <value>
LoggedIn: <value>
ChannelState: <value>
Available: <value>
ChannelStateDesc: <value>
Callers: <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>
HoldTime: <value>
TalkTime: <value>
LongestHoldTime: <value>
</pre>
</pre>
* Queue : Queue name.
* Channel
* LoggedIn : 현재 log in 되어 있는 Queue member count.
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
* Available : 현재 Queue 에서 대기중인 Queue member count.
* ChannelStateDesc : Channel state description 참조.
* Callers : 현재 큐에 인입되어 대기중인 콜 갯수.
* CallerIDNum
* HoldTime : 콜에 큐에 인입되어 분배되기 까지의 평균 대기 시간.
* CallerIDName
* TalkTime : 콜이 큐에 인입되어 분배되고 난 후의 평균 통화 시간.
* ConnectedLineNum
* LongestHoldTime : 큐에서 가장 오래 대기한 콜의 대기 시간.
* 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 ===
=== Example ===
<pre>
<pre>
Event: QueueSummary
Event: QueueCallerLeave
Queue: sales_1
Privilege: agent,all
LoggedIn: 3
Channel: SIP/agent-01-00007314
Available: 0
ChannelState: 4
Callers: 1
ChannelStateDesc: Ring
HoldTime: 0
CallerIDNum: agent-01
TalkTime: 0
CallerIDName: agent-01@earth.pchero21.com
LongestHoldTime: 29
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>
</pre>


== RegistryEntry ==
=== See also ===
Action: SIPshowregistry Response message.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueCallerAbandon


=== Example ===
== QueueCallerJoin ==
Queue 에 콜이 인입될 때 발생하는 이벤트이다.
<pre>
<pre>
Event: RegistryEntry
Event: QueueCallerJoin
Host: mysipprovider.com
Channel: <value>
Port: 5060
ChannelState: <value>
Username: 3456
ChannelStateDesc: <value>
Domain: mydomain
CallerIDNum: <value>
DomainPort: 5082
CallerIDName: <value>
Refresh: 120
ConnectedLineNum: <value>
State: Request Sent
ConnectedLineName: <value>
RegistrationTime: 0
AccountCode: <value>
</pre>
Context: <value>
 
Exten: <value>
== Reload ==
Priority: <value>
Raised when a module has been reloaded in Asterisk.
Uniqueid: <value>
Linkedid: <value>
Queue: <value>
Position: <value>
Count: <value>
</pre>


Class : SYSTEM
* Channel
<pre>
* ChannelState : A numeric code for the channel's current state, related to ChannelStateDesc
Event: Reload
* ChannelStateDesc : Channel state description 참조.
Module: <value>
* CallerIDNum
Status: <value>
* CallerIDName
</pre>
* ConnectedLineNum
* Module : The name of the module that was reloaded, or All if all modules were reloaded.
* ConnectedLineName
* Status : The numeric status code denoting the success or failure of the reload request.
* AccountCode
: 0 : Success.
* Context
: 1 : Request queued.
* Exten
: 2 : Module not found.
* Priority
: 3 : Error.
* Uniqueid
: 4 : Reload already in progress.
* Linkedid - Uniqueid of the oldest channel associated with this channel.
: 5 : Module uninitialized.
* Queue - The name of the queue.
: 6 : Reload not supported.
* Position - This channel's current position in the queue.
* Count - The total number of channels in the queue.


=== Example ===
=== Example ===
<pre>
<pre>
Event: Reload
Event: QueueCallerJoin
Privilege: system,all
Privilege: agent,all
Module: chan_sip
Channel: SIP/trunk_test_1-0000019a
Status: 0
ChannelState: 6
</pre>
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 ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Reload
* 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


== RequestBadFormat ==
== QueueCallerLeave ==
Raised when a request is received with bad formatting.
Queue 에 인입된 콜이 빠져나갈 때 발생하는 이벤트이다.
 
Class : SECURITY
<pre>
<pre>
Event: RequestBadFormat
Event: QueueCallerLeave
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>
Queue: <value>
Count: <value>
Position: <value>
</pre>
</pre>
* EventTV : The time the event was detected.
 
* Severity : A relative severity of the security event.
* Channel
: Informational
* ChannelState - A numeric code for the channel's current state, related to ChannelStateDesc
: Error
* ChannelStateDesc : Channel state description 참조.
* Service : The Asterisk service that raised the security event.
* CallerIDNum
* EventVersion : The version of this event.
* CallerIDName
* AccountID : The Service account associated with the security event notification.
* ConnectedLineNum
* SessionID : A unique identifier for the session in the service that raised the event.
* ConnectedLineName
* LocalAddress : The address of the Asterisk service that raised the security event.
* AccountCode
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* Context
* RequestType : The type of request attempted.
* Exten
* Module : If available, the name of the module that raised the event.
* Priority
* SessionTV : The timestamp reported by the session.
* Uniqueid
* AccountID : The account ID associated with the rejected request.
* Linkedid - Uniqueid of the oldest channel associated with this channel.
* RequestParams : Parameters provided to the rejected request.
* 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 ===
=== Example ===
<pre>
<pre>
Event: RequestBadFormat
Event: QueueCallerLeave
Privilege: security,all
Privilege: agent,all
EventTV: 2016-12-09T10:09:07.294+0000
Channel: SIP/trunk_test_1-0000019a
Severity: Error
ChannelState: 6
Service: AMI
ChannelStateDesc: Up
EventVersion: 1
CallerIDNum: <unknown>
SessionID: 0x1290100
CallerIDName: <unknown>
LocalAddress: IPV4/TCP/0.0.0.0/5038
ConnectedLineNum: <unknown>
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: from_provider
Exten:  
Priority: 1
Uniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Queue: TestQueue
Count: 0
Position: 1
</pre>
</pre>


=== See also ===
== QueueEntry ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_RequestBadFormat
Action: QueueStatus response message.


== RequestNotAllowed ==
Queue 에서 대기중인 콜이 있을 경우 표시된다.
전송한 Action Request 를 수행할 권한이 없음을 알려준다.
 
AMI Action request 를 전송했는데, 만약 접속중인 계정에 해당 명령어를 수행할 권한이 없을 경우 발생하게 된다.
 
Class : SECURITY
<pre>
<pre>
Event: RequestNotAllowed
Event: QueueEntry
EventTV: <value>
Queue: <value>
Severity: <value>
Position: <value>
Service: <value>
Channel: <value>
EventVersion: <value>
Uniqueid: <value>
AccountID: <value>
CallerIDNum: <value>
SessionID: <value>
CallerIDName: <value>
LocalAddress: <value>
ConnectedLineNum: <value>
RemoteAddress: <value>
ConnectedLineName: <value>
RequestType: <value>
Wait: <value>
[Module:] <value>
[SessionTV:] <value>
[RequestParams:] <value>
</pre>
</pre>
* EventTV : The time the event was detected.
* Queue : Queue name
* Severity : A relative severity of the security event.
* Position : Priority number of entry from the queue.
: Informational
* Channel : Channel name
: Error
* Uniqueid : Unique id of Asterisk
* Service : The Asterisk service that raised the security event.
* CallerIDNum : Caller's number
* EventVersion : The version of this event.
* CallerIDName : Caller's name
* AccountID : The Service account associated with the security event notification.
* ConnectedLineNum : 현재 이 콜과 연결된(통화중인) number
* SessionID : A unique identifier for the session in the service that raised the event.
* ConnectedLineName : 현재 이 콜과 연결된(통화중인) name
* LocalAddress : The address of the Asterisk service that raised the security event.
* Wait : 이 큐에서 대기한 시간(초)
* 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 ===
=== Example ===
<pre>
<pre>
Event: RequestNotAllowed
Event: QueueEntry
Privilege: security,all
Queue: sales_1
EventTV: 2016-12-08T12:36:39.885+0000
Position: 1
Severity: Error
Channel: SIP/agent-01-0000000f
Service: AMI
Uniqueid: 1486480869.26
EventVersion: 1
CallerIDNum: agent-01
AccountID: test
CallerIDName: unknown
SessionID: 0x76309870
ConnectedLineNum: unknown
LocalAddress: IPV4/TCP/0.0.0.0/5038
ConnectedLineName: unknown
RemoteAddress: IPV4/TCP/127.0.0.1/55096
Wait: 11
RequestType: Action: Originate
</pre>
SessionTV: 2016-12-08T11:28:24.934+0000
 
== 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>
</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 :


== RTCPReceived ==
=== Example ===
<pre>
<pre>
Event: RTCPReceived
Event: QueueMember
Privilege: reporting,all
Queue: sales_1
Channel: SIP/test-04-0000019b
Name: sip/agent-01
ChannelState: 6
Location: sip/agent-01
ChannelStateDesc: Up
StateInterface: sip/agent-01
CallerIDNum: test-04
Membership: dynamic
CallerIDName: <unknown>
Penalty: 0
ConnectedLineNum: <unknown>
CallsTaken: 0
ConnectedLineName: <unknown>
LastCall: 0
Language: en
LastPause: 0
AccountCode:
InCall: 0
Context: common-incoming
Status: 5
Exten:
Paused: 0
Priority: 1
PausedReason:  
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>
</pre>


== RTCPSent ==
== QueueMemberAdded ==
Queue 에 새롭게 멤버가 등록되었을 때 발생하는 이벤트 메시지이다.
 
Raised when a member is added to the queue.


=== Example ===
Class : AGENT
<pre>
<pre>
Event: RTCPSent
Event: QueueMemberAdded
Privilege: reporting,all
Queue: <value>
Channel: SIP/agent-01-0000002b
MemberName: <value>
ChannelState: 6
Interface: <value>
ChannelStateDesc: Up
StateInterface: <value>
CallerIDNum: agent-01
Membership: <value>
CallerIDName: <unknown>
Penalty: <value>
ConnectedLineNum: <unknown>
CallsTaken: <value>
ConnectedLineName: <unknown>
LastCall: <value>
Language: en
LastPause: <value>
AccountCode:  
InCall: <value>
Context: sample_musiconhold
Status: <value>
Exten: s
Paused: <value>
Priority: 3
PausedReason: <value>
Uniqueid: 1481278514.79
Ringinuse: <value>
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>
</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


== SoftHangupRequest ==
=== Example ===
Raised when a soft hangup is requested with specific cause code.
 
Class : CALL
<pre>
<pre>
Event: SoftHangupRequest
Event: QueueMemberAdded
Channel: <value>
Privilege: agent,all
ChannelState: <value>
StateInterface: sip/agent-01
ChannelStateDesc: <value>
Queue: sales_1
CallerIDNum: <value>
Status: 5
CallerIDName: <value>
Interface: sip/agent-01
ConnectedLineNum: <value>
MemberName: sip/agent-01
ConnectedLineName: <value>
LastPause: 0
AccountCode: <value>
CallsTaken: 0
Context: <value>
Membership: dynamic
Exten: <value>
Penalty: 0
Priority: <value>
LastCall: 0
Uniqueid: <value>
PausedReason:  
Linkedid: <value>
Paused: 0
Cause: <value>
InCall: 0
Ringinuse: 1
</pre>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
* Cause : A numeric cause code for why the channel was hung up.


=== Example ===
=== 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>
<pre>
Event: SoftHangupRequest
Event: QueueMemberPause
Privilege: call,all
Queue: <value>
Channel: Local/test-04@common-incoming-0000000a;2
MemberName: <value>
ChannelState: 6
Interface: <value>
ChannelStateDesc: Up
StateInterface: <value>
CallerIDNum: <unknown>
Membership: <value>
CallerIDName: <unknown>
Penalty: <value>
ConnectedLineNum: <unknown>
CallsTaken: <value>
ConnectedLineName: <unknown>
LastCall: <value>
Language: en
LastPause: <value>
AccountCode:  
InCall: <value>
Context: common-incoming
Status: <value>
Exten: test-04
Paused: <value>
Priority: 1
PausedReason: <value>
Uniqueid: 1447438716.468
Ringinuse: <value>
Linkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
Reason: <value>
Cause: 16
</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>
</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_QueueMemberPause
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupRequest
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_PauseQueueMember
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hangup
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_UnpauseQueueMember
 
== QueueMemberPenalty ==
Queue 멤버의 Penalty 값이 조정되었을 때 발생하는 이벤트이다.


== Status ==
Riased when a member's penalty is changed.
Action: Status response message.


Class : CALL
Class : AGENT
<pre>
<pre>
Event: Status
Event: QueueMemberPenalty
[ActionID:] <value>
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>
LastPause: <value>
Context: <value>
InCall: <value>
Exten: <value>
Status: <value>
Priority: <value>
Paused: <value>
Uniqueid: <value>
PausedReason: <value>
Linkedid: <value>
Ringinuse: <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>
</pre>
* ActionID
* 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
* Type : Type of channel.
: 1
* DNID : Dialed number identifier.
* Status : The numeric device state status of the queue member. See detail [Asterisk_status_code#status_define]
* TimeToHangup : Absolute lifetime of the channel.
: 0 : AST_DEVICE_UNKNOWN
* BridgeID : Identifier of the bridge the channel is in, may be empty if not in one.
: 1 : AST_DEVICE_NOT_INUSE
* Linkedid
: 2 : AST_DEVICE_INUSE
* Application : Application currently executing on the channel.
: 3 : AST_DEVICE_BUSY
* Data : Data given to the currently executing channel.
: 4 : AST_DEVICE_INVALID
* Nativeformats : Media formats the connected party is willing to send or receive.
: 5 : AST_DEVICE_UNAVAILABLE
* Readformat : Media formats that frames from the channel are received in.
: 6 : AST_DEVICE_RINGING
* Readtrans : Translation path for media received in native formats.
: 7 : AST_DEVICE_RINGINUSE
* Writeformat : Media formats that frames to the channel are accepted in.
: 8 : AST_DEVICE_ONHOLD
* Writetrans : Translation path for media sent to the connected party.
* Paused
* Callgroup : Configured call group on the channel.
: 0
* Pickupgroup : Configured pickup group on the channel.
: 1
* Seconds : Number of seconds the channel has been active.
* PausedReason : If set when paused, the reason the queue member was paused.
* Ringinuse
: 0
: 1


=== Example ===
=== Example ===
<pre>
<pre>
Event: Status
Event: QueueMemberPenalty
Privilege: Call
Privilege: agent,all
Channel: SIP/300-0000000d
StateInterface: sip/agent-01
ChannelState: 6
Queue: sales_1
ChannelStateDesc: Up
Status: 5
CallerIDNum: 300
Interface: sip/agent-01
CallerIDName: <unknown>
MemberName: sip/agent-01
ConnectedLineNum: <unknown>
LastPause: 0
ConnectedLineName: <unknown>
CallsTaken: 0
Language: en
Membership: dynamic
AccountCode:  
Penalty: 10
Context: sample_park
LastCall: 0
Exten: s
PausedReason:  
Priority: 2
Paused: 0
Uniqueid: 1481806807.29
InCall: 0
Linkedid: 1481806807.29
Ringinuse: 1
Type: SIP
 
DNID: 4001
Event: QueueMemberPenalty
EffectiveConnectedLineNum: <unknown>
Privilege: agent,all
EffectiveConnectedLineName: <unknown>
Queue: sales_1
TimeToHangup: 0
MemberName: sip/agent-01
BridgeID: 299de6ea-1dc7-4144-9e46-d6513723333e
StateInterface: sip/agent-01
Linkedid: 1481806807.29
Interface: sip/agent-01
Application: Park
Membership: dynamic
Data:  
Penalty: 10
Nativeformats: (ulaw)
LastCall: 1489264221
Readformat: ulaw
Ringinuse: 1
Readtrans:  
CallsTaken: 18
Writeformat: slin
Paused: 1
Writetrans: (slin@8000)->(ulaw@8000)
LastPause: 1489269763
Callgroup: 0
InCall: 0
Pickupgroup: 0
Status: 1
Seconds: 9
PausedReason: test
Variable: SIPCALLID=996831924@pluto.pchero21.com
Variable: SIPDOMAIN=pluto.pchero21.com
Variable: SIPURI=sip:300@10.1.27.60:5060
</pre>
</pre>


=== See also ===
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Status
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueMemberPenalty
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerAction_Status
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_QUEUE_MEMBER
 
== QueueMemberRemoved ==
Queue 에서 멤버가 Leave(삭제) 되었을 때 발생하는 이벤트이다.


== SussessfulAuth ==
Raised when a member is removed from the queue.
Raised when a request successfully authenticates with a service.


Class : SECURITY
Class : AGENT
<pre>
<pre>
Event: SuccessfulAuth
Event: QueueMemberRemoved
EventTV: <value>
Queue: <value>
Severity: <value>
MemberName: <value>
Service: <value>
Interface: <value>
EventVersion: <value>
StateInterface: <value>
AccountID: <value>
Membership: <value>
SessionID: <value>
Penalty: <value>
LocalAddress: <value>
CallsTaken: <value>
RemoteAddress: <value>
LastCall: <value>
UsingPassword: <value>
LastPause: <value>
[Module:] <value>
InCall: <value>
[SessionTV:] <value>
Status: <value>
Paused: <value>
PausedReason: <value>
Ringinuse: <value>
</pre>
</pre>
* EventTV : The time the event was detected.
* Queue : The name of the queue.
* Severity : A relative severity of the security event.
* MemberName : The name of the queue member.
: Informational
* Interface : The queue member's channel technology or location.
: Error
* StateInterface : Channel technology or location from which to read device state changes.
* Service : The Asterisk service that raised the security event.
* Membership
* EventVersion : The version of this event.
: dynamic
* AccountID : The Service account associated with the security event notification.
: realtime
* SessionID : A unique identifier for the session in the service that raised the event.
: static
* LocalAddress : The address of the Asterisk service that raised the security event.
* Penalty : The penalty associated with the queue member.
* RemoteAddress : The remote address of the entity that caused the security event to be raised.
* CallsTaken : The number of calls this queue member has serviced.
* UsingPassword : Whether or not the authentication attempt included a password.
* LastCall : The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
* Module : If available, the name of the module that raised the event.
* LastPause : The time when started last paused the queue member.
* SessionTV : The timestamp reported by the session.
* 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 ===
=== Example ===
<pre>
<pre>
Event: SuccessfulAuth
Event: QueueMemberRemoved
Privilege: security,all
Privilege: agent,all
EventTV: 2016-12-09T09:40:31.714+0000
StateInterface: sip/agent-01
Severity: Informational
Queue: sales_1
Service: AMI
Status: 5
EventVersion: 1
Interface: sip/agent-01
AccountID: admin
MemberName: sip/agent-01
SessionID: 0x1290100
LastPause: 0
LocalAddress: IPV4/TCP/0.0.0.0/5038
CallsTaken: 0
RemoteAddress: IPV4/TCP/127.0.0.1/55100
Membership: dynamic
UsingPassword: 0
Penalty: 10
SessionTV: 2016-12-09T09:40:31.714+0000
LastCall: 0
PausedReason:
Paused: 0
InCall: 0
Ringinuse: 1
</pre>
</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_QueueMemberRemoved
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_QueueMemberAdded
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Application_RemoveQueueMember


== Unhold ==
== QueueMemberRinginuse ==
Raised when a channel goes off hold.
Raised when a member's ringinuse setting is changed.


Class : CALL
Class : AGENT
<pre>
<pre>
Event: Unhold
Event: QueueMemberRinginuse
Channel: <value>
Queue: <value>
ChannelState: <value>
MemberName: <value>
ChannelStateDesc: <value>
Interface: <value>
CallerIDNum: <value>
StateInterface: <value>
CallerIDName: <value>
Membership: <value>
ConnectedLineNum: <value>
Penalty: <value>
ConnectedLineName: <value>
CallsTaken: <value>
AccountCode: <value>
LastCall: <value>
Context: <value>
LastPause: <value>
Exten: <value>
InCall: <value>
Priority: <value>
Status: <value>
Uniqueid: <value>
Paused: <value>
Linkedid: <value>
PausedReason: <value>
Ringinuse: <value>
</pre>
</pre>
* Channel
* Queue : The name of the queue.
* ChannelState
* MemberName : The name of the queue member.
* ChannelStateDesc
* Interface : The queue member's channel technology  or location.
* CallerIDNum
* StateInterface : Channel technology or location from which to read device state changes.
* CallerIDName
* Membership
* ConnectedLineNum
: dynamic
* ConnectedLineName
: realtime
* AccountCode
: static
* Context
* Penalty : The penalty associated with the queue member.
* Exten
* CallsTaken : The number of calls this queue member has serviced.
* Priority
* LastCall : The time this member last took a call, expressed in secods since 00:00, Jan 1, 1970 UTC.
* Uniqueid
* LastPause : The time when started last paused the queue member.
* Linkedid
* 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 ===
=== Example ===
<pre>
<pre>
Event: Unhold
Event: QueueMemberRinginuse
Privilege: call,all
Privilege: agent,all
Channel: SIP/agent-01-00000002
Queue: sales_1
ChannelState: 6
MemberName: sip/agent-01
ChannelStateDesc: Up
StateInterface: sip/agent-01
CallerIDNum: agent-01
Interface: sip/agent-01
CallerIDName: <unknown>
Membership: dynamic
ConnectedLineNum: <unknown>
Penalty: 10
ConnectedLineName: <unknown>
LastCall: 1489264221
Language: en
Ringinuse: 1
AccountCode:  
CallsTaken: 18
Context: sample_park
Paused: 1
Exten: s
LastPause: 1489269763
Priority: 2
InCall: 0
Uniqueid: 1481705835.4
Status: 1
Linkedid: 1481705835.4
PausedReason: test
</pre>
</pre>


=== See also ===
== QueueMemberStatus ==
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Unhold
Queue 의 멤버 상태 정보가 변경되었을 때, 발생한다.
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_Hold


== UnParkedCall ==
Class : AGENT
Raised when a chaneel leaves a parking lot because it was retrieved from the parking lot and reconnected.
 
Class : Call
<pre>
<pre>
Event: UnParkedCall
Event: QueueMemberStatus
ParkeeChannel: <value>
Queue: <value>
ParkeeChannelState: <value>
MemberName: <value>
ParkeeChannelStateDesc: <value>
Interface: <value>
ParkeeCallerIDNum: <value>
StateInterface: <value>
ParkeeCallerIDName: <value>
Membership: <value>
ParkeeConnectedLineNum: <value>
Penalty: <value>
ParkeeConnectedLineName: <value>
CallsTaken: <value>
ParkeeAccountCode: <value>
LastCall: <value>
ParkeeContext: <value>
Status: <value>
ParkeeExten: <value>
Paused: <value>
ParkeePriority: <value>
Ringinuse: <value>
ParkeeUniqueid: <value>
</pre>
ParkeeLinkedid: <value>
* Queue : The name of the queue.
ParkerChannel: <value>
* MemberName : The name of the queue member.
ParkerChannelState: <value>
* Interface : The queue member's channel technology or location.
ParkerChannelStateDesc: <value>
* StateInterface : Channel technology or location from which to read device state changes.
ParkerCallerIDNum: <value>
* Membership
ParkerCallerIDName: <value>
: dynamic
ParkerConnectedLineNum: <value>
: realtime
ParkerConnectedLineName: <value>
: static
ParkerAccountCode: <value>
* Penalty : The penalty associated with the queue member.
ParkerContext: <value>
* CallsTaken : The number of calls this queue member has serviced.
ParkerExten: <value>
* LastCall : The time this member last took a call, expressed in seconds since 00:00, Jan 1, 1970 UTC.
ParkerPriority: <value>
* LastPause : The time when started last paused the queue member.
ParkerUniqueid: <value>
* InCall : Set to 1 if member is in call. Set to 0 after LastCall time is updated.
ParkerLinkedid: <value>
: 0
ParkerDialString: <value>
: 1
Parkinglot: <value>
* Status - The numeric device state status of the queue member.
ParkingSpace: <value>
: 0 : AST_DEVICE_UNKNOWN
ParkingTimeout: <value>
: 1 : AST_DEVICE_NOT_INUSE
ParkingDuration: <value>
: 2 : AST_DEVICE_INUSE
RetrieverChannel: <value>
: 3 : AST_DEVICE_BUSY
RetrieverChannelState: <value>
: 4 : AST_DEVICE_INVALID
RetrieverChannelStateDesc: <value>
: 5 : AST_DEVICE_UNAVAILABLE
RetrieverCallerIDNum: <value>
: 6 : AST_DEVICE_RINGING
RetrieverCallerIDName: <value>
: 7 : AST_DEVICE_RINGINUSE
RetrieverConnectedLineNum: <value>
: 8 : AST_DEVICE_ONHOLD
RetrieverConnectedLineName: <value>
* Paused
RetrieverAccountCode: <value>
: 0 : Not paused.
RetrieverContext: <value>
: 1 : Paused.
RetrieverExten: <value>
* PauseReason : If set when paused, the reason the queue member was paused.
RetrieverPriority: <value>
* Ringinuse
RetrieverUniqueid: <value>
: 0
RetrieverLinkedid: <value>
: 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>
</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 ==
=== See also ===
Raised when a variable local to the gosub stack frame is set due to a subroutine call.
* 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>


Class : DIALPLAN
== 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>
<pre>
Event: VarSet
Event: QueueSummary
Channel: <value>
Queue: sales_1
ChannelState: <value>
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>
ChannelStateDesc: <value>
CallerIDNum: <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>
LocalStationID: <value>
Value: <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