Help us shape the future of Go! Take the 2026 Go Developer Survey

sipcallobs

package
v1.53.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Code generated by cloud-observability; DO NOT EDIT.

Index

Constants

View Source
const Version_D84GORG = true

Variables

This section is empty.

Functions

This section is empty.

Types

type CallDirection

type CallDirection string
const (
	CallDirectionUndefined CallDirection = ""
	CallDirectionUnknown   CallDirection = "unknown"
	CallDirectionInbound   CallDirection = "inbound"
	CallDirectionOutbound  CallDirection = "outbound"
)

type CallMediaEncryptionSettings

type CallMediaEncryptionSettings string
const (
	CallMediaEncryptionSettingsUndefined CallMediaEncryptionSettings = ""
	CallMediaEncryptionSettingsDisable   CallMediaEncryptionSettings = "disable"
	CallMediaEncryptionSettingsAllow     CallMediaEncryptionSettings = "allow"
	CallMediaEncryptionSettingsRequire   CallMediaEncryptionSettings = "require"
)

type CallNumberType

type CallNumberType string
const (
	CallNumberTypeUndefined CallNumberType = ""
	CallNumberTypeTollFree  CallNumberType = "toll_free"
	CallNumberTypeRegular   CallNumberType = "regular"
)

type CallReporter

type CallReporter interface {
	RegisterFunc(func(ts time.Time, tx CallTx) bool)
	Tx(func(tx CallTx))
	TxAt(time.Time, func(tx CallTx))
	// contains filtered or unexported methods
}

func NewNoopCallReporter

func NewNoopCallReporter() CallReporter

type CallStatus

type CallStatus string
const (
	CallStatusUndefined CallStatus = ""
	CallStatusActive    CallStatus = "active"
	// Deprecated: removed from schema; retained for compatibility with stored data.
	CallStatusCallIncoming CallStatus = "call_incoming"
	// Deprecated: removed from schema; retained for compatibility with stored data.
	CallStatusParticipantJoined CallStatus = "participant_joined"
	// Deprecated: removed from schema; retained for compatibility with stored data.
	CallStatusDisconnected CallStatus = "disconnected"
	// Deprecated: removed from schema; retained for compatibility with stored data.
	CallStatusError CallStatus = "error"
	// Deprecated: removed from schema; retained for compatibility with stored data.
	CallStatusPending CallStatus = "pending"
	// Deprecated: removed from schema; retained for compatibility with stored data.
	CallStatusSuccess    CallStatus = "success"
	CallStatusFailed     CallStatus = "failed"
	CallStatusConnecting CallStatus = "connecting"
	CallStatusCompleted  CallStatus = "completed"
)

type CallTransferStatus

type CallTransferStatus string
const (
	CallTransferStatusUndefined CallTransferStatus = ""
	CallTransferStatusOngoing   CallTransferStatus = "ongoing"
	CallTransferStatusSuccess   CallTransferStatus = "success"
	CallTransferStatusFailed    CallTransferStatus = "failed"
)

type CallTransport

type CallTransport string
const (
	CallTransportUndefined CallTransport = ""
	CallTransportUDP       CallTransport = "udp"
	CallTransportTCP       CallTransport = "tcp"
	CallTransportTLS       CallTransport = "tls"
)

type CallTrunkType

type CallTrunkType string
const (
	CallTrunkTypeUndefined CallTrunkType = ""
	CallTrunkTypeInternal  CallTrunkType = "internal"
	CallTrunkTypeExternal  CallTrunkType = "external"
)

type CallTx

type CallTx interface {
	Project() ProjectTx
	// contains filtered or unexported methods
}

type KeyResolver

type KeyResolver interface {
	Resolve(string)
	Reset()
}

type ProjectReporter

type ProjectReporter interface {
	RegisterFunc(func(ts time.Time, tx ProjectTx) bool)
	Tx(func(tx ProjectTx))
	TxAt(time.Time, func(tx ProjectTx))
	WithCall(id string) CallReporter
	WithDeferredCall() (CallReporter, KeyResolver)
	// contains filtered or unexported methods
}

func NewNoopProjectReporter

func NewNoopProjectReporter() ProjectReporter

type ProjectTx

type ProjectTx interface {
	// contains filtered or unexported methods
}

type Reporter

type Reporter interface {
	WithProject(id string) ProjectReporter
	WithDeferredProject() (ProjectReporter, KeyResolver)
}

func NewNoopReporter

func NewNoopReporter() Reporter

type Rollup

type Rollup string
const (
	RollupUndefined      Rollup = ""
	RollupProject        Rollup = "project"
	RollupCallIndex      Rollup = "call_index"
	RollupStartTimeIndex Rollup = "start_time_index"
	RollupEndTimeIndex   Rollup = "end_time_index"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL