kamctlrc 4.7 KB

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