Utilisateurs/VoIP.md
... ...
@@ -0,0 +1,186 @@
1
+VoIP
2
+======
3
+
4
+## Serveur Jabber de messagerie
5
+
6
+Ce service est en cours de déploiement, et pour le moment ne relie que des utilisateurs internes du ResEL. Il utilise une base MySQL pour stocker les informations des utilisateurs qui s'y connectent, mais prend sa source d'identification dans le LDAP.
7
+
8
+Comme ce service est encore très expérimental, je vais plutôt parler du patch que j'ai réalisé pour qu'on puisse s'authentifier avec soit l'uid, soit le hash du LDAP.
9
+
10
+Il ne faut donc pas se fier aux lignes présentes dans le `/etc/c2s.xml`, elles ne sont que partiellement prises en compte. En particulier, le champ username n'est plus utilisé, car j'ai hardcodé la recherche sur l'uid et le hash, et les deux renvoient maintenant vers le même utilisateur (heureusement...), qui est uid@jabber.resel.enst-bretagne.fr
11
+
12
+
13
+## Mumble
14
+
15
+### Configuration du Mumble
16
+
17
+Le service se nomme mumble-server.
18
+
19
+Pour relancer le serveur (et recharger la conf au passage) :
20
+```
21
+/etc/init.d/mumble-server restart
22
+```
23
+
24
+Le serveur écoute sur le port 64738 dans le VLAN 994.
25
+Les échanges avec les utilisateurs dans le vlan 999 sont font par la GrandOurs.
26
+
27
+Pour configurer le mot de passe SuperUser, il faut faire un :
28
+```
29
+dkpg-reconfigure mumble-server
30
+```
31
+
32
+Le fichier de configuration est disponible sur le svn : http://svn.resel.fr/confs/mumble/mumble-server.ini
33
+
34
+`/etc/mumble-server.ini -> /etc/mumble/mumble-server.ini`
35
+```
36
+# Path to database. If blank, will search for
37
+# murmur.sqlite in default locations or create it if not found.
38
+database=/var/lib/mumble-server/mumble-server.sqlite
39
+
40
+# If you wish to use something other than SQLite, you'll need to set the name
41
+# of the database above, and also uncomment the below.
42
+# Sticking with SQLite is strongly recommended, as it's the most well tested
43
+# and by far the fastest solution.
44
+#
45
+#dbDriver=QMYSQL
46
+#dbUsername=
47
+#dbPassword=
48
+#dbHost=
49
+#dbPort=
50
+#dbPrefix=murmur_
51
+#dbOpts=
52
+
53
+# Murmur defaults to not using D-Bus. If you wish to use dbus, which is one of the
54
+# RPC methods available in murmur, please specify so here.
55
+#
56
+dbus=system
57
+
58
+# Alternate service name. Only use if you are running distinct
59
+# murmurd processes connected to the same D-Bus daemon.
60
+#dbusservice=net.sourceforge.mumble.murmur
61
+
62
+# If you want to use ZeroC Ice to communicate with Murmur, you need
63
+# to specify the endpoint to use. Since there is no authentication
64
+# with ICE, you should only use it if you trust all the users who have
65
+# shell access to your machine.
66
+# Please see the ICE documentation on how to specify endpoints.
67
+ice="tcp -h 127.0.0.1 -p 6502"
68
+
69
+# Ice primarily uses local sockets. This means anyone who has a
70
+# user account on your machine can connect to the Ice services.
71
+# You can set a plaintext "secret" on the Ice conntection, and
72
+# any script attempting to access must then have this secret.
73
+#icesecret=
74
+
75
+# How many login attempts do we tolerate from one IP
76
+# inside a given timeframe before we ban the connection?
77
+# Note that this is global (shared between all virtual servers), and that
78
+# it counts both successfull and unsuccessfull connection attempts.
79
+# Set either Attempts or Timeframe to 0 to disable.
80
+#autobanAttempts = 10
81
+#autobanTimeframe = 120
82
+#autobanTime = 300
83
+
84
+# Murmur default to logging to murmur.log. If you leave this blank,
85
+# murmur will log to the console (linux) or through message boxes (win32).
86
+logfile=/var/log/mumble-server/mumble-server.log
87
+
88
+# If set, murmur will write its process ID to this file.
89
+pidfile=/var/run/mumble-server/mumble-server.pid
90
+
91
+# The below will be used as defaults for new configured servers.
92
+# If you're just running one server (the default), it's easier to
93
+# configure it here than through D-Bus or Ice.
94
+#
95
+# Welcome message sent to clients when they connect
96
+welcometext="<br />Bienvenue sur le serveur Mumble du <b>ResEl</b>.<br />Enjoy !<br />"
97
+
98
+# Port to bind TCP and UDP sockets to
99
+port=64738
100
+
101
+# Specific IP or hostname to bind to.
102
+# If this is left blank (default), murmur will bind to all available addresses.
103
+host=mumble.pub.maisel.enst-bretagne.fr
104
+
105
+# Password to join server
106
+serverpassword=
107
+
108
+# Maximum bandwidth (in bits per second) clients are allowed
109
+# to send speech at.
110
+bandwidth=72000
111
+
112
+# Maximum number of concurrent clients allowed.
113
+users=100
114
+
115
+# Regular expression used to validate channel names
116
+# (note that you have to escape backslashes with \ )
117
+#channelname=[ \\-=\\w\\#\\[\\]\\{\\}\\(\\)\\@\\|]+
118
+
119
+# Regular expression used to validate user names
120
+# (note that you have to escape backslashes with \ )
121
+#username=[-=\\w\\[\\]\\{\\}\\(\\)\\@\\|\\.]+
122
+
123
+# Maximum length of text messages in characters. 0 for no limit.
124
+#textmessagelength=5000
125
+
126
+# Maximum length of text messages in characters, with image data. 0 for no limit.
127
+#imagemessagelength=131072
128
+
129
+# Allow clients to use HTML in messages, user comments and channel descriptions?
130
+#allowhtml=true
131
+
132
+# Murmur retains the per-server log entries in an internal database which
133
+# allows it to be accessed over D-Bus/ICE.
134
+# How many days should such entries be kept?
135
+#logdays=31
136
+
137
+# To enable public server registration, the serverpassword must be blank, and
138
+# this must all be filled out.
139
+# The password here is used to create a registry for the server name; subsequent
140
+# updates will need the same password. Don't lose your password.
141
+# The URL is your own website, and only set the registerHostname for static IP
142
+# addresses.
143
+#
144
+#registerName=Mumble Server
145
+#registerPassword=secret
146
+#registerUrl=http://mumble.sourceforge.net/
147
+#registerHostname=
148
+
149
+# To enable bonjour service discovery uncomment the following line.
150
+# To change the name announced by bonjour adjust the registerName variable.
151
+# See http://developer.apple.com/networking/bonjour/index.html for more information
152
+# about bonjour.
153
+#bonjour=True
154
+
155
+# If you have a proper SSL certificate, you can provide the filenames here.
156
+#sslCert=
157
+#sslKey=
158
+
159
+# If murmur is started as root, which user should it switch to?
160
+# This option is ignored if murmur isn't started with root privileges.
161
+uname=mumble-server
162
+
163
+# If this options is enabled, only clients which have a certificate are allowed
164
+# to connect.
165
+#certrequired=False
166
+
167
+# You can configure any of the configuration options for Ice here. We recommend
168
+# leave the defaults as they are.
169
+# Please note that this section has to be last in the configuration file.
170
+#
171
+[Ice]
172
+Ice.Warn.UnknownProperties=1
173
+Ice.MessageSizeMax=65536
174
+```
175
+
176
+## Ressources utiles
177
+TODO
178
+
179
+## Articles liés
180
+TODO
181
+
182
+## TODO (rédacteur)
183
+* Contextualiser un peu la page, (serveurs...)
184
+* Séparer en 2 articles avant que la doc ne soit trop longue
185
+* Ajouter les ressources utiles et les articles en liens
186
+