rfc2866

package
v0.0.0-...-70e9e40 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2019 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	SipFromTag_Type        radius.Type = 101
	SipMethod_Type         radius.Type = 102
	SipResponseCode_Type   radius.Type = 103
	SipToTag_Type          radius.Type = 104
	SipCallID_Type         radius.Type = 105
	SipCallerID_Type       radius.Type = 110
	SipCalleeID_Type       radius.Type = 111
	SipDstNumber_Type      radius.Type = 112
	SipEndReason_Type      radius.Type = 113
	SipSession_Type        radius.Type = 114
	SipCallReason_Type     radius.Type = 115
	SipCallDuration_Type   radius.Type = 116
	SipCallMSDuration_Type radius.Type = 117
	SipCallSetuptime_Type  radius.Type = 118
	SipCallCreated_Type    radius.Type = 119
	SipAcctStatusType_Type radius.Type = 120
	SipServiceType_Type    radius.Type = 122
	SipEventTimestamp_Type radius.Type = 123
	SipAcctSessionID_Type  radius.Type = 124
)

Variables

View Source
var SipCallDuration_Strings = map[SipCallDuration]string{}
View Source
var SipCallMSDuration_Strings = map[SipCallMSDuration]string{}
View Source
var SipCallSetuptime_Strings = map[SipCallSetuptime]string{}
View Source
var SipServiceType_Strings = map[SipServiceType]string{
	SipServiceType_Value_SipSession: "Sip-Session",
}

Functions

func SipAcctSessionID_Add

func SipAcctSessionID_Add(p *radius.Packet, value []byte) (err error)

func SipAcctSessionID_AddString

func SipAcctSessionID_AddString(p *radius.Packet, value string) (err error)

func SipAcctSessionID_Del

func SipAcctSessionID_Del(p *radius.Packet)

func SipAcctSessionID_Get

func SipAcctSessionID_Get(p *radius.Packet) (value []byte)

func SipAcctSessionID_GetString

func SipAcctSessionID_GetString(p *radius.Packet) (value string)

func SipAcctSessionID_GetStrings

func SipAcctSessionID_GetStrings(p *radius.Packet) (values []string, err error)

func SipAcctSessionID_Gets

func SipAcctSessionID_Gets(p *radius.Packet) (values [][]byte, err error)

func SipAcctSessionID_Lookup

func SipAcctSessionID_Lookup(p *radius.Packet) (value []byte, err error)

func SipAcctSessionID_LookupString

func SipAcctSessionID_LookupString(p *radius.Packet) (value string, err error)

func SipAcctSessionID_Set

func SipAcctSessionID_Set(p *radius.Packet, value []byte) (err error)

func SipAcctSessionID_SetString

func SipAcctSessionID_SetString(p *radius.Packet, value string) (err error)

func SipAcctStatusType_Add

func SipAcctStatusType_Add(p *radius.Packet, value SipAcctStatusType) (err error)

func SipAcctStatusType_Del

func SipAcctStatusType_Del(p *radius.Packet)

func SipAcctStatusType_Set

func SipAcctStatusType_Set(p *radius.Packet, value SipAcctStatusType) (err error)

func SipCallCreated_Add

func SipCallCreated_Add(p *radius.Packet, value []byte) (err error)

func SipCallCreated_AddString

func SipCallCreated_AddString(p *radius.Packet, value string) (err error)

func SipCallCreated_Del

func SipCallCreated_Del(p *radius.Packet)

func SipCallCreated_Get

func SipCallCreated_Get(p *radius.Packet) (value []byte)

func SipCallCreated_GetString

func SipCallCreated_GetString(p *radius.Packet) (value string)

func SipCallCreated_GetStrings

func SipCallCreated_GetStrings(p *radius.Packet) (values []string, err error)

func SipCallCreated_Gets

func SipCallCreated_Gets(p *radius.Packet) (values [][]byte, err error)

func SipCallCreated_Lookup

func SipCallCreated_Lookup(p *radius.Packet) (value []byte, err error)

func SipCallCreated_LookupString

func SipCallCreated_LookupString(p *radius.Packet) (value string, err error)

func SipCallCreated_Set

func SipCallCreated_Set(p *radius.Packet, value []byte) (err error)

func SipCallCreated_SetString

func SipCallCreated_SetString(p *radius.Packet, value string) (err error)

func SipCallDuration_Add

func SipCallDuration_Add(p *radius.Packet, value SipCallDuration) (err error)

func SipCallDuration_Del

