account

package
v1.1.7-0...-d08fa44 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthInfo

type AuthInfo struct {
	AuthUser string
	Realm    string
	Password string
	Ha1      string
}

AuthInfo .

type Profile

type Profile struct {
	URI           sip.Uri
	DisplayName   string
	AuthInfo      *AuthInfo
	Expires       uint32
	InstanceID    string
	Routes        []sip.Uri
	ContactURI    sip.Uri
	ContactParams map[string]string
}

Profile .

func NewProfile

func NewProfile(
	uri sip.Uri,
	displayName string,
	authInfo *AuthInfo,
	expires uint32,
	stack *stack.SipStack,
) *Profile

NewProfile .

func (*Profile) Contact

func (p *Profile) Contact() *sip.Address

Contact .

type RegisterState

type RegisterState struct {
	Account    *Profile
	StatusCode sip.StatusCode
	Reason     string
	Expiration uint32
	Response   sip.Response
	UserData   interface{}
}

RegisterState .

Jump to

Keyboard shortcuts

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