asterisk

package
v0.0.0-...-11afbb2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AsteriskConfig = `
  ##Sample Config
  #asterisk_ip = "0.0.0.0"
  #ami_port = 5038
  #ami_user = "user"
  #ami_password = "password"
`

Functions

func SocketClient

func SocketClient(ip string, port int, message string) string

Types

type Asterisk

type Asterisk struct {
	AsteriskIP  string `toml:"asterisk_ip"`
	AmiPort     int    `toml:"ami_port"`
	AmiUser     string `toml:"ami_user"`
	AmiPassword string `toml:"ami_password"`
}

func (*Asterisk) Description

func (s *Asterisk) Description() string

func (*Asterisk) Gather

func (s *Asterisk) Gather(acc telegraf.Accumulator) error

func (*Asterisk) SampleConfig

func (s *Asterisk) SampleConfig() string

Jump to

Keyboard shortcuts

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