func SipCallDuration_Del(p *radius.Packet)

func SipCallDuration_Set

func SipCallDuration_Set(p *radius.Packet, value SipCallDuration) (err error)

func SipCallID_Add

func SipCallID_Add(p *radius.Packet, value []byte) (err error)

func SipCallID_AddString

func SipCallID_AddString(p *radius.Packet, value string) (err error)

func SipCallID_Del

func SipCallID_Del(p *radius.Packet)

func SipCallID_Get

func SipCallID_Get(p *radius.Packet) (value []byte)

func SipCallID_GetString

func SipCallID_GetString(p *radius.Packet) (value string)

func SipCallID_GetStrings

func SipCallID_GetStrings(p *radius.Packet) (values []string, err error)

func SipCallID_Gets

func SipCallID_Gets(p *radius.Packet) (values [][]byte, err error)

func SipCallID_Lookup

func SipCallID_Lookup(p *radius.Packet) (value []byte, err error)

func SipCallID_LookupString

func SipCallID_LookupString(p *radius.Packet) (value string, err error)

func SipCallID_Set

func SipCallID_Set(p *radius.Packet, value []byte) (err error)

func SipCallID_SetString

func SipCallID_SetString(p *radius.Packet, value string) (err error)

func SipCallMSDuration_Add

func SipCallMSDuration_Add(p *radius.Packet, value SipCallMSDuration) (err error)

func SipCallMSDuration_Del

func SipCallMSDuration_Del(p *radius.Packet)

func SipCallMSDuration_Set

func SipCallMSDuration_Set(p *radius.Packet, value SipCallMSDuration) (err error)

func SipCallReason_Add

func SipCallReason_Add(p *radius.Packet, value []byte) (err error)

func SipCallReason_AddString

func SipCallReason_AddString(p *radius.Packet, value string) (err error)

func SipCallReason_Del

func SipCallReason_Del(p *radius.Packet)

func SipCallReason_Get

func SipCallReason_Get(p *radius.Packet) (value []byte)

func SipCallReason_GetString

func SipCallReason_GetString(p *radius.Packet) (value string)

func SipCallReason_GetStrings

func SipCallReason_GetStrings(p *radius.Packet) (values []string, err error)

func SipCallReason_Gets

func SipCallReason_Gets(p *radius.Packet) (values [][]byte, err error)

func SipCallReason_Lookup

func SipCallReason_Lookup(p *radius.Packet) (value []byte, err error)

func SipCallReason_LookupString

func SipCallReason_LookupString(p *radius.Packet) (value string, err error)

func SipCallReason_Set

func SipCallReason_Set(p *radius.Packet, value []byte) (err error)

func SipCallReason_SetString

func SipCallReason_SetString(p *radius.Packet, value string) (err error)

func SipCallSetuptime_Add

func SipCallSetuptime_Add(p *radius.Packet, value SipCallSetuptime) (err error)

func SipCallSetuptime_Del

func SipCallSetuptime_Del(p *radius.Packet)

func SipCallSetuptime_Set

func SipCallSetuptime_Set(p *radius.Packet, value SipCallSetuptime) (err error)

func SipCalleeID_Add

func SipCalleeID_Add(p *radius.Packet, value []byte) (err error)

func SipCalleeID_AddString

func SipCalleeID_AddString(p *radius.Packet, value string) (err error)

func SipCalleeID_Del

func SipCalleeID_Del(p *radius.Packet)

func SipCalleeID_Get

func SipCalleeID_Get(p *radius.Packet) (value []byte)

func SipCalleeID_GetString

func SipCalleeID_GetString(p *radius.Packet) (value string)

func SipCalleeID_GetStrings

func SipCalleeID_GetStrings(p *radius.Packet) (values []string, err error)

func SipCalleeID_Gets

func SipCalleeID_Gets(p *radius.Packet) (values [][]byte, err error)

func SipCalleeID_Lookup

func SipCalleeID_Lookup(p *radius.Packet) (value []byte, err error)

func SipCalleeID_LookupString

func SipCalleeID_LookupString(p *radius.Packet) (value string, err error)

func SipCalleeID_Set

func SipCalleeID_Set(p *radius.Packet, value []byte) (err error)

func SipCalleeID_SetString

func SipCalleeID_SetString(p *radius.Packet, value string) (err error)

func SipCallerID_Add

func SipCallerID_Add(p *radius.Packet, value []byte) (err error)

func SipCallerID_AddString

