opensips/opensipsctlrc

Wed, 21 Sep 2011 14:04:16 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 21 Sep 2011 14:04:16 +0200
changeset 377
67e813202d53
child 397
c98ae03f4266
permissions
-rw-r--r--

Introduce severe but necessary corrections and update to new vendor version.

michael@377 1 ##
michael@377 2 ## opensipsctlrc -- OpenSIPS control tools configuration
michael@377 3 ##
michael@377 4
michael@377 5 ## your SIP domain
michael@377 6 SIP_DOMAIN=name.host.tld
michael@377 7
michael@377 8 ## chrooted directory
michael@377 9 # $CHROOT_DIR="/path/to/chrooted/directory"
michael@377 10
michael@377 11 ## Database type: MYSQL, PGSQL, ORACLE, DB_BERKELEY, or DBTEXT;
michael@377 12 ## by default none is loaded. Use opensipsdbctl to setup a database.
michael@377 13 DBENGINE=DBTEXT
michael@377 14
michael@377 15 ## database host
michael@377 16 # DBHOST=localhost
michael@377 17
michael@377 18 ## database name (for ORACLE this is TNS name)
michael@377 19 # DBNAME=opensips
michael@377 20
michael@377 21 # database path used by dbtext or db_berkeley
michael@377 22 DB_PATH=@l_prefix@/var/opensips/db
michael@377 23
michael@377 24 ## database read/write user
michael@377 25 # DBRWUSER=@l_rusr@
michael@377 26
michael@377 27 ## password for database read/write user
michael@377 28 # DBRWPW=rente_word_pass_rw
michael@377 29
michael@377 30 ## database read only user
michael@377 31 # DBROUSER=@l_rusr@
michael@377 32
michael@377 33 ## password for database read only user
michael@377 34 # DBROPW=rentero_word_pass
michael@377 35
michael@377 36 ## database super user (for ORACLE this is 'scheme-creator' user)
michael@377 37 # DBROOTUSER=@l_susr@
michael@377 38
michael@377 39 # user name column
michael@377 40 # USERCOL="username"
michael@377 41
michael@377 42
michael@377 43 # SQL definitions
michael@377 44 # If you change this definitions here, then you must change them
michael@377 45 # in db/schema/entities.xml too.
michael@377 46 #
michael@377 47
michael@377 48 # FOREVER="2020-05-28 21:32:15"
michael@377 49 # DEFAULT_ALIASES_EXPIRES=$FOREVER
michael@377 50 # DEFAULT_Q="1.0"
michael@377 51 # DEFAULT_CALLID="Default-Call-ID"
michael@377 52 # DEFAULT_CSEQ="13"
michael@377 53 # DEFAULT_LOCATION_EXPIRES=$FOREVER
michael@377 54
michael@377 55
michael@377 56 # Program to calculate a message-digest fingerprint
michael@377 57 # MD5="md5sum"
michael@377 58
michael@377 59 # awk tool
michael@377 60 # AWK="awk"
michael@377 61
michael@377 62 # grep tool
michael@377 63 # GREP="grep"
michael@377 64
michael@377 65 # sed tool
michael@377 66 # SED="sed"
michael@377 67
michael@377 68
michael@377 69 # Describe what additional tables to install. Valid values for the variables
michael@377 70 # below are yes/no/ask. With ask (default) it will interactively ask the user
michael@377 71 # for an answer, while yes/no allow for automated, unassisted installs.
michael@377 72 #
michael@377 73
michael@377 74 # If to install tables for the modules in the EXTRA_MODULES variable.
michael@377 75 # INSTALL_EXTRA_TABLES=ask
michael@377 76
michael@377 77 # If to install presence related tables.
michael@377 78 # INSTALL_PRESENCE_TABLES=ask
michael@377 79
michael@377 80 # Define what module tables should be installed.
michael@377 81 # If you use the postgres database and want to change the installed tables,
michael@377 82 # then you must also adjust the STANDARD_TABLES or EXTRA_TABLES variable
michael@377 83 # accordingly in the opensipsdbctl.base script.
michael@377 84
michael@377 85 # opensips standard modules
michael@377 86 # STANDARD_MODULES="standard acc lcr domain group permissions registrar usrloc
michael@377 87 # msilo alias_db uri_db speeddial avpops auth_db pdt dialog
michael@377 88 # dispatcher dialplan drouting nathelper load_balancer"
michael@377 89
michael@377 90 # opensips extra modules
michael@377 91 # EXTRA_MODULES="imc cpl siptrace domainpolicy carrierroute userblacklist"
michael@377 92
michael@377 93
michael@377 94 ## type of aliases used: DB - database aliases; UL - usrloc aliases
michael@377 95 ## - default: none
michael@377 96 # ALIASES_TYPE="DB"
michael@377 97
michael@377 98 ## control engine: FIFO or UNIXSOCK
michael@377 99 ## - default FIFO
michael@377 100 CTLENGINE=FIFO
michael@377 101
michael@377 102 ## path to FIFO file
michael@377 103 OSIPS_FIFO=@l_prefix@/var/opensips/opensips.fifo
michael@377 104
michael@377 105 ## path to server inbound FIFO directory
michael@377 106 OSER_FIRET=@l_prefix@/var/opensips
michael@377 107
michael@377 108 ## MI_CONNECTOR control engine: FIFO, UNIXSOCK, UDP, XMLRPC
michael@377 109 # MI_CONNECTOR=FIFO:@l_prefix@/var/opensips/opensips.fifo
michael@377 110 # MI_CONNECTOR=UNIXSOCK:/tmp/opensips.sock
michael@377 111 # MI_CONNECTOR=UDP:192.168.2.133:8000
michael@377 112 # MI_CONNECTOR=XMLRPC:192.168.2.133:8000
michael@377 113
michael@377 114 ## check ACL names; default on (1); off (0)
michael@377 115 # VERIFY_ACL=1
michael@377 116
michael@377 117 ## ACL names - if VERIFY_ACL is set, only the ACL names from below list
michael@377 118 ## are accepted
michael@377 119 # ACL_GROUPS="local ld int voicemail free-pstn"
michael@377 120
michael@377 121 ## verbose - debug purposes - default '0'
michael@377 122 # VERBOSE=1
michael@377 123
michael@377 124 ## do (1) or don't (0) store plaintext passwords
michael@377 125 ## in the subscriber table - default '1'
michael@377 126 STORE_PLAINTEXT_PW=0
michael@377 127
michael@377 128 ## OPENSIPS START Options
michael@377 129 ## PID file path - default is: /var/run/opensips.pid
michael@377 130 PID_FILE=@l_prefix@/var/opensips/opensips.pid
michael@377 131
michael@377 132 ## Extra start options - default is: not set
michael@377 133 # example: start opensips with 64MB share memory: STARTOPTIONS="-m 64"
michael@377 134 # STARTOPTIONS=

mercurial