Skip to content

Setup Nagast Server

tuxis-ie edited this page Sep 18, 2012 · 1 revision

This howto will describe how to setup a Nagast server.

Table of Contents

What is a Nagast server

The Nagast server is an Asteriskbox, which will actually place the call you want Nagast to do.

What do we install

Build the Nagast packages and install

  • nagast-server
  • all the dependencies
Nagast-server depends on Asterisk, because it creates files for Asterisk to discover and execute.

What do we edit

Asterisk

The configuration of Asterisk is something that differs per install and will not be covered here.

nagast-server

nagast-server only has a single configfile, which you can find at /etc/default/nagast-server. You must set the values for OUTCID and ADMINPHONE and set NAGAST_ENABLED to 1.

  • OUTCID is the callerid that Nagast will use to place the calls. This should probably be a known extension to your Asterisk install.
  • ADMINPHONE is the phonenumber that will be dialed if a nagast node gets lost (doesn't ping in pinginterval*2)
Worth noting is that nagast-server will always concatenate $outchannel '/' and the number to be dialed and create an Asterisk-callfile with that result. By default, $outchannel is SIP. If you need to set another channel, you can set it with the option --outchannel.

Now what

Now start nagast-server.

Ubuntu:

 start nagast-server

Debian:

 /etc/init.d/nagast-server start