kamctlrc 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. ## your SIP domain
  7. # SIP_DOMAIN=kamailio.org
  8. ## chrooted directory
  9. # $CHROOT_DIR="/path/to/chrooted/directory"
  10. ## database type: MYSQL, PGSQL, ORACLE, DB_BERKELEY, DBTEXT, or SQLITE
  11. # by default none is loaded
  12. #
  13. # If you want to setup 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, db_berkeley 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 super user (for ORACLE this is 'scheme-creator' user)
  35. # DBROOTUSER="root"
  36. ## password for database super user
  37. ## - important: this is insecure, targeting the use only for automatic testing
  38. ## - known to work for: mysql
  39. # DBROOTPW="dbrootpw"
  40. ## database character set (used by MySQL when creating database)
  41. #CHARSET="latin1"
  42. ## user name column
  43. # USERCOL="username"
  44. # SQL definitions
  45. # If you change this definitions here, then you must change them
  46. # in db/schema/entities.xml too.
  47. # FIXME
  48. # FOREVER="2030-05-28 21:32:15"
  49. # DEFAULT_Q="1.0"
  50. # Program to calculate a message-digest fingerprint
  51. # MD5="md5sum"
  52. # awk tool
  53. # AWK="awk"
  54. # gdb tool
  55. # GDB="gdb"
  56. # If you use a system with a grep and egrep that is not 100% gnu grep compatible,
  57. # e.g. solaris, install the gnu grep (ggrep) and specify this below.
  58. #
  59. # grep tool
  60. # GREP="grep"
  61. # egrep tool
  62. # EGREP="egrep"
  63. # sed tool
  64. # SED="sed"
  65. # tail tool
  66. # LAST_LINE="tail -n 1"
  67. # expr tool
  68. # EXPR="expr"
  69. # Describe what additional tables to install. Valid values for the variables
  70. # below are yes/no/ask. With ask (default) it will interactively ask the user
  71. # for an answer, while yes/no allow for automated, unassisted installs.
  72. #
  73. # If to install tables for the modules in the EXTRA_MODULES variable.
  74. # INSTALL_EXTRA_TABLES=ask
  75. # If to install presence related tables.
  76. # INSTALL_PRESENCE_TABLES=ask
  77. # If to install uid modules related tables.
  78. # INSTALL_DBUID_TABLES=ask
  79. # Define what module tables should be installed.
  80. # If you use the postgres database and want to change the installed tables, then you
  81. # must also adjust the STANDARD_TABLES or EXTRA_TABLES variable accordingly in the
  82. # kamdbctl.base script.
  83. # Kamailio standard modules
  84. # STANDARD_MODULES="standard acc lcr domain group permissions registrar usrloc msilo
  85. # alias_db uri_db speeddial avpops auth_db pdt dialog dispatcher
  86. # dialplan"
  87. # Kamailio extra modules
  88. # EXTRA_MODULES="imc cpl siptrace domainpolicy carrierroute userblacklist htable purple sca"
  89. ## type of aliases used: DB - database aliases; UL - usrloc aliases
  90. ## - default: none
  91. # ALIASES_TYPE="DB"
  92. ## control engine: RPCFIFO
  93. ## - default RPCFIFO
  94. # CTLENGINE="RPCFIFO"
  95. ## path to FIFO file for engine RPCFIFO
  96. # RPCFIFOPATH="/var/run/kamailio/kamailio_rpc_fifo"
  97. ## check ACL names; default on (1); off (0)
  98. # VERIFY_ACL=1
  99. ## ACL names - if VERIFY_ACL is set, only the ACL names from below list
  100. ## are accepted
  101. # ACL_GROUPS="local ld int voicemail free-pstn"
  102. ## check if user exists (used by some commands such as acl);
  103. ## - default on (1); off (0)
  104. # VERIFY_USER=1
  105. ## verbose - debug purposes - default '0'
  106. # VERBOSE=1
  107. ## do (1) or don't (0) store plaintext passwords
  108. ## in the subscriber table - default '1'
  109. # STORE_PLAINTEXT_PW=0
  110. ## Kamailio START Options
  111. ## PID file path - default is: /var/run/kamailio/kamailio.pid
  112. # PID_FILE=/var/run/kamailio/kamailio.pid
  113. ## Extra start options - default is: not set
  114. # example: start Kamailio with 64MB share memory: STARTOPTIONS="-m 64"
  115. # STARTOPTIONS=