sipcallobs

package
v1.45.5 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: Apache-2.0 Imports: 1 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Code generated; DO NOT EDIT.

Index

Constants

View Source
const Version_GQ98NIG = 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))
	CallTx
}

func NewNoopCallReporter

func NewNoopCallReporter() CallReporter

type CallStatus

type CallStatus string
const (
	CallStatusUndefined         CallStatus = ""
	CallStatusActive            CallStatus = "active"
	CallStatusCallIncoming      CallStatus = "call_incoming"
	CallStatusParticipantJoined CallStatus = "participant_joined"
	CallStatusDisconnected      CallStatus = "disconnected"
	CallStatusError             CallStatus = "error"
	CallStatusPending           CallStatus = "pending"
	CallStatusSuccess           CallStatus = "success"
	CallStatusFailed            CallStatus = "failed"
)

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 {
	ReportStartTime(v time.Time)
	ReportEndTime(v time.Time)
	ReportDuration(v uint64)
	ReportDurationMinutes(v uint16)
	ReportTrunkID(v string)
	ReportTrunkType(v CallTrunkType)
	ReportDispatchID(v string)
	ReportToNumber(v string)
	ReportToHost(v string)
	ReportFromNumber(v string)
	ReportFromHost(v string)
	ReportNumberType(v CallNumberType)
	ReportCountryCode(v string)
	ReportDirection(v CallDirection)
	ReportTransport(v CallTransport)
	ReportProviderCallID(v string)
	ReportProviderName(v string)
	ReportSIPCallID(v string)
	ReportRoomID(v string)
	ReportRoomName(v string)
	ReportParticipantIdentity(v string)
	ReportError(v string)
	ReportStatus(v CallStatus)
	ReportResponseCode(v uint16)
	ReportDisconnectReason(v string)
	ReportTransferID(v string)
	ReportTransferTo(v string)
	ReportTransferDuration(v uint32)
	ReportTransferStatus(v CallTransferStatus)
	ReportTransferStatusCode(v uint16)
	ReportTransferError(v string)
	ReportCodec(v string)
	ReportRegion(v string)
	ReportPcapLink(v string)
	ReportAttributes(v string)
	ReportFeatures(v uint16)
	ReportMediaEncryptionSettings(v CallMediaEncryptionSettings)
	ReportMediaEncryption(v string)
}

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)
	ProjectTx
}

func NewNoopProjectReporter

func NewNoopProjectReporter() ProjectReporter

type ProjectTx

type ProjectTx interface{}

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