func SipCallerID_AddString(p *radius.Packet, value string) (err error)

func SipCallerID_Del

func SipCallerID_Del(p *radius.Packet)

func SipCallerID_Get

func SipCallerID_Get(p *radius.Packet) (value []byte)

func SipCallerID_GetString

func SipCallerID_GetString(p *radius.Packet) (value string)

func SipCallerID_GetStrings

func SipCallerID_GetStrings(p *radius.Packet) (values []string, err error)

func SipCallerID_Gets

func SipCallerID_Gets(p *radius.Packet) (values [][]byte, err error)

func SipCallerID_Lookup

func SipCallerID_Lookup(p *radius.Packet) (value []byte, err error)

func SipCallerID_LookupString

func SipCallerID_LookupString(p *radius.Packet) (value string, err error)

func SipCallerID_Set

func SipCallerID_Set(p *radius.Packet, value []byte) (err error)

func SipCallerID_SetString

func SipCallerID_SetString(p *radius.Packet, value string) (err error)

func SipDstNumber_Add

func SipDstNumber_Add(p *radius.Packet, value []byte) (err error)

func SipDstNumber_AddString

func SipDstNumber_AddString(p *radius.Packet, value string) (err error)

func SipDstNumber_Del

func SipDstNumber_Del(p *radius.Packet)

func SipDstNumber_Get

func SipDstNumber_Get(p *radius.Packet) (value []byte)

func SipDstNumber_GetString

func SipDstNumber_GetString(p *radius.Packet) (value string)

func SipDstNumber_GetStrings

func SipDstNumber_GetStrings(p *radius.Packet) (values []string, err error)

func SipDstNumber_Gets

func SipDstNumber_Gets(p *radius.Packet) (values [][]byte, err error)

func SipDstNumber_Lookup

func SipDstNumber_Lookup(p *radius.Packet) (value []byte, err error)

func SipDstNumber_LookupString

func SipDstNumber_LookupString(p *radius.Packet) (value string, err error)

func SipDstNumber_Set

func SipDstNumber_Set(p *radius.Packet, value []byte) (err error)

func SipDstNumber_SetString

func SipDstNumber_SetString(p *radius.Packet, value string) (err error)

func SipEndReason_Add

func SipEndReason_Add(p *radius.Packet, value []byte) (err error)

func SipEndReason_AddString

func SipEndReason_AddString(p *radius.Packet, value string) (err error)

func SipEndReason_Del

func SipEndReason_Del(p *radius.Packet)

func SipEndReason_Get

func SipEndReason_Get(p *radius.Packet) (value []byte)

func SipEndReason_GetString

func SipEndReason_GetString(p *radius.Packet) (value string)

func SipEndReason_GetStrings

func SipEndReason_GetStrings(p *radius.Packet) (values []string, err error)

func SipEndReason_Gets

func SipEndReason_Gets(p *radius.Packet) (values [][]byte, err error)

func SipEndReason_Lookup

func SipEndReason_Lookup(p *radius.Packet) (value []byte, err error)

func SipEndReason_LookupString

func SipEndReason_LookupString(p *radius.Packet) (value string, err error)

func SipEndReason_Set

func SipEndReason_Set(p *radius.Packet, value []byte) (err error)

func SipEndReason_SetString

func SipEndReason_SetString(p *radius.Packet, value string) (err error)

func SipEventTimestamp_Add

func SipEventTimestamp_Add(p *radius.Packet, value time.Time) (err error)

func SipEventTimestamp_Del

func SipEventTimestamp_Del(p *radius.Packet)

func SipEventTimestamp_Get

func SipEventTimestamp_Get(p *radius.Packet) (value time.Time)

func SipEventTimestamp_Gets

func SipEventTimestamp_Gets(p *radius.Packet) (values []time.Time, err error)

func SipEventTimestamp_Lookup

func SipEventTimestamp_Lookup(p *radius.Packet) (value time.Time, err error)

func SipEventTimestamp_Set

func SipEventTimestamp_Set(p *radius.Packet, value time.Time) (err error)

func SipFromTag_Add

func SipFromTag_Add(p *radius.Packet, value []byte) (err error)

func SipFromTag_AddString

func SipFromTag_AddString(p *radius.Packet, value string) (err error)

func SipFromTag_Del

func SipFromTag_Del(p *radius.Packet)

func SipFromTag_Get

func SipFromTag_Get(p *radius.Packet) (value []byte)

func SipFromTag_GetString

func SipFromTag_GetString(p *radius.Packet) (value string)

