Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventType ¶
type EventType string
var ( ApplicationMoveFailed EventType = "ApplicationMoveFailed" ApplicationReplaced EventType = "ApplicationReplaced" BridgeAttendedTransfer EventType = "BridgeAttendedTransfer" BridgeBlindTransfer EventType = "BridgeBlindTransfer" BridgeCreated EventType = "BridgeCreated" BridgeDestroyed EventType = "BridgeDestroyed" BridgeMerged EventType = "BridgeMerged" BridgeVideoSourceChanged EventType = "BridgeVideoSourceChanged" ChannelCallerId EventType = "ChannelCallerId" ChannelConnectedLine EventType = "ChannelConnectedLine" ChannelCreated EventType = "ChannelCreated" ChannelDestroyed EventType = "ChannelDestroyed" ChannelDialplan EventType = "ChannelDialplan" ChannelDtmfReceived EventType = "ChannelDtmfReceived" ChannelEnteredBridge EventType = "ChannelEnteredBridge" ChannelHangupRequest EventType = "ChannelHangupRequest" ChannelHold EventType = "ChannelHold" ChannelLeftBridge EventType = "ChannelLeftBridge" ChannelStateChange EventType = "ChannelStateChange" ChannelTalkingFinished EventType = "ChannelTalkingFinished" ChannelTalkingStarted EventType = "ChannelTalkingStarted" ChannelUnhold EventType = "ChannelUnhold" ChannelUserevent EventType = "ChannelUserevent" ChannelVarset EventType = "ChannelVarset" ContactInfo EventType = "ContactInfo" ContactStatusChange EventType = "ContactStatusChange" DeviceStateChanged EventType = "DeviceStateChanged" Dial EventType = "Dial" EndpointStateChange EventType = "EndpointStateChange" Event EventType = "Event" Message EventType = "Message" MissingParams EventType = "MissingParams" Peer EventType = "Peer" PeerStatusChange EventType = "PeerStatusChange" PlaybackContinuing EventType = "PlaybackContinuing" PlaybackFinished EventType = "PlaybackFinished" PlaybackStarted EventType = "PlaybackStarted" RecordingFailed EventType = "RecordingFailed" RecordingFinished EventType = "RecordingFinished" RecordingStarted EventType = "RecordingStarted" StasisEnd EventType = "StasisEnd" StasisStart EventType = "StasisStar1t" TextMessageReceived EventType = "TextMessageReceived" )
type StasisEvent ¶
type StasisEvent struct {
Type EventType `json:"type"`
Node string `json:"asterisk_id"`
Application string `json:"application"`
TimeStamp string `json:"timestamp"`
Args []string `json:"args"`
Cause int `json:"cause,omitempty"`
Channel channel.ChannelData
// contains filtered or unexported fields
}
func (*StasisEvent) GetApp ¶
func (evt *StasisEvent) GetApp() string
func (*StasisEvent) GetNode ¶
func (evt *StasisEvent) GetNode() string
func (*StasisEvent) GetType ¶
func (evt *StasisEvent) GetType() EventType
func (*StasisEvent) IsPropagationStopped ¶
func (evt *StasisEvent) IsPropagationStopped() bool
func (*StasisEvent) StopPropagation ¶
func (evt *StasisEvent) StopPropagation(p bool)
Click to show internal directories.
Click to hide internal directories.