| 1 |
## The Kamailio configuration file for the control tools. |
| 2 |
## |
| 3 |
## Here you can set variables used in the kamctl and kamdbctl setup |
| 4 |
## scripts. Per default all variables here are commented out, the control tools |
| 5 |
## will use their internal default values. |
| 6 |
|
| 7 |
## the SIP domain |
| 8 |
# SIP_DOMAIN=kamailio.org |
| 9 |
|
| 10 |
## chrooted directory |
| 11 |
# CHROOT_DIR="/path/to/chrooted/directory" |
| 12 |
|
| 13 |
## database type: MYSQL, PGSQL, ORACLE, DBTEXT, or SQLITE |
| 14 |
## by default none is loaded |
| 15 |
## |
| 16 |
## If you want to set up a database with kamdbctl, you must at least specify |
| 17 |
## this parameter. |
| 18 |
# DBENGINE=MYSQL |
| 19 |
|
| 20 |
## database host |
| 21 |
# DBHOST=localhost |
| 22 |
|
| 23 |
## database port |
| 24 |
# DBPORT=3306 |
| 25 |
|
| 26 |
## database name (for ORACLE this is TNS name) |
| 27 |
# DBNAME=kamailio |
| 28 |
|
| 29 |
## database path used by dbtext or sqlite |
| 30 |
# DB_PATH="/usr/local/etc/kamailio/dbtext" |
| 31 |
|
| 32 |
## database read/write user |
| 33 |
# DBRWUSER="kamailio" |
| 34 |
|
| 35 |
## password for database read/write user |
| 36 |
# DBRWPW="kamailiorw" |
| 37 |
|
| 38 |
## database read only user |
| 39 |
# DBROUSER="kamailioro" |
| 40 |
|
| 41 |
## password for database read only user |
| 42 |
# DBROPW="kamailioro" |
| 43 |
|
| 44 |
## database access host (from where is kamctl used) |
| 45 |
# DBACCESSHOST=192.168.0.1 |
| 46 |
|
| 47 |
## database host for super user (useful for specifying a local socket or virtual hostname) |
| 48 |
# defaults to value of DBHOST when not set |
| 49 |
# DBROOTHOST="localhost" |
| 50 |
|
| 51 |
## database port for super user (on some DB specifying the port will force TCP connections) |
| 52 |
# default value will depend on client DB tool |
| 53 |
# DBROOTPORT="" |
| 54 |
|
| 55 |
## database super user (for ORACLE this is 'scheme-creator' user) |
| 56 |
# DBROOTUSER="root" |
| 57 |
|
| 58 |
## password for database super user |
| 59 |
## - important: this is insecure, targeting the use only for automatic testing |
| 60 |
## - known to work for: mysql |
| 61 |
# DBROOTPW="dbrootpw" |
| 62 |
|
| 63 |
## option to ask confirmation for all database creation steps |
| 64 |
# DBINITASK=yes |
| 65 |
|
| 66 |
## database client command |
| 67 |
# DBCLI="mysql" |
| 68 |
|
| 69 |
## additional parameters to database client command |
| 70 |
# DBCLIPARAMS="" |
| 71 |
|
| 72 |
## database character set (used by MySQL when creating database) |
| 73 |
#CHARSET="latin1" |
| 74 |
|
| 75 |
## user name column |
| 76 |
# USERCOL="username" |
| 77 |
|
| 78 |
|
| 79 |
## SQL definitions |
| 80 |
## If you change this definitions here, then you must change them |
| 81 |
## in db/schema/entities.xml too. |
| 82 |
## FIXME |
| 83 |
|
| 84 |
# FOREVER="2030-05-28 21:32:15" |
| 85 |
# DEFAULT_Q="1.0" |
| 86 |
|
| 87 |
|
| 88 |
## Program to calculate the MD5/SHA256 message-digest fingerprint |
| 89 |
# - md5sum, sha256sum |
| 90 |
# CMDHASH="md5sum" |
| 91 |
|
| 92 |
## awk tool |
| 93 |
# AWK="awk" |
| 94 |
|
| 95 |
## gdb tool |
| 96 |
# GDB="gdb" |
| 97 |
|
| 98 |
## If you use a system with a grep and egrep that is not 100% gnu grep compatible, |
| 99 |
## e.g. solaris, install the gnu grep (ggrep) and specify this below. |
| 100 |
## |
| 101 |
## grep tool |
| 102 |
# GREP="grep" |
| 103 |
|
| 104 |
## egrep tool |
| 105 |
# EGREP="egrep" |
| 106 |
|
| 107 |
## sed tool |
| 108 |
# SED="sed" |
| 109 |
|
| 110 |
## tail tool |
| 111 |
# LAST_LINE="tail -n 1" |
| 112 |
|
| 113 |
## expr tool |
| 114 |
# EXPR="expr" |
| 115 |
|
| 116 |
|
| 117 |
## Describe what additional tables to install. Valid values for the variables |
| 118 |
## below are yes/no/ask. With ask (default) it will interactively ask the user |
| 119 |
## for an answer, while yes/no allow for automated, unassisted installs. |
| 120 |
|
| 121 |
## If to install tables for the modules in the EXTRA_MODULES variable. |
| 122 |
# INSTALL_EXTRA_TABLES=ask |
| 123 |
|
| 124 |
## If to install presence related tables. |
| 125 |
# INSTALL_PRESENCE_TABLES=ask |
| 126 |
|
| 127 |
## If to install uid modules related tables. |
| 128 |
# INSTALL_DBUID_TABLES=ask |
| 129 |
|
| 130 |
## Define what module tables should be installed. |
| 131 |
## If you use the postgres database and want to change the installed tables, then you |
| 132 |
## must also adjust the STANDARD_TABLES or EXTRA_TABLES variable accordingly in the |
| 133 |
## kamdbctl.base script. |
| 134 |
|
| 135 |
## Kamailio standard modules |
| 136 |
# STANDARD_MODULES="standard acc lcr domain group permissions registrar usrloc msilo |
| 137 |
# alias_db uri_db speeddial avpops auth_db pdt dialog dispatcher |
| 138 |
# dialplan" |
| 139 |
|
| 140 |
## Kamailio extra modules |
| 141 |
# EXTRA_MODULES="imc cpl siptrace domainpolicy carrierroute userblocklist htable purple sca" |
| 142 |
|
| 143 |
|
| 144 |
## type of aliases used: DB - database aliases; UL - usrloc aliases |
| 145 |
## - default: none |
| 146 |
# ALIASES_TYPE="DB" |
| 147 |
|
| 148 |
## control engine: RPCFIFO |
| 149 |
## path to FIFO file for control engine RPCFIFO |
| 150 |
# RPCFIFOPATH="/run/kamailio/kamailio_rpc.fifo" |
| 151 |
|
| 152 |
## check ACL names; default on (1); off (0) |
| 153 |
# VERIFY_ACL=1 |
| 154 |
|
| 155 |
## ACL names - if VERIFY_ACL is set, only the ACL names from below list |
| 156 |
## are accepted |
| 157 |
# ACL_GROUPS="local ld int voicemail free-pstn" |
| 158 |
|
| 159 |
## check if user exists (used by some commands such as acl); |
| 160 |
## - default on (1); off (0) |
| 161 |
# VERIFY_USER=1 |
| 162 |
|
| 163 |
## verbose - debug purposes - default '0' |
| 164 |
# VERBOSE=1 |
| 165 |
|
| 166 |
## do (1) or don't (0) store plaintext passwords |
| 167 |
## in the subscriber table - default '1' |
| 168 |
# STORE_PLAINTEXT_PW=0 |
| 169 |
|
| 170 |
## Kamailio START Options |
| 171 |
## PID file path - default is: /run/kamailio/kamailio.pid |
| 172 |
# PID_FILE=/run/kamailio/kamailio.pid |
| 173 |
|
| 174 |
## Kamailio Startup Configuration File |
| 175 |
## Default is: kamailio.cfg |
| 176 |
# STARTUP_CONFIG_FILE=kamailio.cfg |
| 177 |
|
| 178 |
## Extra start options - default is: not set |
| 179 |
## example: start Kamailio with 64MB shared memory: STARTOPTIONS="-m 64" |
| 180 |
# STARTOPTIONS= |