func SipFromTag_GetStrings

func SipFromTag_GetStrings(p *radius.Packet) (values []string, err error)

func SipFromTag_Gets

func SipFromTag_Gets(p *radius.Packet) (values [][]byte, err error)

func SipFromTag_Lookup

func SipFromTag_Lookup(p *radius.Packet) (value []byte, err error)

func SipFromTag_LookupString

func SipFromTag_LookupString(p *radius.Packet) (value string, err error)

func SipFromTag_Set

func SipFromTag_Set(p *radius.Packet, value []byte) (err error)

func SipFromTag_SetString

func SipFromTag_SetString(p *radius.Packet, value string) (err error)

func SipMethod_Add

func SipMethod_Add(p *radius.Packet, value SipMethod) (err error)

func SipMethod_Del

func SipMethod_Del(p *radius.Packet)

func SipMethod_Set

func SipMethod_Set(p *radius.Packet, value SipMethod) (err error)

func SipResponseCode_Add

func SipResponseCode_Add(p *radius.Packet, value []byte) (err error)

func SipResponseCode_AddString

func SipResponseCode_AddString(p *radius.Packet, value string) (err error)

func SipResponseCode_Del

func SipResponseCode_Del(p *radius.Packet)

func SipResponseCode_Get

func SipResponseCode_Get(p *radius.Packet) (value []byte)

func SipResponseCode_GetString

func SipResponseCode_GetString(p *radius.Packet) (value string)

func SipResponseCode_GetStrings

func SipResponseCode_GetStrings(p *radius.Packet) (values []string, err error)

func SipResponseCode_Gets

func SipResponseCode_Gets(p *radius.Packet) (values [][]byte, err error)

func SipResponseCode_Lookup

func SipResponseCode_Lookup(p *radius.Packet) (value []byte, err error)

func SipResponseCode_LookupString

func SipResponseCode_LookupString(p *radius.Packet) (value string, err error)

func SipResponseCode_Set

func SipResponseCode_Set(p *radius.Packet, value []byte) (err error)

func SipResponseCode_SetString

func SipResponseCode_SetString(p *radius.Packet, value string) (err error)

func SipServiceType_Add

func SipServiceType_Add(p *radius.Packet, value SipServiceType) (err error)

func SipServiceType_Del

func SipServiceType_Del(p *radius.Packet)

func SipServiceType_Set

func SipServiceType_Set(p *radius.Packet, value SipServiceType) (err error)

func SipSession_Add

func SipSession_Add(p *radius.Packet, value []byte) (err error)

func SipSession_AddString

func SipSession_AddString(p *radius.Packet, value string) (err error)

func SipSession_Del

func SipSession_Del(p *radius.Packet)

func SipSession_Get

func SipSession_Get(p *radius.Packet) (value []byte)

func SipSession_GetString

func SipSession_GetString(p *radius.Packet) (value string)

func SipSession_GetStrings

func SipSession_GetStrings(p *radius.Packet) (values []string, err error)

func SipSession_Gets

func SipSession_Gets(p *radius.Packet) (values [][]byte, err error)

func SipSession_Lookup

func SipSession_Lookup(p *radius.Packet) (value []byte, err error)

func SipSession_LookupString

func SipSession_LookupString(p *radius.Packet) (value string, err error)

func SipSession_Set

func SipSession_Set(p *radius.Packet, value []byte) (err error)

func SipSession_SetString

func SipSession_SetString(p *radius.Packet, value string) (err error)

func SipToTag_Add

func SipToTag_Add(p *radius.Packet, value []byte) (err error)

func SipToTag_AddString

func SipToTag_AddString(p *radius.Packet, value string) (err error)

func SipToTag_Del

func SipToTag_Del(p *radius.Packet)

func SipToTag_Get

func SipToTag_Get(p *radius.Packet) (value []byte)

func SipToTag_GetString

func SipToTag_GetString(p *radius.Packet) (value string)

func SipToTag_GetStrings

func SipToTag_GetStrings(p *radius.Packet) (values []string, err error)

func SipToTag_Gets

func SipToTag_Gets(p *radius.Packet) (values [][]byte, err error)

func SipToTag_Lookup

func SipToTag_Lookup(p *radius.Packet) (value []byte, err error)

func SipToTag_LookupString

func SipToTag_LookupString(p *radius.Packet) (value string, err error)

func SipToTag_Set

func SipToTag_Set(p *radius.Packet, value []byte) (err error)

func SipToTag_SetString

