Configuration » History » Version 5
  Adrian Georgescu, 07/12/2012 04:46 PM 
  
| 1 | 1 | Adrian Georgescu | h1. Configuration | 
|---|---|---|---|
| 2 | |||
| 3 | h2. General settings | ||
| 4 | |||
| 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 | h2. Conference settings | ||
| 91 | |||
| 92 | 3 | Adrian Georgescu | To change the default settings copy conference.ini.sample to /etc/sylkserver/conference.ini | 
| 93 | |||
| 94 | |||
| 95 | 1 | Adrian Georgescu | <pre> | 
| 96 | ; SylkServer Conference application configuration file | ||
| 97 | |||
| 98 | [Conference] | ||
| 99 | |||
| 100 | ; The following settings are the default used by the software, uncomment them | ||
| 101 | ; only if you want to make changes | ||
| 102 | |||
| 103 | ; db_uri = sqlite:///var/lib/sylkserver/conference.sqlite | ||
| 104 | |||
| 105 | ; Database table name for storing messages history | ||
| 106 | ; history_table = message_history | ||
| 107 | |||
| 108 | ; Replay last chat messages after joining a room | ||
| 109 | ; replay_history = 20 | ||
| 110 | |||
| 111 | ; Directory for storing files transferred to rooms (a subdirectory for each room will be created) | ||
| 112 | ; file_transfer_dir = /var/spool/sylkserver | ||
| 113 | |||
| 114 | ; File transfer push support. If enabled files will be pushed to all active | ||
| 115 | ; participants after receiving the file | ||
| 116 | ; push_file_transfer = False | ||
| 117 | |||
| 118 | ; Directory where images use by the Screen Sharing functionality will be stored | ||
| 119 | ; screen_sharing_dir = /var/spool/sylkserver/screensharing | ||
| 120 | |||
| 121 | ; IP address used for serving Screen Sharing HTTP requests, empty string means listen on interface used | ||
| 122 | ; by the default route | ||
| 123 | ; screen_sharing_ip = | ||
| 124 | |||
| 125 | ; Port where Screen Sharing HTTP server will listen on, set to 0 for random | ||
| 126 | ; screen_sharing_port = 0 | ||
| 127 | |||
| 128 | ; Use HTTPS instead of HTTP | ||
| 129 | ; screen_sharing_use_https = True | ||
| 130 | |||
| 131 | ; Server certificate for HTTPS connections | ||
| 132 | ; screen_sharing_certificate = /etc/sylkserver/tls/default.crt | ||
| 133 | |||
| 134 | ; Advertise the conference server and each room in Bonjour | ||
| 135 | ; use_bonjour = False | ||
| 136 | |||
| 137 | ; Access Lists Default Policy | ||
| 138 | ; Apache-style access lists for the caller using SIP domains or SIP URIs | ||
| 139 | ; https://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#order | ||
| 140 | ; | ||
| 141 | ; access_policy = allow, deny | ||
| 142 | ; allow = all | ||
| 143 | ; deny = none | ||
| 144 | |||
| 145 | ; Access Lists can be applied per room overriding the Default Policy | ||
| 146 | ; | ||
| 147 | ; [test@domain.com] | ||
| 148 | ; access_policy = allow, deny | ||
| 149 | ; allow = example.com, test@domain.com | ||
| 150 | ; deny = all | ||
| 151 | |||
| 152 | </pre> | ||
| 153 | |||
| 154 | 4 | Adrian Georgescu | h2. XMPP gateway settings | 
| 155 | 3 | Adrian Georgescu | |
| 156 | To change the default settings copy xmppgateway.ini.sample to /etc/sylkserver/xmppgateway.ini | ||
| 157 | |||
| 158 | 1 | Adrian Georgescu | |
| 159 | <pre> | ||
| 160 | ; SylkServer XMPP gateway application configuration file | ||
| 161 | |||
| 162 | [general] | ||
| 163 | |||
| 164 | ; Comma-separated list of domains for which this server is responsible | ||
| 165 | ; Add the xmmp-server records into the DNS server responsable for these domains | ||
| 166 | ; At least one domain is required! | ||
| 167 | ; domains = | ||
| 168 | |||
| 169 | ; The following settings are the default used by the software, uncomment | ||
| 170 | ; them only if you want to make changes | ||
| 171 | |||
| 172 | ; Prefix that will be appended to all domains in the above setting, which will | ||
| 173 | ; be used as a Multi User Chat (MUC) component | ||
| 174 | ; muc_prefix = conference | ||
| 175 | |||
| 176 | ; IP address used for listening to XMPP connections; empty string or any means listen on interface used | ||
| 177 | ; by the default route | ||
| 178 | ; local_ip = | ||
| 179 | |||
| 180 | ; local_port = 5269 | ||
| 181 | |||
| 182 | ; If set to True (default) MSRP will be used to translate XMPP Instant Messaging, else SIP MESSAGE will be used | ||
| 183 | ; Note: XMPP 'normal' messages (not chat messages) are always translated to SIP MESSAGE requests | ||
| 184 | ; use_msrp_for_chat = True | ||
| 185 | |||
| 186 | ; Timeout to terminate a SIP session if no chat traffic was received | ||
| 187 | ; sip_session_timeout = 600 | ||
| 188 | |||
| 189 | ; Enable verbose logging of XMPP stantzas | ||
| 190 | ; trace_xmpp = False | ||
| 191 | </pre> | ||
| 192 | |||
| 193 | |||
| 194 | 5 | Adrian Georgescu | h2. IRC settings | 
| 195 | |||
| 196 | To change the default settings copy ircconference.ini.sample to /etc/sylkserver/ircconference.ini | ||
| 197 | |||
| 198 | <pre> | ||
| 199 | [123] | ||
| 200 | channel = test | ||
| 201 | server = irc.freenode.net:6667 | ||
| 202 | </pre> |