kalbi

package module
v0.0.2-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: MIT Imports: 6 Imported by: 0

README

Kalbi Logo

Golang Session Initiated Protocol Framework/SDK

DocumentationTwitterCommunityDiscord

 

Go Report Card GitHub license GitHub contributors GitHub go.mod Go version

Description

Golang SIP/VoIP SDK/Framework used to build large platforms for VoIP and realtime communications

Examples

KalbiProxy - KalbiProxy is a SIP Proxy/Registrar Server built using the Kalbi Framework/SDK

Core Team


Aaron Parfitt


Declan Warner

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SipStack

type SipStack struct {
	Name             string
	ListeningPoints  []interfaces.ListeningPoint
	OutputPoint      chan message.SipMsg
	InputPoint       chan message.SipMsg
	Alive            bool
	TransManager     *transaction.TransactionManager
	Dialogs          []dialog.Dialog
	RequestChannel   chan interfaces.Transaction
	ResponseChannel  chan interfaces.Transaction
	TransportChannel chan interfaces.SipEventObject
	// contains filtered or unexported fields
}

SipStack has multiple protocol listning points

func NewSipStack

func NewSipStack(Name string) *SipStack

NewSipStack creates new sip stack

func (*SipStack) CreateListenPoint

func (ed *SipStack) CreateListenPoint(protocol string, host string, port int) transport.ListeningPoint

CreateListenPoint creates listening point to the event dispatcher

func (*SipStack) CreateRequestsChannel

func (ed *SipStack) CreateRequestsChannel() chan interfaces.Transaction

func (*SipStack) CreateResponseChannel

func (ed *SipStack) CreateResponseChannel() chan interfaces.Transaction

func (*SipStack) GetTransactionManager

func (ed *SipStack) GetTransactionManager() *transaction.TransactionManager

func (*SipStack) IsAlive

func (ed *SipStack) IsAlive() bool

func (*SipStack) SetSipListener

func (ed *SipStack) SetSipListener(listener interfaces.SipListener)

func (*SipStack) Start

func (ed *SipStack) Start()

Start starts the sip stack

func (*SipStack) Stop

func (ed *SipStack) Stop()

Directories

Path Synopsis
examples
sip

Jump to

Keyboard shortcuts

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