Advertisement
FaisalKh

Kamailio kamctl file

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