func SipToTag_SetString(p *radius.Packet, value string) (err error)

Types

type SipAcctStatusType

type SipAcctStatusType uint32
const (
	SipAcctStatusType_Value_Start      SipAcctStatusType = 1
	SipAcctStatusType_Value_Stop       SipAcctStatusType = 2
	SipAcctStatusType_Value_Alive      SipAcctStatusType = 3
	SipAcctStatusType_Value_SipSession SipAcctStatusType = 15
)

func SipAcctStatusType_Get

func SipAcctStatusType_Get(p *radius.Packet) (value SipAcctStatusType)

func SipAcctStatusType_Gets

func SipAcctStatusType_Gets(p *radius.Packet) (values []SipAcctStatusType, err error)

func SipAcctStatusType_Lookup

func SipAcctStatusType_Lookup(p *radius.Packet) (value SipAcctStatusType, err error)

func (SipAcctStatusType) String

func (a SipAcctStatusType) String() string

type SipCallDuration

type SipCallDuration uint32

func SipCallDuration_Get

func SipCallDuration_Get(p *radius.Packet) (value SipCallDuration)

func SipCallDuration_Gets

func SipCallDuration_Gets(p *radius.Packet) (values []SipCallDuration, err error)

func SipCallDuration_Lookup

func SipCallDuration_Lookup(p *radius.Packet) (value SipCallDuration, err error)

func (SipCallDuration) String

func (a SipCallDuration) String() string

type SipCallMSDuration

type SipCallMSDuration uint32

func SipCallMSDuration_Get

func SipCallMSDuration_Get(p *radius.Packet) (value SipCallMSDuration)

func SipCallMSDuration_Gets

func SipCallMSDuration_Gets(p *radius.Packet) (values []SipCallMSDuration, err error)

func SipCallMSDuration_Lookup

func SipCallMSDuration_Lookup(p *radius.Packet) (value SipCallMSDuration, err error)

func (SipCallMSDuration) String

func (a SipCallMSDuration) String() string

type SipCallSetuptime

type SipCallSetuptime uint32

func SipCallSetuptime_Get

func SipCallSetuptime_Get(p *radius.Packet) (value SipCallSetuptime)

func SipCallSetuptime_Gets

func SipCallSetuptime_Gets(p *radius.Packet) (values []SipCallSetuptime, err error)

func SipCallSetuptime_Lookup

func SipCallSetuptime_Lookup(p *radius.Packet) (value SipCallSetuptime, err error)

func (SipCallSetuptime) String

func (a SipCallSetuptime) String() string

type SipMethod

type SipMethod uint32
const (
	SipMethod_Value_Undefined SipMethod = 0
	SipMethod_Value_INVITE    SipMethod = 1
	SipMethod_Value_CANCEL    SipMethod = 2
	SipMethod_Value_ACK       SipMethod = 4
	SipMethod_Value_BYE       SipMethod = 8
	SipMethod_Value_INFO      SipMethod = 16
	SipMethod_Value_OPTIONS   SipMethod = 32
	SipMethod_Value_UPDATE    SipMethod = 64
	SipMethod_Value_REGISTER  SipMethod = 128
	SipMethod_Value_MESSAGE   SipMethod = 256
	SipMethod_Value_SUBSCRIBE SipMethod = 512
	SipMethod_Value_NOTIFY    SipMethod = 1024
	SipMethod_Value_PRACK     SipMethod = 2048
	SipMethod_Value_REFER     SipMethod = 4096
	SipMethod_Value_OTHER     SipMethod = 8192
)

func SipMethod_Get

func SipMethod_Get(p *radius.Packet) (value SipMethod)

func SipMethod_Gets

func SipMethod_Gets(p *radius.Packet) (values []SipMethod, err error)

func SipMethod_Lookup

func SipMethod_Lookup(p *radius.Packet) (value SipMethod, err error)

func (SipMethod) String

func (a SipMethod) String() string

type SipServiceType

type SipServiceType uint32
const (
	SipServiceType_Value_SipSession SipServiceType = 15
)

func SipServiceType_Get

func SipServiceType_Get(p *radius.Packet) (value SipServiceType)

func SipServiceType_Gets

func SipServiceType_Gets(p *radius.Packet) (values []SipServiceType, err error)

func SipServiceType_Lookup

func SipServiceType_Lookup(p *radius.Packet) (value SipServiceType, err error)

func (SipServiceType) String

func (a SipServiceType) String() string

Jump to

Keyboard shortcuts

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