Documentation ¶
Index ¶
- Constants
- func ParseString(input string) (map[string]string, error)
- type Asterisk
- func (as *Asterisk) Close(ctx context.Context) error
- func (as *Asterisk) Connect(ctx context.Context) error
- func (ami *Asterisk) CoreSettings(ctx context.Context, actionID string, node *amitools.Node) (*amiresponses.ResponseData, error)
- func (as *Asterisk) Errors() <-chan error
- func (as *Asterisk) Events() <-chan *amitools.Event
- func (ami *Asterisk) Handle(r *amitools.Request) (*amitools.Request, error)
- func (as *Asterisk) Listen(ctx context.Context) error
- func (ami *Asterisk) Login(ctx context.Context, actionID string, node *amitools.Node) error
- func (ami *Asterisk) Ping(ctx context.Context, actionID string, node *amitools.Node) (*amiresponses.ResponseData, error)
- func (as *Asterisk) SetLogHandler(log zerolog.Logger)
- func (as *Asterisk) Ticket() *time.Ticker
- type AsteriskSettings
Constants ¶
View Source
const ( TYPE = "tcp" AstManagerHeader = "Asterisk Call Manager" )
View Source
const (
AsteriskTimeOut = 60
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Asterisk ¶
type Asterisk struct {
// contains filtered or unexported fields
}
func (*Asterisk) CoreSettings ¶
func (ami *Asterisk) CoreSettings(ctx context.Context, actionID string, node *amitools.Node) (*amiresponses.ResponseData, error)
CoreSHowSettings
func (*Asterisk) Ping ¶
func (ami *Asterisk) Ping(ctx context.Context, actionID string, node *amitools.Node) (*amiresponses.ResponseData, error)
func (*Asterisk) SetLogHandler ¶
Click to show internal directories.
Click to hide internal directories.