sip

package
v0.0.0-...-c888d3f Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Config *configuration.Config

	Records       *data.Records
	RegisterCache *data.TTLCache[string, *data.SIPClient]

	// Local hostnames and IPs to react to.
	LocalIdentities map[string]bool
}

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(ctx context.Context, proto, addr string) error

func (*Server) SendSIPMessage

func (s *Server) SendSIPMessage(req *data.SIPRequest) (*data.SIPResponse, error)

Jump to

Keyboard shortcuts

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