# $Id: openserctlrc,v 1.2 2009-02-25 11:55:57 fmota Exp $
#
# openser control tool resource file
#
# here you can set variables used in the openserctl and openserdbctl

## your SIP domain
SIP_DOMAIN=domain.com

## database type: MYSQL, PGSQL, DB_BERKELEY, or DBTEXT, by default none is loaded
DBENGINE=PGSQL

## database host
DBHOST=localhost

## database name
DBNAME=ser

# database path used by dbtext or db_berkeley
# DB_PATH="/usr/local/etc/openser/dbtext"

## database read/write user
DBRWUSER=ser

## password for database read/write user
DBRWPW="heslo"

## database read only user
DBROUSER="openserro"

## password for database read only user
DBROPW="openserro"

## database super user
DBROOTUSER="postgres"

# user name column
USERCOL="username"


# SQL definitions
# If you change this definitions here, then you must change them 
# in db/schema/entities.xml too.
# FIXME

FOREVER="2020-05-28 21:32:15"
DEFAULT_ALIASES_EXPIRES=$FOREVER
DEFAULT_Q="1.0"
DEFAULT_CALLID="Default"
DEFAULT_CSEQ="13"
DEFAULT_LOCATION_EXPIRES=$FOREVER


# Program to calculate a message-digest fingerprint 
MD5="md5sum"

# awk tool
AWK="awk"

# grep tool
GREP="egrep"

# sed tool
SED="sed"


# Describe what additional tables to install. Valid values for the variables
# below are yes/no/ask. With ask (default) it will interactively ask the user
# for an answer, while yes/no allow for automated, unassisted installs.
#

# If to install tables for the modules in EXTRA_MODULES
INSTALL_EXTRA_TABLES=yes

# If to install presence related tables
INSTALL_PRESENCE_TABLES=yes

# If to install SERWEB related tables
INSTALL_SERWEB_TABLES=yes

# Define what module tables should be installed.
# If you use the postgres database and want to change the installed tables, then you
# must also adjust the GRANTs accordingly in the openserdbctl.postgres script.

# openser standard modules
STANDARD_MODULES="standard acc lcr domain group permissions registrar usrloc msilo alias_db uri_db speeddial avpops auth_db pdt dialog dispatcher"

# openser extra modules
EXTRA_MODULES="imc cpl siptrace domainpolicy carrierroute"


## type of aliases used: DB - database aliases; UL - usrloc aliases
## - default: none
ALIASES_TYPE="DB"

## control engine: FIFO or UNIXSOCK
## - default FIFO
CTLENGINE="FIFO"

## path to FIFO file
OSER_FIFO="/tmp/openser_fifo"

## check ACL names; default on (1); off (0)
VERIFY_ACL=0

## ACL names - if VERIFY_ACL is set, only the ACL names from below list
## are accepted
ACL_GROUPS="local ld int voicemail free-pstn"

## presence of serweb tables - default "no"
HAS_SERWEB="yes"

## verbose - debug purposes - default '0'
VERBOSE=0

## do (1) or don't (0) store plaintext passwords
## in the subscriber table - default '1'
STORE_PLAINTEXT_PW=1

## Pid File
PID_FILE="/var/run/openser/openser.pid" 
