Kamailio is an open source SIP proxy server that is capable of handling thousands of up calls in a second. Among the features it provides, are support for TCP, UDP and SCTP, secure communication via TLS for VoIP (voice, video), accounting, the most popular open source databases and much more. Originally starting out as the SIP Express Router (SER) project by the Fraunhofer Society in 2001, the design team got together in 2008, merged old and new source code and rebranded SER to Kamailio. WWW: http://www.kamailio.org/ PR: 181301 Submitted by: Oliver Mahmoudi <olivermahmoudi@gmail.com> Reviewed by: marino
29 lines
507 B
Bash
29 lines
507 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD: net/kamailio/files/kamailio.in
|
|
#
|
|
# PROVIDE: kamailio
|
|
# REQUIRE: LOGIN
|
|
# KEYWORD: shutdown
|
|
#
|
|
# Add the following line to /etc/rc.conf to enable this service
|
|
# at system startup:
|
|
#
|
|
# kamailio_enable (bool): Set to NO by default.
|
|
# Set it to YES to enable kamailio.
|
|
#
|
|
|
|
. /etc/rc.subr
|
|
|
|
name=kamailio
|
|
rcvar=kamailio_enable
|
|
|
|
load_rc_config ${name}
|
|
|
|
: ${kamailio_enable:=NO}
|
|
|
|
command="/usr/local/sbin/kamailio"
|
|
required_files="/usr/local/etc/kamailio/kamailio.cfg"
|
|
|
|
|
|
run_rc_command $1
|