Project

General

Profile

Configuration » History » Version 1

Adrian Georgescu, 07/12/2012 04:42 PM

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