call

package
v0.0.0-...-476fdef Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Execute

type Execute struct {
	UUID      string
	AppName   string
	AppArgs   string
	AppUUID   string
	Loops     int
	Sync      bool
	SyncPri   bool
	ForceBody bool
}

Execute command interface

func (*Execute) BuildMessage

func (e *Execute) BuildMessage() string

BuildMessage Implement command interface

type Export

type Export Set

Export Helper to call Execute with Export since it is commonly used

func (Export) BuildMessage

func (e Export) BuildMessage() string

BuildMessage Implement command interface

type Hangup

type Hangup struct {
	UUID    string
	Cause   string
	Sync    bool
	SyncPri bool
}

Hangup command

func (Hangup) BuildMessage

func (h Hangup) BuildMessage() string

BuildMessage Implement command interface

type NoMedia

type NoMedia struct {
	UUID        string
	NoMediaUUID string
	Sync        bool
	SyncPri     bool
}

NoMedia command interface

func (NoMedia) BuildMessage

func (n NoMedia) BuildMessage() string

BuildMessage Implement command interface

type Push

type Push Set

Push Helper to call Execute with Push since it is commonly used

func (Push) BuildMessage

func (p Push) BuildMessage() string

BuildMessage Implement command interface

type Set

type Set struct {
	UUID    string
	Key     string
	Value   string
	Sync    bool
	SyncPri bool
}

Set Helper to call Execute with Set since it is commonly used

func (Set) BuildMessage

func (s Set) BuildMessage() string

BuildMessage Implement command interface

type Transfer

type Transfer struct {
	UUID        string
	Application string
	Sync        bool
	SyncPri     bool
}

Transfer Documentation is sparse on this, but it looks like it transfers a call to an application?

func (Transfer) BuildMessage

func (t Transfer) BuildMessage() string

BuildMessage Implement command interface

type Unicast

type Unicast struct {
	UUID    string
	Local   net.Addr
	Remote  net.Addr
	Flags   string
	Sync    bool
	SyncPri bool
}

Unicast is used to hook up mod_spandsp for faxing over a socket. Note: That is a nice way for a script or app that uses the socket interface to get at the media. It's good because then spandsp isn't living inside of FreeSWITCH and it can run on a box sitting next to it. It scales better.

func (Unicast) BuildMessage

func (u Unicast) BuildMessage() string

BuildMessage Implement command interface

Jump to

Keyboard shortcuts

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