call

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

* Copyright (c) 2020 Percipia * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. * * Contributor(s): * Andrew Querol <aquerol@percipia.com>

* Copyright (c) 2020 Percipia * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. * * Contributor(s): * Andrew Querol <aquerol@percipia.com>

* Copyright (c) 2020 Percipia * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. * * Contributor(s): * Andrew Querol <aquerol@percipia.com>

* Copyright (c) 2020 Percipia * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. * * Contributor(s): * Andrew Querol <aquerol@percipia.com>

* Copyright (c) 2020 Percipia * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. * * Contributor(s): * Andrew Querol <aquerol@percipia.com>

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
}

func (*Execute) BuildMessage

func (e *Execute) BuildMessage() string

type Export

type Export Set

Helper to call Execute with Export since it is commonly used

func (Export) BuildMessage

func (e Export) BuildMessage() string

type Hangup

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

func (Hangup) BuildMessage

func (h Hangup) BuildMessage() string

type NoMedia

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

func (NoMedia) BuildMessage

func (n NoMedia) BuildMessage() string

type Push

type Push Set

Helper to call Execute with Push since it is commonly used

func (Push) BuildMessage

func (p Push) BuildMessage() string

type Set

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

Helper to call Execute with Set since it is commonly used

func (Set) BuildMessage

func (s Set) BuildMessage() string

type Transfer

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

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

func (Transfer) BuildMessage

func (t Transfer) BuildMessage() string

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

Jump to

Keyboard shortcuts

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