zammad-asterisk

command module
v0.0.0-...-7db96ea Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: MIT Imports: 12 Imported by: 0

README

DEPRECATION NOTICE: We've stopped using Zammand and hence don't need this integration anymore. While it might still work perfectly fine, we currently don't have the capacity to maintain it anymore.

Asterisk integration for Zammad

This works for me. If you need support, just contact me.

Installation

go get github.com/digineo/zammad-asterisk/...

Configuration

Asterisk

Create a new account for the Asterisk REST Interface by editing the file ari.conf in the asterisk configuration directory:

[general]
enabled = yes

[zammad]
type = user
read_only = no
password = secret5

Add the application to your Dialplan in a context for incoming calls. The second argument for Stasis() is the name of called destination. If you have several numbers for incoming calls you can use this argument to distinguish between them.

context incoming {
	12345678 => {
		Stasis(zammad, foobar);
		Dial(...);
		Hangup;
	}
}
Zammad Interface

Create a config.cfg with the following configuration:

[asterisk]
host     = "127.0.0.1"
port     = 8088
username = "zammad"
password = "secret5"

[zammad]
endpoint = "https://zammad.example.com/api/v1/vti_logs"
token    = "your secret token"

Running

zammad-asterisk path/to/config.cfg

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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