server

package
v0.0.0-...-c962f29 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2020 License: MIT Imports: 9 Imported by: 2

Documentation

Overview

Package server contains a SIP server which can manage authentication and signalling between multiple clients.

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidAuthHeader = errors.New("server: invalid authorization header")

ErrInvalidAuthHeader is returned when the Authorization header fails to be parsed.

Functions

func HandleInvite

func HandleInvite(r *sipnet.Request, conn *sipnet.Conn)

HandleInvite handles INVITE SIP requests and attempts to make a call.

func HandleRegister

func HandleRegister(r *sipnet.Request, conn *sipnet.Conn)

HandleRegister handles REGISTER SIP requests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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