Configuration » History » Version 7
Adrian Georgescu, 07/12/2012 04:47 PM
| 1 | 1 | Adrian Georgescu | h1. Configuration |
|---|---|---|---|
| 2 | |||
| 3 | 7 | Adrian Georgescu | h2. General server settings |
| 4 | 1 | Adrian Georgescu | |
| 5 | 3 | Adrian Georgescu | To change the default settings copy config.ini.sample to /etc/sylkserver/config.ini |
| 6 | 1 | Adrian Georgescu | |
| 7 | <pre> |
||
| 8 | 2 | Adrian Georgescu | ; SylkServer configuration file |
| 9 | 1 | Adrian Georgescu | [Server] |
| 10 | |||
| 11 | ; The following settings are the default used by the software, uncomment |
||
| 12 | ; them only if you want to make changes |
||
| 13 | |||
| 14 | ; default_application = conference |
||
| 15 | |||
| 16 | ; Map user part of the Request URI to a specific application |
||
| 17 | ; application_map = 123:conference,test:irc-conference |
||
| 18 | |||
| 19 | ; trace_dir = /var/log/sylkserver |
||
| 20 | ; trace_core = False |
||
| 21 | ; trace_sip = False |
||
| 22 | ; trace_msrp = False |
||
| 23 | ; trace_notifications = False |
||
| 24 | |||
| 25 | ; TLS can be used for encryption of SIP signaling and MSRP media. TLS is |
||
| 26 | ; disabled by default. To enable TLS, you must have a valid X.509 |
||
| 27 | ; certificate and configure it below, then set the local_tls_port in the SIP |
||
| 28 | ; section and use_tls in MSRP section |
||
| 29 | |||
| 30 | ; The X.509 Certificate Authorities file |
||
| 31 | ; ca_file = /etc/sylkserver/tls/ca.crt |
||
| 32 | |||
| 33 | ; The file containing X.509 certificate and private key in unencrypted format |
||
| 34 | ; certificate = /etc/sylkserver/tls/default.crt |
||
| 35 | |||
| 36 | ; verify_server = False |
||
| 37 | |||
| 38 | |||
| 39 | [SIP] |
||
| 40 | |||
| 41 | ; SIP transport settings |
||
| 42 | ; IP address used for SIP signaling; empty string or any means listen on interface used |
||
| 43 | ; by the default route |
||
| 44 | ; local_ip = |
||
| 45 | |||
| 46 | ; Ports used for SIP transports, if not set to any value the transport will be disabled |
||
| 47 | ; local_udp_port = 5060 |
||
| 48 | ; local_tcp_port = 5060 |
||
| 49 | ; local_tls_port = 5061 |
||
| 50 | |||
| 51 | ; If set all outbound SIP requests will be sent through this SIP proxy |
||
| 52 | ; outbound_proxy = |
||
| 53 | |||
| 54 | ; A comma-separated list of hosts or networks to trust. |
||
| 55 | ; The elements can be an IP address in CIDR format, a |
||
| 56 | ; hostname or an IP address (in the latter 2 a mask of 32 |
||
| 57 | ; is assumed), or the special keywords 'any' and 'none' |
||
| 58 | ; (being equivalent to 0.0.0.0/0 and 0.0.0.0/32 |
||
| 59 | ; respectively). It defaults to 'any'. |
||
| 60 | ; trusted_peers = |
||
| 61 | |||
| 62 | |||
| 63 | [MSRP] |
||
| 64 | |||
| 65 | ; MSRP transport settings |
||
| 66 | |||
| 67 | ; A valid X.509 certificate is required for MSRP to work over TLS. |
||
| 68 | ; TLS is enabled by default, a default TLS certificate is provided with SylkServer. |
||
| 69 | ; use_tls = True |
||
| 70 | |||
| 71 | |||
| 72 | [RTP] |
||
| 73 | |||
| 74 | ; RTP transport settings |
||
| 75 | |||
| 76 | ; Allowed codec list, valid values: G722, speex, PCMU, PCMA, iLBC, GSM |
||
| 77 | ; audio_codecs = G722,speex,PCMU,PCMA |
||
| 78 | |||
| 79 | ; Port range used for RTP |
||
| 80 | ; port_range = 50000:50500 |
||
| 81 | |||
| 82 | ; SRTP valid values: disabled, mandatory, optional |
||
| 83 | ; srtp_encryption = optional |
||
| 84 | |||
| 85 | ; RTP stream timeout, session will be disconnected after this value |
||
| 86 | ; timeout = 30 |
||
| 87 | |||
| 88 | </pre> |
||
| 89 | |||
| 90 | 6 | Adrian Georgescu | h2. Applications settings |
| 91 | 1 | Adrian Georgescu | |
| 92 | 6 | Adrian Georgescu | h3. Conference |
| 93 | |||
| 94 | 3 | Adrian Georgescu | To change the default settings copy conference.ini.sample to /etc/sylkserver/conference.ini |
| 95 | |||
| 96 | |||
| 97 | 1 | Adrian Georgescu | <pre> |
| 98 | ; SylkServer Conference application configuration file |
||
| 99 | |||
| 100 | [Conference] |
||
| 101 | |||
| 102 | ; The following settings are the default used by the software, uncomment them |
||
| 103 | ; only if you want to make changes |
||
| 104 | |||
| 105 | ; db_uri = sqlite:///var/lib/sylkserver/conference.sqlite |
||
| 106 | |||
| 107 | ; Database table name for storing messages history |
||
| 108 | ; history_table = message_history |
||
| 109 | |||
| 110 | ; Replay last chat messages after joining a room |
||
| 111 | ; replay_history = 20 |
||
| 112 | |||
| 113 | ; Directory for storing files transferred to rooms (a subdirectory for each room will be created) |
||
| 114 | ; file_transfer_dir = /var/spool/sylkserver |
||
| 115 | |||
| 116 | ; File transfer push support. If enabled files will be pushed to all active |
||
| 117 | ; participants after receiving the file |
||
| 118 | ; push_file_transfer = False |
||
| 119 | |||
| 120 | ; Directory where images use by the Screen Sharing functionality will be stored |
||
| 121 | ; screen_sharing_dir = /var/spool/sylkserver/screensharing |
||
| 122 | |||
| 123 | ; IP address used for serving Screen Sharing HTTP requests, empty string means listen on interface used |
||
| 124 | ; by the default route |
||
| 125 | ; screen_sharing_ip = |
||
| 126 | |||
| 127 | ; Port where Screen Sharing HTTP server will listen on, set to 0 for random |
||
| 128 | ; screen_sharing_port = 0 |
||
| 129 | |||
| 130 | ; Use HTTPS instead of HTTP |
||
| 131 | ; screen_sharing_use_https = True |
||
| 132 | |||
| 133 | ; Server certificate for HTTPS connections |
||
| 134 | ; screen_sharing_certificate = /etc/sylkserver/tls/default.crt |
||
| 135 | |||
| 136 | ; Advertise the conference server and each room in Bonjour |
||
| 137 | ; use_bonjour = False |
||
| 138 | |||
| 139 | ; Access Lists Default Policy |
||
| 140 | ; Apache-style access lists for the caller using SIP domains or SIP URIs |
||
| 141 | ; https://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#order |
||
| 142 | ; |
||
| 143 | ; access_policy = allow, deny |
||
| 144 | ; allow = all |
||
| 145 | ; deny = none |
||
| 146 | |||
| 147 | ; Access Lists can be applied per room overriding the Default Policy |
||
| 148 | ; |
||
| 149 | ; [test@domain.com] |
||
| 150 | ; access_policy = allow, deny |
||
| 151 | ; allow = example.com, test@domain.com |
||
| 152 | ; deny = all |
||
| 153 | |||
| 154 | </pre> |
||
| 155 | |||
| 156 | 6 | Adrian Georgescu | h3. XMPP gateway |
| 157 | 3 | Adrian Georgescu | |
| 158 | To change the default settings copy xmppgateway.ini.sample to /etc/sylkserver/xmppgateway.ini |
||
| 159 | |||
| 160 | 1 | Adrian Georgescu | |
| 161 | <pre> |
||
| 162 | ; SylkServer XMPP gateway application configuration file |
||
| 163 | |||
| 164 | [general] |
||
| 165 | |||
| 166 | ; Comma-separated list of domains for which this server is responsible |
||
| 167 | ; Add the xmmp-server records into the DNS server responsable for these domains |
||
| 168 | ; At least one domain is required! |
||
| 169 | ; domains = |
||
| 170 | |||
| 171 | ; The following settings are the default used by the software, uncomment |
||
| 172 | ; them only if you want to make changes |
||
| 173 | |||
| 174 | ; Prefix that will be appended to all domains in the above setting, which will |
||
| 175 | ; be used as a Multi User Chat (MUC) component |
||
| 176 | ; muc_prefix = conference |
||
| 177 | |||
| 178 | ; IP address used for listening to XMPP connections; empty string or any means listen on interface used |
||
| 179 | ; by the default route |
||
| 180 | ; local_ip = |
||
| 181 | |||
| 182 | ; local_port = 5269 |
||
| 183 | |||
| 184 | ; If set to True (default) MSRP will be used to translate XMPP Instant Messaging, else SIP MESSAGE will be used |
||
| 185 | ; Note: XMPP 'normal' messages (not chat messages) are always translated to SIP MESSAGE requests |
||
| 186 | ; use_msrp_for_chat = True |
||
| 187 | |||
| 188 | ; Timeout to terminate a SIP session if no chat traffic was received |
||
| 189 | ; sip_session_timeout = 600 |
||
| 190 | |||
| 191 | ; Enable verbose logging of XMPP stantzas |
||
| 192 | ; trace_xmpp = False |
||
| 193 | </pre> |
||
| 194 | |||
| 195 | |||
| 196 | 6 | Adrian Georgescu | h3. IRC |
| 197 | 5 | Adrian Georgescu | |
| 198 | To change the default settings copy ircconference.ini.sample to /etc/sylkserver/ircconference.ini |
||
| 199 | |||
| 200 | <pre> |
||
| 201 | [123] |
||
| 202 | channel = test |
||
| 203 | server = irc.freenode.net:6667 |
||
| 204 | </pre> |