Asterisk ami-event: Difference between revisions

From 탱이의 잡동사니
Jump to navigation Jump to search
Line 2,453: Line 2,453:
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPop
* 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+ManagerEvent_HangupHandlerPush
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL
== HangupHandlerPush ==
Raised when a hangup handler is added to the handler stack by the CHANNEL() function.
Class : DIALPLAN
<pre>
Event: HangupHandlerPush
Channel: <value>
ChannelState: <value>
ChannelStateDesc: <value>
CallerIDNum: <value>
CallerIDName: <value>
ConnectedLineNum: <value>
ConnectedLineName: <value>
AccountCode: <value>
Context: <value>
Exten: <value>
Priority: <value>
Uniqueid: <value>
Linkedid: <value>
Handler: <value>
</pre>
* Channel
* ChannelState
* ChannelStateDesc
* CallerIDNum
* CallerIDName
* ConnectedLineNum
* ConnectedLineName
* AccountCode
* Context
* Exten
* Priority
* Uniqueid
* Linkedid
* Handler : Hangup handler parameter string passed to the Gosub application.
=== See also ===
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPush
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+ManagerEvent_HangupHandlerPop
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL
* https://wiki.asterisk.org/wiki/display/AST/Asterisk+14+Function_CHANNEL



Revision as of 14:46, 20 February 2017

Overview

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

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

Common

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

Channel state description

Down
Rsrvd
OffHook
Dialing
Ring
Ringing
Up
Busy
Dialing Offhook
Pre-ring
Unknown

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

Hangup cause 코드 정리.

/*! \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

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>

See also

AgentLogoff

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.

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

See also

AgentComplete

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.

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.

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.

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.

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.

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.

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

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

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

Event: DialBegin
Privilege: call,all
DestChannel: SIP/trunk_test_1-0000019a
DestChannelState: 0
DestChannelStateDesc: Down
DestCallerIDNum: <unknown>
DestCallerIDName: <unknown>
DestConnectedLineNum: <unknown>
DestConnectedLineName: <unknown>
DestLanguage: en
DestAccountCode: 
DestContext: from_provider
DestExten: 
DestPriority: 1
DestUniqueid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DestLinkedid: 58f87007-f6a8-4fbe-8b21-cc1d3fb7f967
DialString: 1237764000@trunk_test_1
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

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.
  • 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

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.
  • 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

HangupRequest

Hangup request 가 왔음을 알려준다.

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>

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

LocalBridge

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

LocalOptimizationBegin

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

LocalOptimizationEnd

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

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

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

Parkinglot

Action: Parkinglots response message.

Example

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

PeerEntry

Action: SIPpeers response message 이다.

Example

Event: PeerEntry
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: 

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

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.

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
Queue: Dragon
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
MemberName: Local/603-test-mac_address-what-ever-002-1@DialLine/n
Membership: dynamic
Penalty: 0
CallsTaken: 0
LastCall: 0
Status: 1
Paused: 0

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: 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

See also

QueueMemberPenalty

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

Example

Event: QueueMemberPenalty
Privilege: agent,all
Queue: Dragon
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
Penalty: 100

QueueMemberRemoved

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

Example

Event: QueueMemberRemoved
Privilege: agent,all
Queue: Dragon
Location: Local/603-test-mac_address-what-ever-002-1@DialLine/n
MemberName: dummy_name

QueueMemberRinginuse

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 : 현재 평균 큐 대기 시간.
  • Weight : 큐의 우선 순위. 높은(많은) 우선순위를 가진 큐의 콜이 낮은(적은) 우선순위를 가진 큐보다 먼저 분배될 확률이 높아진다.
  • ServiceLevel : ServiceLevelPerf 를 확인하는 Interval time(sec).
  • ServicelevelPerf : SerivceLevel 시간동안의 콜 응답률(%). 응답 콜 /전체 인입 콜 * 100.
  • Abandoned : 큐에서 대기중에 분배되지 못하고 끊어진 콜.
  • TalkTikme : 분배 후 평균 통화시간.
  • 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

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

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

RTCPReceived

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

RTCPSent

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

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

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

SussessfulAuth

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

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

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

See also