Module idefisk_supervisor

Idefisk-Supervisor starts all other servers and supervises them.

Copyright © 2005-2006 Ericsson

Version: 1.0

Behaviour: supervisor.

Authors: Freek Sanders (freekisanders@gmail.com) [web site: http://www.freeksanders.tk].

Description

Idefisk-Supervisor starts all other servers and supervises them. The Idefisk-Supervisor also reads the idefisk.conf file and starts the servers using, and based on, these values. Servers started are the Ext-Ast-Interface (see ext_ast_interface), Idefisk (see idefisk), the Agi-Server (see agi_server) and possibly an application serving as usecase. For more information about the flow of events and an explanation of terms see ext_ast_interface.

Data Types

agiport()

agiport() = integer()

agiurl()

agiurl() = string()

arg()

arg() = host() | porty() | username() | password() | agiurl() | agiport() | maxagilegs()

args()

args() = [] | [arg()]

host()

host() = string()

maxagilegs()

maxagilegs() = integer()

password()

password() = string()

porty()

porty() = integer()

username()

username() = string()

Function Index

init/1
start_asterisk/1Used to start asterisk, when asterisk_start was set to false in the .conf file.
start_link/1

Function Details

init/1

init(Params) -> term()

start_asterisk/1

start_asterisk(Args::args()) -> ok

Used to start asterisk, when asterisk_start was set to false in the .conf file. Start_asterisk always returns 'ok', even when not successful.

Introduced in: 1.0

start_link/1

start_link(Params) -> term()