Browse code

- database tables for i18n

Jan Janak authored on 21/11/2005 16:53:08
Showing 11 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,525 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE data PUBLIC "-//iptel.org//DTD DBSchema V1.0//EN"
3
+  "http://iptel.org/dbschema/dtd/1.0/dbschema.dtd" [
4
+
5
+<!ENTITY % entities SYSTEM "entities.xml">
6
+%entities;
7
+
8
+]>
9
+<data>
10
+    <row>
11
+	<value col="i18n.code">100</value>
12
+	<value col="i18n.lang">cs_CZ.ascii</value>
13
+	<value col="i18n.nr">Navazuji spojeni</value>
14
+    </row>
15
+    <row>
16
+	<value col="i18n.code">180</value>
17
+	<value col="i18n.lang">cs_CZ.ascii</value>
18
+	<value col="i18n.nr">Vyzvani</value>
19
+    </row>
20
+    <row>
21
+	<value col="i18n.code">181</value>
22
+	<value col="i18n.lang">cs_CZ.ascii</value>
23
+	<value col="i18n.nr">Hovor je presmerovan</value>
24
+    </row>
25
+
26
+    <row>
27
+	<value col="i18n.code">182</value>
28
+	<value col="i18n.lang">cs_CZ.ascii</value>
29
+	<value col="i18n.nr">Jste v poradi</value>
30
+    </row>
31
+    <row>
32
+	<value col="i18n.code">183</value>
33
+	<value col="i18n.lang">cs_CZ.ascii</value>
34
+	<value col="i18n.nr">Probiha navazovani spojeni</value>
35
+    </row>
36
+    <row>
37
+	<value col="i18n.code">200</value>
38
+	<value col="i18n.lang">cs_CZ.ascii</value>
39
+	<value col="i18n.nr">Uspesne provedeno</value>
40
+    </row>
41
+    <row>
42
+	<value col="i18n.code">202</value>
43
+	<value col="i18n.lang">cs_CZ.ascii</value>
44
+	<value col="i18n.nr">Bude vyrizeno pozdeji</value>
45
+    </row>
46
+    <row>
47
+	<value col="i18n.code">300</value>
48
+	<value col="i18n.lang">cs_CZ.ascii</value>
49
+	<value col="i18n.nr">Existuje vice moznosti</value>
50
+    </row>
51
+    <row>
52
+	<value col="i18n.code">301</value>
53
+	<value col="i18n.lang">cs_CZ.ascii</value>
54
+	<value col="i18n.nr">Trvale presmerovano</value>
55
+    </row>
56
+    <row>
57
+	<value col="i18n.code">302</value>
58
+	<value col="i18n.lang">cs_CZ.ascii</value>
59
+	<value col="i18n.nr">Docasne presmerovano</value>
60
+    </row>
61
+    <row>
62
+	<value col="i18n.code">305</value>
63
+	<value col="i18n.lang">cs_CZ.ascii</value>
64
+	<value col="i18n.nr">Pouzijte jiny server</value>
65
+    </row>
66
+    <row>
67
+	<value col="i18n.code">380</value>
68
+	<value col="i18n.lang">cs_CZ.ascii</value>
69
+	<value col="i18n.nr">Alternativni sluzba</value>
70
+    </row>
71
+    <row>
72
+	<value col="i18n.code">400</value>
73
+	<value col="i18n.lang">cs_CZ.ascii</value>
74
+	<value col="i18n.nr">Chyba protokolu</value>
75
+    </row>
76
+    <row>
77
+	<value col="i18n.code">401</value>
78
+	<value col="i18n.lang">cs_CZ.ascii</value>
79
+	<value col="i18n.nr">Overeni totoznosti</value>
80
+    </row>
81
+    <row>
82
+	<value col="i18n.code">402</value>
83
+	<value col="i18n.lang">cs_CZ.ascii</value>
84
+	<value col="i18n.nr">Placena sluzba</value>
85
+    </row>
86
+    <row>
87
+	<value col="i18n.code">403</value>
88
+	<value col="i18n.lang">cs_CZ.ascii</value>
89
+	<value col="i18n.nr">Zakazano</value>
90
+    </row>
91
+    <row>
92
+	<value col="i18n.code">404</value>
93
+	<value col="i18n.lang">cs_CZ.ascii</value>
94
+	<value col="i18n.nr">Nenalezeno</value>
95
+    </row>
96
+    <row>
97
+	<value col="i18n.code">405</value>
98
+	<value col="i18n.lang">cs_CZ.ascii</value>
99
+	<value col="i18n.nr">Nepovoleny prikaz</value>
100
+    </row>    
101
+    <row>
102
+	<value col="i18n.code">406</value>
103
+	<value col="i18n.lang">cs_CZ.ascii</value>
104
+	<value col="i18n.nr">Neni povoleno</value>
105
+    </row>
106
+    <row>
107
+	<value col="i18n.code">407</value>
108
+	<value col="i18n.lang">cs_CZ.ascii</value>
109
+	<value col="i18n.nr">Server vyzaduje overeni totoznosti</value>
110
+    </row>
111
+    <row>
112
+	<value col="i18n.code">408</value>
113
+	<value col="i18n.lang">cs_CZ.ascii</value>
114
+	<value col="i18n.nr">Casovy limit vyprsel</value>
115
+    </row>
116
+    <row>
117
+	<value col="i18n.code">410</value>
118
+	<value col="i18n.lang">cs_CZ.ascii</value>
119
+	<value col="i18n.nr">Nenalezeno</value>
120
+    </row>
121
+    <row>
122
+	<value col="i18n.code">413</value>
123
+	<value col="i18n.lang">cs_CZ.ascii</value>
124
+	<value col="i18n.nr">Prilis dlouhy identifikator</value>
125
+    </row>
126
+    <row>
127
+	<value col="i18n.code">414</value>
128
+	<value col="i18n.lang">cs_CZ.ascii</value>
129
+	<value col="i18n.nr">Request-URI je prilis dlouhe</value>
130
+    </row>
131
+    <row>
132
+	<value col="i18n.code">415</value>
133
+	<value col="i18n.lang">cs_CZ.ascii</value>
134
+	<value col="i18n.nr">Nepodporovany typ dat</value>
135
+    </row>
136
+    <row>
137
+	<value col="i18n.code">416</value>
138
+	<value col="i18n.lang">cs_CZ.ascii</value>
139
+	<value col="i18n.nr">Nepodporovany typ identifikatoru</value>
140
+    </row>
141
+    <row>
142
+	<value col="i18n.code">420</value>
143
+	<value col="i18n.lang">cs_CZ.ascii</value>
144
+	<value col="i18n.nr">Neplatne cislo linky</value>
145
+    </row>
146
+    <row>
147
+	<value col="i18n.code">421</value>
148
+	<value col="i18n.lang">cs_CZ.ascii</value>
149
+	<value col="i18n.nr">Zadejte cislo linky</value>
150
+    </row>
151
+    <row>
152
+	<value col="i18n.code">423</value>
153
+	<value col="i18n.lang">cs_CZ.ascii</value>
154
+	<value col="i18n.nr">Prilis kratky interval</value>
155
+    </row>
156
+    <row>
157
+	<value col="i18n.code">480</value>
158
+	<value col="i18n.lang">cs_CZ.ascii</value>
159
+	<value col="i18n.nr">Docasne nedostupne</value>
160
+    </row>
161
+    <row>
162
+	<value col="i18n.code">481</value>
163
+	<value col="i18n.lang">cs_CZ.ascii</value>
164
+	<value col="i18n.nr">Spojeni nenalezeno</value>
165
+    </row>
166
+    <row>
167
+	<value col="i18n.code">482</value>
168
+	<value col="i18n.lang">cs_CZ.ascii</value>
169
+	<value col="i18n.nr">Zprava se zacyklila</value>
170
+    </row>
171
+    <row>
172
+	<value col="i18n.code">483</value>
173
+	<value col="i18n.lang">cs_CZ.ascii</value>
174
+	<value col="i18n.nr">Prilis mnoho kroku</value>
175
+    </row>
176
+    <row>
177
+	<value col="i18n.code">484</value>
178
+	<value col="i18n.lang">cs_CZ.ascii</value>
179
+	<value col="i18n.nr">Neuplna adresa</value>
180
+    </row>
181
+    <row>
182
+	<value col="i18n.code">485</value>
183
+	<value col="i18n.lang">cs_CZ.ascii</value>
184
+	<value col="i18n.nr">Nejednoznacne</value>
185
+    </row>
186
+    <row>
187
+	<value col="i18n.code">486</value>
188
+	<value col="i18n.lang">cs_CZ.ascii</value>
189
+	<value col="i18n.nr">Volany je zaneprazdnen</value>
190
+    </row>
191
+    <row>
192
+	<value col="i18n.code">487</value>
193
+	<value col="i18n.lang">cs_CZ.ascii</value>
194
+	<value col="i18n.nr">Prikaz predcasne ukoncen</value>
195
+    </row>
196
+    <row>
197
+	<value col="i18n.code">488</value>
198
+	<value col="i18n.lang">cs_CZ.ascii</value>
199
+	<value col="i18n.nr">Nebylo akceptovano</value>
200
+    </row>
201
+    <row>
202
+	<value col="i18n.code">491</value>
203
+	<value col="i18n.lang">cs_CZ.ascii</value>
204
+	<value col="i18n.nr">Cekam na odpoved</value>
205
+    </row>
206
+    <row>
207
+	<value col="i18n.code">493</value>
208
+	<value col="i18n.lang">cs_CZ.ascii</value>
209
+	<value col="i18n.nr">Nelze dekodovat</value>
210
+    </row>
211
+    <row>
212
+	<value col="i18n.code">500</value>
213
+	<value col="i18n.lang">cs_CZ.ascii</value>
214
+	<value col="i18n.nr">Interni chyba serveru</value>
215
+    </row>
216
+    <row>
217
+	<value col="i18n.code">501</value>
218
+	<value col="i18n.lang">cs_CZ.ascii</value>
219
+	<value col="i18n.nr">Neni implementovano</value>
220
+    </row>
221
+    <row>
222
+	<value col="i18n.code">502</value>
223
+	<value col="i18n.lang">cs_CZ.ascii</value>
224
+	<value col="i18n.nr">Chybna brana</value>
225
+    </row>
226
+    <row>
227
+	<value col="i18n.code">503</value>
228
+	<value col="i18n.lang">cs_CZ.ascii</value>
229
+	<value col="i18n.nr">Sluzba neni dostupna</value>
230
+    </row>
231
+    <row>
232
+	<value col="i18n.code">504</value>
233
+	<value col="i18n.lang">cs_CZ.ascii</value>
234
+	<value col="i18n.nr">Casovy limit serveru vyprsel</value>
235
+    </row>
236
+    <row>
237
+	<value col="i18n.code">505</value>
238
+	<value col="i18n.lang">cs_CZ.ascii</value>
239
+	<value col="i18n.nr">Nepodporovana verze protokolu</value>
240
+    </row>
241
+    <row>
242
+	<value col="i18n.code">513</value>
243
+	<value col="i18n.lang">cs_CZ.ascii</value>
244
+	<value col="i18n.nr">Zprava je prilis dlouha</value>
245
+    </row>
246
+    <row>
247
+	<value col="i18n.code">600</value>
248
+	<value col="i18n.lang">cs_CZ.ascii</value>
249
+	<value col="i18n.nr">Uzivatel je zaneprazdnen</value>
250
+    </row>
251
+    <row>
252
+	<value col="i18n.code">603</value>
253
+	<value col="i18n.lang">cs_CZ.ascii</value>
254
+	<value col="i18n.nr">Odmitnuto</value>
255
+    </row>
256
+    <row>
257
+	<value col="i18n.code">604</value>
258
+	<value col="i18n.lang">cs_CZ.ascii</value>
259
+	<value col="i18n.nr">Neexistujici uzivatel nebo sluzba</value>
260
+    </row>
261
+    <row>
262
+	<value col="i18n.code">606</value>
263
+	<value col="i18n.lang">cs_CZ.ascii</value>
264
+	<value col="i18n.nr">Nelze akceptovat</value>
265
+    </row>
266
+
267
+<!--
268
+
269
+    <row>
270
+	<value col="i18n.code">100</value>
271
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
272
+	<value col="i18n.nr">Navazuji spojeni</value>
273
+    </row>
274
+    <row>
275
+	<value col="i18n.code">180</value>
276
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
277
+	<value col="i18n.nr">Vyzvani</value>
278
+    </row>
279
+    <row>
280
+	<value col="i18n.code">181</value>
281
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
282
+	<value col="i18n.nr">Hovor je presmerovan</value>
283
+    </row>
284
+    <row>
285
+	<value col="i18n.code">182</value>
286
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
287
+	<value col="i18n.nr">Jste v poradi</value>
288
+    </row>
289
+    <row>
290
+	<value col="i18n.code">183</value>
291
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
292
+	<value col="i18n.nr">Probiha navazovani spojeni</value>
293
+    </row>
294
+    <row>
295
+	<value col="i18n.code">200</value>
296
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
297
+	<value col="i18n.nr">Uspesne provedeno</value>
298
+    </row>
299
+    <row>
300
+	<value col="i18n.code">202</value>
301
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
302
+	<value col="i18n.nr">Bude vyrizeno pozdeji</value>
303
+    </row>
304
+    <row>
305
+	<value col="i18n.code">300</value>
306
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
307
+	<value col="i18n.nr">Existuje vice moznosti</value>
308
+    </row>
309
+    <row>
310
+	<value col="i18n.code">301</value>
311
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
312
+	<value col="i18n.nr">Trvale presmerovano</value>
313
+    </row>
314
+    <row>
315
+	<value col="i18n.code">302</value>
316
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
317
+	<value col="i18n.nr">Docasne presmerovano</value>
318
+    </row>
319
+    <row>
320
+	<value col="i18n.code">305</value>
321
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
322
+	<value col="i18n.nr">Pouzijte jiny server</value>
323
+    </row>
324
+    <row>
325
+	<value col="i18n.code">380</value>
326
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
327
+	<value col="i18n.nr">Alternativni sluzba</value>
328
+    </row>
329
+    <row>
330
+	<value col="i18n.code">400</value>
331
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
332
+	<value col="i18n.nr">Chyba protokolu</value>
333
+    </row>
334
+    <row>
335
+	<value col="i18n.code">401</value>
336
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
337
+	<value col="i18n.nr">Overeni totoznosti</value>
338
+    </row>
339
+    <row>
340
+	<value col="i18n.code">402</value>
341
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
342
+	<value col="i18n.nr">Placena sluzba</value>
343
+    </row>
344
+    <row>
345
+	<value col="i18n.code">403</value>
346
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
347
+	<value col="i18n.nr">Zakazano</value>
348
+    </row>
349
+    <row>
350
+	<value col="i18n.code">404</value>
351
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
352
+	<value col="i18n.nr">Nenalezeno</value>
353
+    </row>
354
+    <row>
355
+	<value col="i18n.code">405</value>
356
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
357
+	<value col="i18n.nr">Nepovoleny prikaz</value>
358
+    </row>    
359
+    <row>
360
+	<value col="i18n.code">406</value>
361
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
362
+	<value col="i18n.nr">Neni povoleno</value>
363
+    </row>
364
+    <row>
365
+	<value col="i18n.code">407</value>
366
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
367
+	<value col="i18n.nr">Server vyzaduje overeni totoznosti</value>
368
+    </row>
369
+    <row>
370
+	<value col="i18n.code">408</value>
371
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
372
+	<value col="i18n.nr">Casovy limit vyprsel</value>
373
+    </row>
374
+    <row>
375
+	<value col="i18n.code">410</value>
376
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
377
+	<value col="i18n.nr">Nenalezeno</value>
378
+    </row>
379
+    <row>
380
+	<value col="i18n.code">413</value>
381
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
382
+	<value col="i18n.nr">Prilis dlouhy identifikator</value>
383
+    </row>
384
+    <row>
385
+	<value col="i18n.code">414</value>
386
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
387
+	<value col="i18n.nr">Request-URI je prilis dlouhe</value>
388
+    </row>
389
+    <row>
390
+	<value col="i18n.code">415</value>
391
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
392
+	<value col="i18n.nr">Nepodporovany typ dat</value>
393
+    </row>
394
+    <row>
395
+	<value col="i18n.code">416</value>
396
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
397
+	<value col="i18n.nr">Nepodporovany typ identifikatoru</value>
398
+    </row>
399
+    <row>
400
+	<value col="i18n.code">420</value>
401
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
402
+	<value col="i18n.nr">Neplatne cislo linky</value>
403
+    </row>
404
+    <row>
405
+	<value col="i18n.code">421</value>
406
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
407
+	<value col="i18n.nr">Zadejte cislo linky</value>
408
+    </row>
409
+    <row>
410
+	<value col="i18n.code">423</value>
411
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
412
+	<value col="i18n.nr">Prilis kratky interval</value>
413
+    </row>
414
+    <row>
415
+	<value col="i18n.code">480</value>
416
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
417
+	<value col="i18n.nr">Docasne nedostupne</value>
418
+    </row>
419
+    <row>
420
+	<value col="i18n.code">481</value>
421
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
422
+	<value col="i18n.nr">Spojeni nenalezeno</value>
423
+    </row>
424
+    <row>
425
+	<value col="i18n.code">482</value>
426
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
427
+	<value col="i18n.nr">Zprava se zacyklila</value>
428
+    </row>
429
+    <row>
430
+	<value col="i18n.code">483</value>
431
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
432
+	<value col="i18n.nr">Prilis mnoho kroku</value>
433
+    </row>
434
+    <row>
435
+	<value col="i18n.code">484</value>
436
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
437
+	<value col="i18n.nr">Neuplna adresa</value>
438
+    </row>
439
+    <row>
440
+	<value col="i18n.code">485</value>
441
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
442
+	<value col="i18n.nr">Nejednoznacne</value>
443
+    </row>
444
+    <row>
445
+	<value col="i18n.code">486</value>
446
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
447
+	<value col="i18n.nr">Volany je zaneprazdnen</value>
448
+    </row>
449
+    <row>
450
+	<value col="i18n.code">487</value>
451
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
452
+	<value col="i18n.nr">Prikaz predcasne ukoncen</value>
453
+    </row>
454
+    <row>
455
+	<value col="i18n.code">488</value>
456
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
457
+	<value col="i18n.nr">Nebylo akceptovano</value>
458
+    </row>
459
+    <row>
460
+	<value col="i18n.code">491</value>
461
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
462
+	<value col="i18n.nr">Cekam na odpoved</value>
463
+    </row>
464
+    <row>
465
+	<value col="i18n.code">493</value>
466
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
467
+	<value col="i18n.nr">Nelze dekodovat</value>
468
+    </row>
469
+    <row>
470
+	<value col="i18n.code">500</value>
471
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
472
+	<value col="i18n.nr">Interni chyba serveru</value>
473
+    </row>
474
+    <row>
475
+	<value col="i18n.code">501</value>
476
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
477
+	<value col="i18n.nr">Neni implementovano</value>
478
+    </row>
479
+    <row>
480
+	<value col="i18n.code">502</value>
481
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
482
+	<value col="i18n.nr">Chybna brana</value>
483
+    </row>
484
+    <row>
485
+	<value col="i18n.code">503</value>
486
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
487
+	<value col="i18n.nr">Sluzba neni dostupna</value>
488
+    </row>
489
+    <row>
490
+	<value col="i18n.code">504</value>
491
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
492
+	<value col="i18n.nr">Casovy limit serveru vyprsel</value>
493
+    </row>
494
+    <row>
495
+	<value col="i18n.code">505</value>
496
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
497
+	<value col="i18n.nr">Nepodporovana verze protokolu</value>
498
+    </row>
499
+    <row>
500
+	<value col="i18n.code">513</value>
501
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
502
+	<value col="i18n.nr">Zprava je prilis dlouha</value>
503
+    </row>
504
+    <row>
505
+	<value col="i18n.code">600</value>
506
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
507
+	<value col="i18n.nr">Uzivatel je zaneprazdnen</value>
508
+    </row>
509
+    <row>
510
+	<value col="i18n.code">603</value>
511
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
512
+	<value col="i18n.nr">Odmitnuto</value>
513
+    </row>
514
+    <row>
515
+	<value col="i18n.code">604</value>
516
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
517
+	<value col="i18n.nr">Neexistujici uzivatel nebo sluzba</value>
518
+    </row>
519
+    <row>
520
+	<value col="i18n.code">606</value>
521
+	<value col="i18n.lang">cs_CZ.iso-8859-2</value>
522
+	<value col="i18n.nr">Nelze akceptovat</value>
523
+    </row>
524
+-->
525
+</data>
0 526
new file mode 100644
... ...
@@ -0,0 +1,266 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE data PUBLIC "-//iptel.org//DTD DBSchema V1.0//EN"
3
+  "http://iptel.org/dbschema/dtd/1.0/dbschema.dtd" [
4
+
5
+<!ENTITY % entities SYSTEM "entities.xml">
6
+%entities;
7
+
8
+]>
9
+<data>
10
+    <row>
11
+	<value col="i18n.code">100</value>
12
+	<value col="i18n.lang">en_US.ascii</value>
13
+	<value col="i18n.nr">Trying</value>
14
+    </row>
15
+    <row>
16
+	<value col="i18n.code">180</value>
17
+	<value col="i18n.lang">en_US.ascii</value>
18
+	<value col="i18n.nr">Ringing</value>
19
+    </row>
20
+    <row>
21
+	<value col="i18n.code">181</value>
22
+	<value col="i18n.lang">en_US.ascii</value>
23
+	<value col="i18n.nr">Call Is Being Forwarded</value>
24
+    </row>
25
+
26
+    <row>
27
+	<value col="i18n.code">182</value>
28
+	<value col="i18n.lang">en_US.ascii</value>
29
+	<value col="i18n.nr">Queued</value>
30
+    </row>
31
+    <row>
32
+	<value col="i18n.code">183</value>
33
+	<value col="i18n.lang">en_US.ascii</value>
34
+	<value col="i18n.nr">Session Progress</value>
35
+    </row>
36
+    <row>
37
+	<value col="i18n.code">200</value>
38
+	<value col="i18n.lang">en_US.ascii</value>
39
+	<value col="i18n.nr">OK</value>
40
+    </row>
41
+    <row>
42
+	<value col="i18n.code">202</value>
43
+	<value col="i18n.lang">en_US.ascii</value>
44
+	<value col="i18n.nr">Pending</value>
45
+    </row>
46
+    <row>
47
+	<value col="i18n.code">300</value>
48
+	<value col="i18n.lang">en_US.ascii</value>
49
+	<value col="i18n.nr">Multiple Choices</value>
50
+    </row>
51
+    <row>
52
+	<value col="i18n.code">301</value>
53
+	<value col="i18n.lang">en_US.ascii</value>
54
+	<value col="i18n.nr">Moved Permanently</value>
55
+    </row>
56
+    <row>
57
+	<value col="i18n.code">302</value>
58
+	<value col="i18n.lang">en_US.ascii</value>
59
+	<value col="i18n.nr">Moved Temporarily</value>
60
+    </row>
61
+    <row>
62
+	<value col="i18n.code">305</value>
63
+	<value col="i18n.lang">en_US.ascii</value>
64
+	<value col="i18n.nr">Use Proxy</value>
65
+    </row>
66
+    <row>
67
+	<value col="i18n.code">380</value>
68
+	<value col="i18n.lang">en_US.ascii</value>
69
+	<value col="i18n.nr">Alternative Service</value>
70
+    </row>
71
+    <row>
72
+	<value col="i18n.code">400</value>
73
+	<value col="i18n.lang">en_US.ascii</value>
74
+	<value col="i18n.nr">Bad Request</value>
75
+    </row>
76
+    <row>
77
+	<value col="i18n.code">401</value>
78
+	<value col="i18n.lang">en_US.ascii</value>
79
+	<value col="i18n.nr">Unauthorized</value>
80
+    </row>
81
+    <row>
82
+	<value col="i18n.code">402</value>
83
+	<value col="i18n.lang">en_US.ascii</value>
84
+	<value col="i18n.nr">Payment Required</value>
85
+    </row>
86
+    <row>
87
+	<value col="i18n.code">403</value>
88
+	<value col="i18n.lang">en_US.ascii</value>
89
+	<value col="i18n.nr">Forbidden</value>
90
+    </row>
91
+    <row>
92
+	<value col="i18n.code">404</value>
93
+	<value col="i18n.lang">en_US.ascii</value>
94
+	<value col="i18n.nr">Not Found</value>
95
+    </row>
96
+    <row>
97
+	<value col="i18n.code">405</value>
98
+	<value col="i18n.lang">en_US.ascii</value>
99
+	<value col="i18n.nr">Method Not Allowed</value>
100
+    </row>
101
+    <row>
102
+	<value col="i18n.code">406</value>
103
+	<value col="i18n.lang">en_US.ascii</value>
104
+	<value col="i18n.nr">Not Acceptable</value>
105
+    </row>
106
+    <row>
107
+	<value col="i18n.code">407</value>
108
+	<value col="i18n.lang">en_US.ascii</value>
109
+	<value col="i18n.nr">Proxy Authentication Required</value>
110
+    </row>
111
+    <row>
112
+	<value col="i18n.code">408</value>
113
+	<value col="i18n.lang">en_US.ascii</value>
114
+	<value col="i18n.nr">Request Timeout</value>
115
+    </row>
116
+    <row>
117
+	<value col="i18n.code">410</value>
118
+	<value col="i18n.lang">en_US.ascii</value>
119
+	<value col="i18n.nr">Gone</value>
120
+    </row>
121
+    <row>
122
+	<value col="i18n.code">413</value>
123
+	<value col="i18n.lang">en_US.ascii</value>
124
+	<value col="i18n.nr">Request Entity Too Large</value>
125
+    </row>
126
+    <row>
127
+	<value col="i18n.code">414</value>
128
+	<value col="i18n.lang">en_US.ascii</value>
129
+	<value col="i18n.nr">Request-URI Too Long</value>
130
+    </row>
131
+    <row>
132
+	<value col="i18n.code">415</value>
133
+	<value col="i18n.lang">en_US.ascii</value>
134
+	<value col="i18n.nr">Unsupported Media Type</value>
135
+    </row>
136
+    <row>
137
+	<value col="i18n.code">416</value>
138
+	<value col="i18n.lang">en_US.ascii</value>
139
+	<value col="i18n.nr">Unsupported URI Scheme</value>
140
+    </row>
141
+    <row>
142
+	<value col="i18n.code">420</value>
143
+	<value col="i18n.lang">en_US.ascii</value>
144
+	<value col="i18n.nr">Bad Extension</value>
145
+    </row>
146
+    <row>
147
+	<value col="i18n.code">421</value>
148
+	<value col="i18n.lang">en_US.ascii</value>
149
+	<value col="i18n.nr">Extension Required</value>
150
+    </row>
151
+    <row>
152
+	<value col="i18n.code">423</value>
153
+	<value col="i18n.lang">en_US.ascii</value>
154
+	<value col="i18n.nr">Interval Too Brief</value>
155
+    </row>
156
+    <row>
157
+	<value col="i18n.code">480</value>
158
+	<value col="i18n.lang">en_US.ascii</value>
159
+	<value col="i18n.nr">Temporarily Unavailable</value>
160
+    </row>
161
+    <row>
162
+	<value col="i18n.code">481</value>
163
+	<value col="i18n.lang">en_US.ascii</value>
164
+	<value col="i18n.nr">Call/Transaction Does Not Exist</value>
165
+    </row>
166
+    <row>
167
+	<value col="i18n.code">482</value>
168
+	<value col="i18n.lang">en_US.ascii</value>
169
+	<value col="i18n.nr">Loop Detected</value>
170
+    </row>
171
+    <row>
172
+	<value col="i18n.code">483</value>
173
+	<value col="i18n.lang">en_US.ascii</value>
174
+	<value col="i18n.nr">Too Many Hops</value>
175
+    </row>
176
+    <row>
177
+	<value col="i18n.code">484</value>
178
+	<value col="i18n.lang">en_US.ascii</value>
179
+	<value col="i18n.nr">Address Incomplete</value>
180
+    </row>
181
+    <row>
182
+	<value col="i18n.code">485</value>
183
+	<value col="i18n.lang">en_US.ascii</value>
184
+	<value col="i18n.nr">Ambiguous</value>
185
+    </row>
186
+    <row>
187
+	<value col="i18n.code">486</value>
188
+	<value col="i18n.lang">en_US.ascii</value>
189
+	<value col="i18n.nr">Busy Here</value>
190
+    </row>
191
+    <row>
192
+	<value col="i18n.code">487</value>
193
+	<value col="i18n.lang">en_US.ascii</value>
194
+	<value col="i18n.nr">Request Terminated</value>
195
+    </row>
196
+    <row>
197
+	<value col="i18n.code">488</value>
198
+	<value col="i18n.lang">en_US.ascii</value>
199
+	<value col="i18n.nr">Not Acceptable Here</value>
200
+    </row>
201
+    <row>
202
+	<value col="i18n.code">491</value>
203
+	<value col="i18n.lang">en_US.ascii</value>
204
+	<value col="i18n.nr">Request Pending</value>
205
+    </row>
206
+    <row>
207
+	<value col="i18n.code">493</value>
208
+	<value col="i18n.lang">en_US.ascii</value>
209
+	<value col="i18n.nr">Undecipherable</value>
210
+    </row>
211
+    <row>
212
+	<value col="i18n.code">500</value>
213
+	<value col="i18n.lang">en_US.ascii</value>
214
+	<value col="i18n.nr">Server Internal Error</value>
215
+    </row>
216
+    <row>
217
+	<value col="i18n.code">501</value>
218
+	<value col="i18n.lang">en_US.ascii</value>
219
+	<value col="i18n.nr">Not Implemented</value>
220
+    </row>
221
+    <row>
222
+	<value col="i18n.code">502</value>
223
+	<value col="i18n.lang">en_US.ascii</value>
224
+	<value col="i18n.nr">Bad Gateway</value>
225
+    </row>
226
+    <row>
227
+	<value col="i18n.code">503</value>
228
+	<value col="i18n.lang">en_US.ascii</value>
229
+	<value col="i18n.nr">Service Unavailable</value>
230
+    </row>
231
+    <row>
232
+	<value col="i18n.code">504</value>
233
+	<value col="i18n.lang">en_US.ascii</value>
234
+	<value col="i18n.nr">Server Time-out</value>
235
+    </row>
236
+    <row>
237
+	<value col="i18n.code">505</value>
238
+	<value col="i18n.lang">en_US.ascii</value>
239
+	<value col="i18n.nr">Version Not Supported</value>
240
+    </row>
241
+    <row>
242
+	<value col="i18n.code">513</value>
243
+	<value col="i18n.lang">en_US.ascii</value>
244
+	<value col="i18n.nr">Message Too Large</value>
245
+    </row>
246
+    <row>
247
+	<value col="i18n.code">600</value>
248
+	<value col="i18n.lang">en_US.ascii</value>
249
+	<value col="i18n.nr">Busy Everywhere</value>
250
+    </row>
251
+    <row>
252
+	<value col="i18n.code">603</value>
253
+	<value col="i18n.lang">en_US.ascii</value>
254
+	<value col="i18n.nr">Decline</value>
255
+    </row>
256
+    <row>
257
+	<value col="i18n.code">604</value>
258
+	<value col="i18n.lang">en_US.ascii</value>
259
+	<value col="i18n.nr">Does Not Exist Anywhere</value>
260
+    </row>
261
+    <row>
262
+	<value col="i18n.code">606</value>
263
+	<value col="i18n.lang">en_US.ascii</value>
264
+	<value col="i18n.nr">Not Acceptable</value>
265
+    </row>
266
+</data>
0 267
new file mode 100644
... ...
@@ -0,0 +1,41 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE table PUBLIC "-//iptel.org//DTD DBSchema V1.0//EN"
3
+  "http://iptel.org/dbschema/dtd/1.0/dbschema.dtd" [
4
+
5
+<!ENTITY % entities SYSTEM "entities.xml">
6
+%entities;
7
+
8
+]>
9
+
10
+<table xmlns:xi="http://www.w3.org/2001/XInclude" 
11
+    xmlns:my="http://iptel.org/dbschema/mysql">
12
+    <name>i18n</name>
13
+    <version>1</version>
14
+    
15
+    <column id="i18n.code">
16
+	<name>code</name>
17
+	<type>int</type>
18
+    </column>
19
+    <column>
20
+	<name>reason_re</name>
21
+	<type>string</type>
22
+	<default><null/></default>
23
+	<null/>
24
+    </column>
25
+    <column id="i18n.lang">
26
+	<name>lang</name>
27
+	<type>string</type>
28
+    </column>
29
+    <column id="i18n.nr">
30
+	<name>new_reason</name>
31
+	<type>string</type>
32
+	<null/>
33
+    </column>
34
+    <index>
35
+	<name>i18n_idx</name>
36
+	<colref linkend="i18n.code"/>
37
+    </index>
38
+
39
+    <xi:include href="i18n-en.xml" xpointer="xpointer(data/row)"/>
40
+    <xi:include href="i18n-cs.xml" xpointer="xpointer(data/row)"/>
41
+</table>
... ...
@@ -67,6 +67,8 @@
67 67
     <xi:include href="presentity_contact.xml"/>
68 68
     <xi:include href="watcherinfo.xml"/>
69 69
 
70
+    <xi:include href="i18n.xml"/>
71
+
70 72
     <!-- User with read/write access -->
71 73
     <user>
72 74
 	<username>ser</username>
... ...
@@ -115,4 +115,8 @@
115 115
 	<value col="tn"><xi:include href="watcherinfo.xml" xpointer="xpointer(table/name/text())"/></value>
116 116
 	<value col="tv"><xi:include href="watcherinfo.xml" xpointer="xpointer(table/version/text())"/></value>
117 117
     </row>
118
+    <row>
119
+	<value col="tn"><xi:include href="i18n.xml" xpointer="xpointer(table/name/text())"/></value>
120
+	<value col="tv"><xi:include href="i18n.xml" xpointer="xpointer(table/version/text())"/></value>
121
+    </row>
118 122
 </table>
... ...
@@ -6,3 +6,4 @@ rpid:string:2:
6 6
 fr_timer:string:0:
7 7
 fr_inv_timer:string:2:
8 8
 flags:string:0:
9
+gflags:string:0:
9 10
new file mode 100644
... ...
@@ -0,0 +1,103 @@
1
+code(int) reason_re(str,null) lang(str) new_reason(str,null) 
2
+100::en_US.ascii:Trying
3
+180::en_US.ascii:Ringing
4
+181::en_US.ascii:Call Is Being Forwarded
5
+182::en_US.ascii:Queued
6
+183::en_US.ascii:Session Progress
7
+200::en_US.ascii:OK
8
+202::en_US.ascii:Pending
9
+300::en_US.ascii:Multiple Choices
10
+301::en_US.ascii:Moved Permanently
11
+302::en_US.ascii:Moved Temporarily
12
+305::en_US.ascii:Use Proxy
13
+380::en_US.ascii:Alternative Service
14
+400::en_US.ascii:Bad Request
15
+401::en_US.ascii:Unauthorized
16
+402::en_US.ascii:Payment Required
17
+403::en_US.ascii:Forbidden
18
+404::en_US.ascii:Not Found
19
+405::en_US.ascii:Method Not Allowed
20
+406::en_US.ascii:Not Acceptable
21
+407::en_US.ascii:Proxy Authentication Required
22
+408::en_US.ascii:Request Timeout
23
+410::en_US.ascii:Gone
24
+413::en_US.ascii:Request Entity Too Large
25
+414::en_US.ascii:Request-URI Too Long
26
+415::en_US.ascii:Unsupported Media Type
27
+416::en_US.ascii:Unsupported URI Scheme
28
+420::en_US.ascii:Bad Extension
29
+421::en_US.ascii:Extension Required
30
+423::en_US.ascii:Interval Too Brief
31
+480::en_US.ascii:Temporarily Unavailable
32
+481::en_US.ascii:Call/Transaction Does Not Exist
33
+482::en_US.ascii:Loop Detected
34
+483::en_US.ascii:Too Many Hops
35
+484::en_US.ascii:Address Incomplete
36
+485::en_US.ascii:Ambiguous
37
+486::en_US.ascii:Busy Here
38
+487::en_US.ascii:Request Terminated
39
+488::en_US.ascii:Not Acceptable Here
40
+491::en_US.ascii:Request Pending
41
+493::en_US.ascii:Undecipherable
42
+500::en_US.ascii:Server Internal Error
43
+501::en_US.ascii:Not Implemented
44
+502::en_US.ascii:Bad Gateway
45
+503::en_US.ascii:Service Unavailable
46
+504::en_US.ascii:Server Time-out
47
+505::en_US.ascii:Version Not Supported
48
+513::en_US.ascii:Message Too Large
49
+600::en_US.ascii:Busy Everywhere
50
+603::en_US.ascii:Decline
51
+604::en_US.ascii:Does Not Exist Anywhere
52
+606::en_US.ascii:Not Acceptable
53
+100::cs_CZ.ascii:Navazuji spojeni
54
+180::cs_CZ.ascii:Vyzvani
55
+181::cs_CZ.ascii:Hovor je presmerovan
56
+182::cs_CZ.ascii:Jste v poradi
57
+183::cs_CZ.ascii:Probiha navazovani spojeni
58
+200::cs_CZ.ascii:Uspesne provedeno
59
+202::cs_CZ.ascii:Bude vyrizeno pozdeji
60
+300::cs_CZ.ascii:Existuje vice moznosti
61
+301::cs_CZ.ascii:Trvale presmerovano
62
+302::cs_CZ.ascii:Docasne presmerovano
63
+305::cs_CZ.ascii:Pouzijte jiny server
64
+380::cs_CZ.ascii:Alternativni sluzba
65
+400::cs_CZ.ascii:Chyba protokolu
66
+401::cs_CZ.ascii:Overeni totoznosti
67
+402::cs_CZ.ascii:Placena sluzba
68
+403::cs_CZ.ascii:Zakazano
69
+404::cs_CZ.ascii:Nenalezeno
70
+405::cs_CZ.ascii:Nepovoleny prikaz
71
+406::cs_CZ.ascii:Neni povoleno
72
+407::cs_CZ.ascii:Server vyzaduje overeni totoznosti
73
+408::cs_CZ.ascii:Casovy limit vyprsel
74
+410::cs_CZ.ascii:Nenalezeno
75
+413::cs_CZ.ascii:Prilis dlouhy identifikator
76
+414::cs_CZ.ascii:Request-URI je prilis dlouhe
77
+415::cs_CZ.ascii:Nepodporovany typ dat
78
+416::cs_CZ.ascii:Nepodporovany typ identifikatoru
79
+420::cs_CZ.ascii:Neplatne cislo linky
80
+421::cs_CZ.ascii:Zadejte cislo linky
81
+423::cs_CZ.ascii:Prilis kratky interval
82
+480::cs_CZ.ascii:Docasne nedostupne
83
+481::cs_CZ.ascii:Spojeni nenalezeno
84
+482::cs_CZ.ascii:Zprava se zacyklila
85
+483::cs_CZ.ascii:Prilis mnoho kroku
86
+484::cs_CZ.ascii:Neuplna adresa
87
+485::cs_CZ.ascii:Nejednoznacne
88
+486::cs_CZ.ascii:Volany je zaneprazdnen
89
+487::cs_CZ.ascii:Prikaz predcasne ukoncen
90
+488::cs_CZ.ascii:Nebylo akceptovano
91
+491::cs_CZ.ascii:Cekam na odpoved
92
+493::cs_CZ.ascii:Nelze dekodovat
93
+500::cs_CZ.ascii:Interni chyba serveru
94
+501::cs_CZ.ascii:Neni implementovano
95
+502::cs_CZ.ascii:Chybna brana
96
+503::cs_CZ.ascii:Sluzba neni dostupna
97
+504::cs_CZ.ascii:Casovy limit serveru vyprsel
98
+505::cs_CZ.ascii:Nepodporovana verze protokolu
99
+513::cs_CZ.ascii:Zprava je prilis dlouha
100
+600::cs_CZ.ascii:Uzivatel je zaneprazdnen
101
+603::cs_CZ.ascii:Odmitnuto
102
+604::cs_CZ.ascii:Neexistujici uzivatel nebo sluzba
103
+606::cs_CZ.ascii:Nelze akceptovat
... ...
@@ -22,3 +22,4 @@ lcr:1
22 22
 presentity:1
23 23
 presentity_contact:1
24 24
 watcherinfo:1
25
+i18n:1
... ...
@@ -29,6 +29,7 @@ INSERT INTO version (table_name, table_version) VALUES ('lcr', '1');
29 29
 INSERT INTO version (table_name, table_version) VALUES ('presentity', '1');
30 30
 INSERT INTO version (table_name, table_version) VALUES ('presentity_contact', '1');
31 31
 INSERT INTO version (table_name, table_version) VALUES ('watcherinfo', '1');
32
+INSERT INTO version (table_name, table_version) VALUES ('i18n', '1');
32 33
 
33 34
 CREATE TABLE acc (
34 35
     id INT AUTO_INCREMENT NOT NULL,
... ...
@@ -96,7 +97,7 @@ CREATE TABLE credentials (
96 97
     ha1 VARCHAR(32) NOT NULL,
97 98
     ha1b VARCHAR(32) NOT NULL DEFAULT '',
98 99
     uid VARCHAR(64) NOT NULL,
99
-    UNIQUE KEY (auth_username, realm),
100
+    KEY (auth_username, realm),
100 101
     KEY uid (uid)
101 102
 );
102 103
 
... ...
@@ -115,6 +116,7 @@ INSERT INTO attr_types (name, raw_type) VALUES ('rpid', '2');
115 116
 INSERT INTO attr_types (name, raw_type) VALUES ('fr_timer', '0');
116 117
 INSERT INTO attr_types (name, raw_type) VALUES ('fr_inv_timer', '2');
117 118
 INSERT INTO attr_types (name, raw_type) VALUES ('flags', '0');
119
+INSERT INTO attr_types (name, raw_type) VALUES ('gflags', '0');
118 120
 
119 121
 CREATE TABLE global_attrs (
120 122
     name VARCHAR(32) NOT NULL,
... ...
@@ -323,6 +325,117 @@ CREATE TABLE watcherinfo (
323 325
     KEY wi_wuri_idx (w_uri)
324 326
 );
325 327
 
328
+CREATE TABLE i18n (
329
+    code INT NOT NULL,
330
+    reason_re VARCHAR DEFAULT NULL,
331
+    lang VARCHAR NOT NULL,
332
+    new_reason VARCHAR,
333
+    KEY i18n_idx (code)
334
+);
335
+
336
+INSERT INTO i18n (code, lang, new_reason) VALUES ('100', 'en_US.ascii', 'Trying');
337
+INSERT INTO i18n (code, lang, new_reason) VALUES ('180', 'en_US.ascii', 'Ringing');
338
+INSERT INTO i18n (code, lang, new_reason) VALUES ('181', 'en_US.ascii', 'Call Is Being Forwarded');
339
+INSERT INTO i18n (code, lang, new_reason) VALUES ('182', 'en_US.ascii', 'Queued');
340
+INSERT INTO i18n (code, lang, new_reason) VALUES ('183', 'en_US.ascii', 'Session Progress');
341
+INSERT INTO i18n (code, lang, new_reason) VALUES ('200', 'en_US.ascii', 'OK');
342
+INSERT INTO i18n (code, lang, new_reason) VALUES ('202', 'en_US.ascii', 'Pending');
343
+INSERT INTO i18n (code, lang, new_reason) VALUES ('300', 'en_US.ascii', 'Multiple Choices');
344
+INSERT INTO i18n (code, lang, new_reason) VALUES ('301', 'en_US.ascii', 'Moved Permanently');
345
+INSERT INTO i18n (code, lang, new_reason) VALUES ('302', 'en_US.ascii', 'Moved Temporarily');
346
+INSERT INTO i18n (code, lang, new_reason) VALUES ('305', 'en_US.ascii', 'Use Proxy');
347
+INSERT INTO i18n (code, lang, new_reason) VALUES ('380', 'en_US.ascii', 'Alternative Service');
348
+INSERT INTO i18n (code, lang, new_reason) VALUES ('400', 'en_US.ascii', 'Bad Request');
349
+INSERT INTO i18n (code, lang, new_reason) VALUES ('401', 'en_US.ascii', 'Unauthorized');
350
+INSERT INTO i18n (code, lang, new_reason) VALUES ('402', 'en_US.ascii', 'Payment Required');
351
+INSERT INTO i18n (code, lang, new_reason) VALUES ('403', 'en_US.ascii', 'Forbidden');
352
+INSERT INTO i18n (code, lang, new_reason) VALUES ('404', 'en_US.ascii', 'Not Found');
353
+INSERT INTO i18n (code, lang, new_reason) VALUES ('405', 'en_US.ascii', 'Method Not Allowed');
354
+INSERT INTO i18n (code, lang, new_reason) VALUES ('406', 'en_US.ascii', 'Not Acceptable');
355
+INSERT INTO i18n (code, lang, new_reason) VALUES ('407', 'en_US.ascii', 'Proxy Authentication Required');
356
+INSERT INTO i18n (code, lang, new_reason) VALUES ('408', 'en_US.ascii', 'Request Timeout');
357
+INSERT INTO i18n (code, lang, new_reason) VALUES ('410', 'en_US.ascii', 'Gone');
358
+INSERT INTO i18n (code, lang, new_reason) VALUES ('413', 'en_US.ascii', 'Request Entity Too Large');
359
+INSERT INTO i18n (code, lang, new_reason) VALUES ('414', 'en_US.ascii', 'Request-URI Too Long');
360
+INSERT INTO i18n (code, lang, new_reason) VALUES ('415', 'en_US.ascii', 'Unsupported Media Type');
361
+INSERT INTO i18n (code, lang, new_reason) VALUES ('416', 'en_US.ascii', 'Unsupported URI Scheme');
362
+INSERT INTO i18n (code, lang, new_reason) VALUES ('420', 'en_US.ascii', 'Bad Extension');
363
+INSERT INTO i18n (code, lang, new_reason) VALUES ('421', 'en_US.ascii', 'Extension Required');
364
+INSERT INTO i18n (code, lang, new_reason) VALUES ('423', 'en_US.ascii', 'Interval Too Brief');
365
+INSERT INTO i18n (code, lang, new_reason) VALUES ('480', 'en_US.ascii', 'Temporarily Unavailable');
366
+INSERT INTO i18n (code, lang, new_reason) VALUES ('481', 'en_US.ascii', 'Call/Transaction Does Not Exist');
367
+INSERT INTO i18n (code, lang, new_reason) VALUES ('482', 'en_US.ascii', 'Loop Detected');
368
+INSERT INTO i18n (code, lang, new_reason) VALUES ('483', 'en_US.ascii', 'Too Many Hops');
369
+INSERT INTO i18n (code, lang, new_reason) VALUES ('484', 'en_US.ascii', 'Address Incomplete');
370
+INSERT INTO i18n (code, lang, new_reason) VALUES ('485', 'en_US.ascii', 'Ambiguous');
371
+INSERT INTO i18n (code, lang, new_reason) VALUES ('486', 'en_US.ascii', 'Busy Here');
372
+INSERT INTO i18n (code, lang, new_reason) VALUES ('487', 'en_US.ascii', 'Request Terminated');
373
+INSERT INTO i18n (code, lang, new_reason) VALUES ('488', 'en_US.ascii', 'Not Acceptable Here');
374
+INSERT INTO i18n (code, lang, new_reason) VALUES ('491', 'en_US.ascii', 'Request Pending');
375
+INSERT INTO i18n (code, lang, new_reason) VALUES ('493', 'en_US.ascii', 'Undecipherable');
376
+INSERT INTO i18n (code, lang, new_reason) VALUES ('500', 'en_US.ascii', 'Server Internal Error');
377
+INSERT INTO i18n (code, lang, new_reason) VALUES ('501', 'en_US.ascii', 'Not Implemented');
378
+INSERT INTO i18n (code, lang, new_reason) VALUES ('502', 'en_US.ascii', 'Bad Gateway');
379
+INSERT INTO i18n (code, lang, new_reason) VALUES ('503', 'en_US.ascii', 'Service Unavailable');
380
+INSERT INTO i18n (code, lang, new_reason) VALUES ('504', 'en_US.ascii', 'Server Time-out');
381
+INSERT INTO i18n (code, lang, new_reason) VALUES ('505', 'en_US.ascii', 'Version Not Supported');
382
+INSERT INTO i18n (code, lang, new_reason) VALUES ('513', 'en_US.ascii', 'Message Too Large');
383
+INSERT INTO i18n (code, lang, new_reason) VALUES ('600', 'en_US.ascii', 'Busy Everywhere');
384
+INSERT INTO i18n (code, lang, new_reason) VALUES ('603', 'en_US.ascii', 'Decline');
385
+INSERT INTO i18n (code, lang, new_reason) VALUES ('604', 'en_US.ascii', 'Does Not Exist Anywhere');
386
+INSERT INTO i18n (code, lang, new_reason) VALUES ('606', 'en_US.ascii', 'Not Acceptable');
387
+INSERT INTO i18n (code, lang, new_reason) VALUES ('100', 'cs_CZ.ascii', 'Navazuji spojeni');
388
+INSERT INTO i18n (code, lang, new_reason) VALUES ('180', 'cs_CZ.ascii', 'Vyzvani');
389
+INSERT INTO i18n (code, lang, new_reason) VALUES ('181', 'cs_CZ.ascii', 'Hovor je presmerovan');
390
+INSERT INTO i18n (code, lang, new_reason) VALUES ('182', 'cs_CZ.ascii', 'Jste v poradi');
391
+INSERT INTO i18n (code, lang, new_reason) VALUES ('183', 'cs_CZ.ascii', 'Probiha navazovani spojeni');
392
+INSERT INTO i18n (code, lang, new_reason) VALUES ('200', 'cs_CZ.ascii', 'Uspesne provedeno');
393
+INSERT INTO i18n (code, lang, new_reason) VALUES ('202', 'cs_CZ.ascii', 'Bude vyrizeno pozdeji');
394
+INSERT INTO i18n (code, lang, new_reason) VALUES ('300', 'cs_CZ.ascii', 'Existuje vice moznosti');
395
+INSERT INTO i18n (code, lang, new_reason) VALUES ('301', 'cs_CZ.ascii', 'Trvale presmerovano');
396
+INSERT INTO i18n (code, lang, new_reason) VALUES ('302', 'cs_CZ.ascii', 'Docasne presmerovano');
397
+INSERT INTO i18n (code, lang, new_reason) VALUES ('305', 'cs_CZ.ascii', 'Pouzijte jiny server');
398
+INSERT INTO i18n (code, lang, new_reason) VALUES ('380', 'cs_CZ.ascii', 'Alternativni sluzba');
399
+INSERT INTO i18n (code, lang, new_reason) VALUES ('400', 'cs_CZ.ascii', 'Chyba protokolu');
400
+INSERT INTO i18n (code, lang, new_reason) VALUES ('401', 'cs_CZ.ascii', 'Overeni totoznosti');
401
+INSERT INTO i18n (code, lang, new_reason) VALUES ('402', 'cs_CZ.ascii', 'Placena sluzba');
402
+INSERT INTO i18n (code, lang, new_reason) VALUES ('403', 'cs_CZ.ascii', 'Zakazano');
403
+INSERT INTO i18n (code, lang, new_reason) VALUES ('404', 'cs_CZ.ascii', 'Nenalezeno');
404
+INSERT INTO i18n (code, lang, new_reason) VALUES ('405', 'cs_CZ.ascii', 'Nepovoleny prikaz');
405
+INSERT INTO i18n (code, lang, new_reason) VALUES ('406', 'cs_CZ.ascii', 'Neni povoleno');
406
+INSERT INTO i18n (code, lang, new_reason) VALUES ('407', 'cs_CZ.ascii', 'Server vyzaduje overeni totoznosti');
407
+INSERT INTO i18n (code, lang, new_reason) VALUES ('408', 'cs_CZ.ascii', 'Casovy limit vyprsel');
408
+INSERT INTO i18n (code, lang, new_reason) VALUES ('410', 'cs_CZ.ascii', 'Nenalezeno');
409
+INSERT INTO i18n (code, lang, new_reason) VALUES ('413', 'cs_CZ.ascii', 'Prilis dlouhy identifikator');
410
+INSERT INTO i18n (code, lang, new_reason) VALUES ('414', 'cs_CZ.ascii', 'Request-URI je prilis dlouhe');
411
+INSERT INTO i18n (code, lang, new_reason) VALUES ('415', 'cs_CZ.ascii', 'Nepodporovany typ dat');
412
+INSERT INTO i18n (code, lang, new_reason) VALUES ('416', 'cs_CZ.ascii', 'Nepodporovany typ identifikatoru');
413
+INSERT INTO i18n (code, lang, new_reason) VALUES ('420', 'cs_CZ.ascii', 'Neplatne cislo linky');
414
+INSERT INTO i18n (code, lang, new_reason) VALUES ('421', 'cs_CZ.ascii', 'Zadejte cislo linky');
415
+INSERT INTO i18n (code, lang, new_reason) VALUES ('423', 'cs_CZ.ascii', 'Prilis kratky interval');
416
+INSERT INTO i18n (code, lang, new_reason) VALUES ('480', 'cs_CZ.ascii', 'Docasne nedostupne');
417
+INSERT INTO i18n (code, lang, new_reason) VALUES ('481', 'cs_CZ.ascii', 'Spojeni nenalezeno');
418
+INSERT INTO i18n (code, lang, new_reason) VALUES ('482', 'cs_CZ.ascii', 'Zprava se zacyklila');
419
+INSERT INTO i18n (code, lang, new_reason) VALUES ('483', 'cs_CZ.ascii', 'Prilis mnoho kroku');
420
+INSERT INTO i18n (code, lang, new_reason) VALUES ('484', 'cs_CZ.ascii', 'Neuplna adresa');
421
+INSERT INTO i18n (code, lang, new_reason) VALUES ('485', 'cs_CZ.ascii', 'Nejednoznacne');
422
+INSERT INTO i18n (code, lang, new_reason) VALUES ('486', 'cs_CZ.ascii', 'Volany je zaneprazdnen');
423
+INSERT INTO i18n (code, lang, new_reason) VALUES ('487', 'cs_CZ.ascii', 'Prikaz predcasne ukoncen');
424
+INSERT INTO i18n (code, lang, new_reason) VALUES ('488', 'cs_CZ.ascii', 'Nebylo akceptovano');
425
+INSERT INTO i18n (code, lang, new_reason) VALUES ('491', 'cs_CZ.ascii', 'Cekam na odpoved');
426
+INSERT INTO i18n (code, lang, new_reason) VALUES ('493', 'cs_CZ.ascii', 'Nelze dekodovat');
427
+INSERT INTO i18n (code, lang, new_reason) VALUES ('500', 'cs_CZ.ascii', 'Interni chyba serveru');
428
+INSERT INTO i18n (code, lang, new_reason) VALUES ('501', 'cs_CZ.ascii', 'Neni implementovano');
429
+INSERT INTO i18n (code, lang, new_reason) VALUES ('502', 'cs_CZ.ascii', 'Chybna brana');
430
+INSERT INTO i18n (code, lang, new_reason) VALUES ('503', 'cs_CZ.ascii', 'Sluzba neni dostupna');
431
+INSERT INTO i18n (code, lang, new_reason) VALUES ('504', 'cs_CZ.ascii', 'Casovy limit serveru vyprsel');
432
+INSERT INTO i18n (code, lang, new_reason) VALUES ('505', 'cs_CZ.ascii', 'Nepodporovana verze protokolu');
433
+INSERT INTO i18n (code, lang, new_reason) VALUES ('513', 'cs_CZ.ascii', 'Zprava je prilis dlouha');
434
+INSERT INTO i18n (code, lang, new_reason) VALUES ('600', 'cs_CZ.ascii', 'Uzivatel je zaneprazdnen');
435
+INSERT INTO i18n (code, lang, new_reason) VALUES ('603', 'cs_CZ.ascii', 'Odmitnuto');
436
+INSERT INTO i18n (code, lang, new_reason) VALUES ('604', 'cs_CZ.ascii', 'Neexistujici uzivatel nebo sluzba');
437
+INSERT INTO i18n (code, lang, new_reason) VALUES ('606', 'cs_CZ.ascii', 'Nelze akceptovat');
438
+
326 439
 GRANT ALL ON ser.* TO 'ser'@'%' IDENTIFIED BY 'heslo';
327 440
 GRANT ALL ON ser.* TO 'ser'@'localhost' IDENTIFIED BY 'heslo';
328 441
 FLUSH PRIVILEGES;
... ...
@@ -26,6 +26,7 @@ INSERT INTO version (table_name, table_version) VALUES ('lcr', '1');
26 26
 INSERT INTO version (table_name, table_version) VALUES ('presentity', '1');
27 27
 INSERT INTO version (table_name, table_version) VALUES ('presentity_contact', '1');
28 28
 INSERT INTO version (table_name, table_version) VALUES ('watcherinfo', '1');
29
+INSERT INTO version (table_name, table_version) VALUES ('i18n', '1');
29 30
 
30 31
 CREATE TABLE acc (
31 32
     id int NOT NULL,
... ...
@@ -92,9 +93,7 @@ CREATE TABLE credentials (
92 93
     flags int NOT NULL DEFAULT '0',
93 94
     ha1 string(32) NOT NULL,
94 95
     ha1b string(32) NOT NULL DEFAULT '',
95
-    uid string(64) NOT NULL,
96
-     UNIQUE (auth_username, realm, ),
97
-
96
+    uid string(64) NOT NULL
98 97
 );
99 98
 
100 99
 CREATE TABLE attr_types (
... ...
@@ -111,6 +110,7 @@ INSERT INTO attr_types (name, raw_type) VALUES ('rpid', '2');
111 110
 INSERT INTO attr_types (name, raw_type) VALUES ('fr_timer', '0');
112 111
 INSERT INTO attr_types (name, raw_type) VALUES ('fr_inv_timer', '2');
113 112
 INSERT INTO attr_types (name, raw_type) VALUES ('flags', '0');
113
+INSERT INTO attr_types (name, raw_type) VALUES ('gflags', '0');
114 114
 
115 115
 CREATE TABLE global_attrs (
116 116
     name string(32) NOT NULL,
... ...
@@ -311,3 +311,113 @@ CREATE TABLE watcherinfo (
311 311
 
312 312
 );
313 313
 
314
+CREATE TABLE i18n (
315
+    code int NOT NULL,
316
+    reason_re string DEFAULT NULL,
317
+    lang string NOT NULL,
318
+    new_reason string
319
+);
320
+
321
+INSERT INTO i18n (code, lang, new_reason) VALUES ('100', 'en_US.ascii', 'Trying');
322
+INSERT INTO i18n (code, lang, new_reason) VALUES ('180', 'en_US.ascii', 'Ringing');
323
+INSERT INTO i18n (code, lang, new_reason) VALUES ('181', 'en_US.ascii', 'Call Is Being Forwarded');
324
+INSERT INTO i18n (code, lang, new_reason) VALUES ('182', 'en_US.ascii', 'Queued');
325
+INSERT INTO i18n (code, lang, new_reason) VALUES ('183', 'en_US.ascii', 'Session Progress');
326
+INSERT INTO i18n (code, lang, new_reason) VALUES ('200', 'en_US.ascii', 'OK');
327
+INSERT INTO i18n (code, lang, new_reason) VALUES ('202', 'en_US.ascii', 'Pending');
328
+INSERT INTO i18n (code, lang, new_reason) VALUES ('300', 'en_US.ascii', 'Multiple Choices');
329
+INSERT INTO i18n (code, lang, new_reason) VALUES ('301', 'en_US.ascii', 'Moved Permanently');
330
+INSERT INTO i18n (code, lang, new_reason) VALUES ('302', 'en_US.ascii', 'Moved Temporarily');
331
+INSERT INTO i18n (code, lang, new_reason) VALUES ('305', 'en_US.ascii', 'Use Proxy');
332
+INSERT INTO i18n (code, lang, new_reason) VALUES ('380', 'en_US.ascii', 'Alternative Service');
333
+INSERT INTO i18n (code, lang, new_reason) VALUES ('400', 'en_US.ascii', 'Bad Request');
334
+INSERT INTO i18n (code, lang, new_reason) VALUES ('401', 'en_US.ascii', 'Unauthorized');
335
+INSERT INTO i18n (code, lang, new_reason) VALUES ('402', 'en_US.ascii', 'Payment Required');
336
+INSERT INTO i18n (code, lang, new_reason) VALUES ('403', 'en_US.ascii', 'Forbidden');
337
+INSERT INTO i18n (code, lang, new_reason) VALUES ('404', 'en_US.ascii', 'Not Found');
338
+INSERT INTO i18n (code, lang, new_reason) VALUES ('405', 'en_US.ascii', 'Method Not Allowed');
339
+INSERT INTO i18n (code, lang, new_reason) VALUES ('406', 'en_US.ascii', 'Not Acceptable');
340
+INSERT INTO i18n (code, lang, new_reason) VALUES ('407', 'en_US.ascii', 'Proxy Authentication Required');
341
+INSERT INTO i18n (code, lang, new_reason) VALUES ('408', 'en_US.ascii', 'Request Timeout');
342
+INSERT INTO i18n (code, lang, new_reason) VALUES ('410', 'en_US.ascii', 'Gone');
343
+INSERT INTO i18n (code, lang, new_reason) VALUES ('413', 'en_US.ascii', 'Request Entity Too Large');
344
+INSERT INTO i18n (code, lang, new_reason) VALUES ('414', 'en_US.ascii', 'Request-URI Too Long');
345
+INSERT INTO i18n (code, lang, new_reason) VALUES ('415', 'en_US.ascii', 'Unsupported Media Type');
346
+INSERT INTO i18n (code, lang, new_reason) VALUES ('416', 'en_US.ascii', 'Unsupported URI Scheme');
347
+INSERT INTO i18n (code, lang, new_reason) VALUES ('420', 'en_US.ascii', 'Bad Extension');
348
+INSERT INTO i18n (code, lang, new_reason) VALUES ('421', 'en_US.ascii', 'Extension Required');
349
+INSERT INTO i18n (code, lang, new_reason) VALUES ('423', 'en_US.ascii', 'Interval Too Brief');
350
+INSERT INTO i18n (code, lang, new_reason) VALUES ('480', 'en_US.ascii', 'Temporarily Unavailable');
351
+INSERT INTO i18n (code, lang, new_reason) VALUES ('481', 'en_US.ascii', 'Call/Transaction Does Not Exist');
352
+INSERT INTO i18n (code, lang, new_reason) VALUES ('482', 'en_US.ascii', 'Loop Detected');
353
+INSERT INTO i18n (code, lang, new_reason) VALUES ('483', 'en_US.ascii', 'Too Many Hops');
354
+INSERT INTO i18n (code, lang, new_reason) VALUES ('484', 'en_US.ascii', 'Address Incomplete');
355
+INSERT INTO i18n (code, lang, new_reason) VALUES ('485', 'en_US.ascii', 'Ambiguous');
356
+INSERT INTO i18n (code, lang, new_reason) VALUES ('486', 'en_US.ascii', 'Busy Here');
357
+INSERT INTO i18n (code, lang, new_reason) VALUES ('487', 'en_US.ascii', 'Request Terminated');
358
+INSERT INTO i18n (code, lang, new_reason) VALUES ('488', 'en_US.ascii', 'Not Acceptable Here');
359
+INSERT INTO i18n (code, lang, new_reason) VALUES ('491', 'en_US.ascii', 'Request Pending');
360
+INSERT INTO i18n (code, lang, new_reason) VALUES ('493', 'en_US.ascii', 'Undecipherable');
361
+INSERT INTO i18n (code, lang, new_reason) VALUES ('500', 'en_US.ascii', 'Server Internal Error');
362
+INSERT INTO i18n (code, lang, new_reason) VALUES ('501', 'en_US.ascii', 'Not Implemented');
363
+INSERT INTO i18n (code, lang, new_reason) VALUES ('502', 'en_US.ascii', 'Bad Gateway');
364
+INSERT INTO i18n (code, lang, new_reason) VALUES ('503', 'en_US.ascii', 'Service Unavailable');
365
+INSERT INTO i18n (code, lang, new_reason) VALUES ('504', 'en_US.ascii', 'Server Time-out');
366
+INSERT INTO i18n (code, lang, new_reason) VALUES ('505', 'en_US.ascii', 'Version Not Supported');
367
+INSERT INTO i18n (code, lang, new_reason) VALUES ('513', 'en_US.ascii', 'Message Too Large');
368
+INSERT INTO i18n (code, lang, new_reason) VALUES ('600', 'en_US.ascii', 'Busy Everywhere');
369
+INSERT INTO i18n (code, lang, new_reason) VALUES ('603', 'en_US.ascii', 'Decline');
370
+INSERT INTO i18n (code, lang, new_reason) VALUES ('604', 'en_US.ascii', 'Does Not Exist Anywhere');
371
+INSERT INTO i18n (code, lang, new_reason) VALUES ('606', 'en_US.ascii', 'Not Acceptable');
372
+INSERT INTO i18n (code, lang, new_reason) VALUES ('100', 'cs_CZ.ascii', 'Navazuji spojeni');
373
+INSERT INTO i18n (code, lang, new_reason) VALUES ('180', 'cs_CZ.ascii', 'Vyzvani');
374
+INSERT INTO i18n (code, lang, new_reason) VALUES ('181', 'cs_CZ.ascii', 'Hovor je presmerovan');
375
+INSERT INTO i18n (code, lang, new_reason) VALUES ('182', 'cs_CZ.ascii', 'Jste v poradi');
376
+INSERT INTO i18n (code, lang, new_reason) VALUES ('183', 'cs_CZ.ascii', 'Probiha navazovani spojeni');
377
+INSERT INTO i18n (code, lang, new_reason) VALUES ('200', 'cs_CZ.ascii', 'Uspesne provedeno');
378
+INSERT INTO i18n (code, lang, new_reason) VALUES ('202', 'cs_CZ.ascii', 'Bude vyrizeno pozdeji');
379
+INSERT INTO i18n (code, lang, new_reason) VALUES ('300', 'cs_CZ.ascii', 'Existuje vice moznosti');
380
+INSERT INTO i18n (code, lang, new_reason) VALUES ('301', 'cs_CZ.ascii', 'Trvale presmerovano');
381
+INSERT INTO i18n (code, lang, new_reason) VALUES ('302', 'cs_CZ.ascii', 'Docasne presmerovano');
382
+INSERT INTO i18n (code, lang, new_reason) VALUES ('305', 'cs_CZ.ascii', 'Pouzijte jiny server');
383
+INSERT INTO i18n (code, lang, new_reason) VALUES ('380', 'cs_CZ.ascii', 'Alternativni sluzba');
384
+INSERT INTO i18n (code, lang, new_reason) VALUES ('400', 'cs_CZ.ascii', 'Chyba protokolu');
385
+INSERT INTO i18n (code, lang, new_reason) VALUES ('401', 'cs_CZ.ascii', 'Overeni totoznosti');
386
+INSERT INTO i18n (code, lang, new_reason) VALUES ('402', 'cs_CZ.ascii', 'Placena sluzba');
387
+INSERT INTO i18n (code, lang, new_reason) VALUES ('403', 'cs_CZ.ascii', 'Zakazano');
388
+INSERT INTO i18n (code, lang, new_reason) VALUES ('404', 'cs_CZ.ascii', 'Nenalezeno');
389
+INSERT INTO i18n (code, lang, new_reason) VALUES ('405', 'cs_CZ.ascii', 'Nepovoleny prikaz');
390
+INSERT INTO i18n (code, lang, new_reason) VALUES ('406', 'cs_CZ.ascii', 'Neni povoleno');
391
+INSERT INTO i18n (code, lang, new_reason) VALUES ('407', 'cs_CZ.ascii', 'Server vyzaduje overeni totoznosti');
392
+INSERT INTO i18n (code, lang, new_reason) VALUES ('408', 'cs_CZ.ascii', 'Casovy limit vyprsel');
393
+INSERT INTO i18n (code, lang, new_reason) VALUES ('410', 'cs_CZ.ascii', 'Nenalezeno');
394
+INSERT INTO i18n (code, lang, new_reason) VALUES ('413', 'cs_CZ.ascii', 'Prilis dlouhy identifikator');
395
+INSERT INTO i18n (code, lang, new_reason) VALUES ('414', 'cs_CZ.ascii', 'Request-URI je prilis dlouhe');
396
+INSERT INTO i18n (code, lang, new_reason) VALUES ('415', 'cs_CZ.ascii', 'Nepodporovany typ dat');
397
+INSERT INTO i18n (code, lang, new_reason) VALUES ('416', 'cs_CZ.ascii', 'Nepodporovany typ identifikatoru');
398
+INSERT INTO i18n (code, lang, new_reason) VALUES ('420', 'cs_CZ.ascii', 'Neplatne cislo linky');
399
+INSERT INTO i18n (code, lang, new_reason) VALUES ('421', 'cs_CZ.ascii', 'Zadejte cislo linky');
400
+INSERT INTO i18n (code, lang, new_reason) VALUES ('423', 'cs_CZ.ascii', 'Prilis kratky interval');
401
+INSERT INTO i18n (code, lang, new_reason) VALUES ('480', 'cs_CZ.ascii', 'Docasne nedostupne');
402
+INSERT INTO i18n (code, lang, new_reason) VALUES ('481', 'cs_CZ.ascii', 'Spojeni nenalezeno');
403
+INSERT INTO i18n (code, lang, new_reason) VALUES ('482', 'cs_CZ.ascii', 'Zprava se zacyklila');
404
+INSERT INTO i18n (code, lang, new_reason) VALUES ('483', 'cs_CZ.ascii', 'Prilis mnoho kroku');
405
+INSERT INTO i18n (code, lang, new_reason) VALUES ('484', 'cs_CZ.ascii', 'Neuplna adresa');
406
+INSERT INTO i18n (code, lang, new_reason) VALUES ('485', 'cs_CZ.ascii', 'Nejednoznacne');
407
+INSERT INTO i18n (code, lang, new_reason) VALUES ('486', 'cs_CZ.ascii', 'Volany je zaneprazdnen');
408
+INSERT INTO i18n (code, lang, new_reason) VALUES ('487', 'cs_CZ.ascii', 'Prikaz predcasne ukoncen');
409
+INSERT INTO i18n (code, lang, new_reason) VALUES ('488', 'cs_CZ.ascii', 'Nebylo akceptovano');
410
+INSERT INTO i18n (code, lang, new_reason) VALUES ('491', 'cs_CZ.ascii', 'Cekam na odpoved');
411
+INSERT INTO i18n (code, lang, new_reason) VALUES ('493', 'cs_CZ.ascii', 'Nelze dekodovat');
412
+INSERT INTO i18n (code, lang, new_reason) VALUES ('500', 'cs_CZ.ascii', 'Interni chyba serveru');
413
+INSERT INTO i18n (code, lang, new_reason) VALUES ('501', 'cs_CZ.ascii', 'Neni implementovano');
414
+INSERT INTO i18n (code, lang, new_reason) VALUES ('502', 'cs_CZ.ascii', 'Chybna brana');
415
+INSERT INTO i18n (code, lang, new_reason) VALUES ('503', 'cs_CZ.ascii', 'Sluzba neni dostupna');
416
+INSERT INTO i18n (code, lang, new_reason) VALUES ('504', 'cs_CZ.ascii', 'Casovy limit serveru vyprsel');
417
+INSERT INTO i18n (code, lang, new_reason) VALUES ('505', 'cs_CZ.ascii', 'Nepodporovana verze protokolu');
418
+INSERT INTO i18n (code, lang, new_reason) VALUES ('513', 'cs_CZ.ascii', 'Zprava je prilis dlouha');
419
+INSERT INTO i18n (code, lang, new_reason) VALUES ('600', 'cs_CZ.ascii', 'Uzivatel je zaneprazdnen');
420
+INSERT INTO i18n (code, lang, new_reason) VALUES ('603', 'cs_CZ.ascii', 'Odmitnuto');
421
+INSERT INTO i18n (code, lang, new_reason) VALUES ('604', 'cs_CZ.ascii', 'Neexistujici uzivatel nebo sluzba');
422
+INSERT INTO i18n (code, lang, new_reason) VALUES ('606', 'cs_CZ.ascii', 'Nelze akceptovat');
423
+
... ...
@@ -26,6 +26,7 @@ INSERT INTO version (table_name, table_version) VALUES ('lcr', '1');
26 26
 INSERT INTO version (table_name, table_version) VALUES ('presentity', '1');
27 27
 INSERT INTO version (table_name, table_version) VALUES ('presentity_contact', '1');
28 28
 INSERT INTO version (table_name, table_version) VALUES ('watcherinfo', '1');
29
+INSERT INTO version (table_name, table_version) VALUES ('i18n', '1');
29 30
 
30 31
 CREATE TABLE acc (
31 32
     id SERIAL NOT NULL,
... ...
@@ -94,10 +95,10 @@ CREATE TABLE credentials (
94 95
     flags INTEGER NOT NULL DEFAULT '0',
95 96
     ha1 VARCHAR(32) NOT NULL,
96 97
     ha1b VARCHAR(32) NOT NULL DEFAULT '',
97
-    uid VARCHAR(64) NOT NULL,
98
-    UNIQUE (auth_username, realm)
98
+    uid VARCHAR(64) NOT NULL
99 99
 );
100 100
 
101
+CREATE INDEX  ON credentials (auth_username, realm);
101 102
 CREATE INDEX uid ON credentials (uid);
102 103
 
103 104
 CREATE TABLE attr_types (
... ...
@@ -116,6 +117,7 @@ INSERT INTO attr_types (name, raw_type) VALUES ('rpid', '2');
116 117
 INSERT INTO attr_types (name, raw_type) VALUES ('fr_timer', '0');
117 118
 INSERT INTO attr_types (name, raw_type) VALUES ('fr_inv_timer', '2');
118 119
 INSERT INTO attr_types (name, raw_type) VALUES ('flags', '0');
120
+INSERT INTO attr_types (name, raw_type) VALUES ('gflags', '0');
119 121
 
120 122
 CREATE TABLE global_attrs (
121 123
     name VARCHAR(32) NOT NULL,
... ...
@@ -335,3 +337,115 @@ CREATE TABLE watcherinfo (
335 337
 CREATE INDEX wi_ruri_idx ON watcherinfo (r_uri);
336 338
 CREATE INDEX wi_wuri_idx ON watcherinfo (w_uri);
337 339
 
340
+CREATE TABLE i18n (
341
+    code INTEGER NOT NULL,
342
+    reason_re VARCHAR DEFAULT NULL,
343
+    lang VARCHAR NOT NULL,
344
+    new_reason VARCHAR
345
+);
346
+
347
+CREATE INDEX i18n_idx ON i18n (code);
348
+
349
+INSERT INTO i18n (code, lang, new_reason) VALUES ('100', 'en_US.ascii', 'Trying');
350
+INSERT INTO i18n (code, lang, new_reason) VALUES ('180', 'en_US.ascii', 'Ringing');
351
+INSERT INTO i18n (code, lang, new_reason) VALUES ('181', 'en_US.ascii', 'Call Is Being Forwarded');
352
+INSERT INTO i18n (code, lang, new_reason) VALUES ('182', 'en_US.ascii', 'Queued');
353
+INSERT INTO i18n (code, lang, new_reason) VALUES ('183', 'en_US.ascii', 'Session Progress');
354
+INSERT INTO i18n (code, lang, new_reason) VALUES ('200', 'en_US.ascii', 'OK');
355
+INSERT INTO i18n (code, lang, new_reason) VALUES ('202', 'en_US.ascii', 'Pending');
356
+INSERT INTO i18n (code, lang, new_reason) VALUES ('300', 'en_US.ascii', 'Multiple Choices');
357
+INSERT INTO i18n (code, lang, new_reason) VALUES ('301', 'en_US.ascii', 'Moved Permanently');
358
+INSERT INTO i18n (code, lang, new_reason) VALUES ('302', 'en_US.ascii', 'Moved Temporarily');
359
+INSERT INTO i18n (code, lang, new_reason) VALUES ('305', 'en_US.ascii', 'Use Proxy');
360
+INSERT INTO i18n (code, lang, new_reason) VALUES ('380', 'en_US.ascii', 'Alternative Service');
361
+INSERT INTO i18n (code, lang, new_reason) VALUES ('400', 'en_US.ascii', 'Bad Request');
362
+INSERT INTO i18n (code, lang, new_reason) VALUES ('401', 'en_US.ascii', 'Unauthorized');
363
+INSERT INTO i18n (code, lang, new_reason) VALUES ('402', 'en_US.ascii', 'Payment Required');
364
+INSERT INTO i18n (code, lang, new_reason) VALUES ('403', 'en_US.ascii', 'Forbidden');
365
+INSERT INTO i18n (code, lang, new_reason) VALUES ('404', 'en_US.ascii', 'Not Found');
366
+INSERT INTO i18n (code, lang, new_reason) VALUES ('405', 'en_US.ascii', 'Method Not Allowed');
367
+INSERT INTO i18n (code, lang, new_reason) VALUES ('406', 'en_US.ascii', 'Not Acceptable');
368
+INSERT INTO i18n (code, lang, new_reason) VALUES ('407', 'en_US.ascii', 'Proxy Authentication Required');
369
+INSERT INTO i18n (code, lang, new_reason) VALUES ('408', 'en_US.ascii', 'Request Timeout');
370
+INSERT INTO i18n (code, lang, new_reason) VALUES ('410', 'en_US.ascii', 'Gone');
371
+INSERT INTO i18n (code, lang, new_reason) VALUES ('413', 'en_US.ascii', 'Request Entity Too Large');
372
+INSERT INTO i18n (code, lang, new_reason) VALUES ('414', 'en_US.ascii', 'Request-URI Too Long');
373
+INSERT INTO i18n (code, lang, new_reason) VALUES ('415', 'en_US.ascii', 'Unsupported Media Type');
374
+INSERT INTO i18n (code, lang, new_reason) VALUES ('416', 'en_US.ascii', 'Unsupported URI Scheme');
375
+INSERT INTO i18n (code, lang, new_reason) VALUES ('420', 'en_US.ascii', 'Bad Extension');
376
+INSERT INTO i18n (code, lang, new_reason) VALUES ('421', 'en_US.ascii', 'Extension Required');
377
+INSERT INTO i18n (code, lang, new_reason) VALUES ('423', 'en_US.ascii', 'Interval Too Brief');
378
+INSERT INTO i18n (code, lang, new_reason) VALUES ('480', 'en_US.ascii', 'Temporarily Unavailable');
379
+INSERT INTO i18n (code, lang, new_reason) VALUES ('481', 'en_US.ascii', 'Call/Transaction Does Not Exist');
380
+INSERT INTO i18n (code, lang, new_reason) VALUES ('482', 'en_US.ascii', 'Loop Detected');
381
+INSERT INTO i18n (code, lang, new_reason) VALUES ('483', 'en_US.ascii', 'Too Many Hops');
382
+INSERT INTO i18n (code, lang, new_reason) VALUES ('484', 'en_US.ascii', 'Address Incomplete');
383
+INSERT INTO i18n (code, lang, new_reason) VALUES ('485', 'en_US.ascii', 'Ambiguous');
384
+INSERT INTO i18n (code, lang, new_reason) VALUES ('486', 'en_US.ascii', 'Busy Here');
385
+INSERT INTO i18n (code, lang, new_reason) VALUES ('487', 'en_US.ascii', 'Request Terminated');
386
+INSERT INTO i18n (code, lang, new_reason) VALUES ('488', 'en_US.ascii', 'Not Acceptable Here');
387
+INSERT INTO i18n (code, lang, new_reason) VALUES ('491', 'en_US.ascii', 'Request Pending');
388
+INSERT INTO i18n (code, lang, new_reason) VALUES ('493', 'en_US.ascii', 'Undecipherable');
389
+INSERT INTO i18n (code, lang, new_reason) VALUES ('500', 'en_US.ascii', 'Server Internal Error');
390
+INSERT INTO i18n (code, lang, new_reason) VALUES ('501', 'en_US.ascii', 'Not Implemented');
391
+INSERT INTO i18n (code, lang, new_reason) VALUES ('502', 'en_US.ascii', 'Bad Gateway');
392
+INSERT INTO i18n (code, lang, new_reason) VALUES ('503', 'en_US.ascii', 'Service Unavailable');
393
+INSERT INTO i18n (code, lang, new_reason) VALUES ('504', 'en_US.ascii', 'Server Time-out');
394
+INSERT INTO i18n (code, lang, new_reason) VALUES ('505', 'en_US.ascii', 'Version Not Supported');
395
+INSERT INTO i18n (code, lang, new_reason) VALUES ('513', 'en_US.ascii', 'Message Too Large');
396
+INSERT INTO i18n (code, lang, new_reason) VALUES ('600', 'en_US.ascii', 'Busy Everywhere');
397
+INSERT INTO i18n (code, lang, new_reason) VALUES ('603', 'en_US.ascii', 'Decline');
398
+INSERT INTO i18n (code, lang, new_reason) VALUES ('604', 'en_US.ascii', 'Does Not Exist Anywhere');
399
+INSERT INTO i18n (code, lang, new_reason) VALUES ('606', 'en_US.ascii', 'Not Acceptable');
400
+INSERT INTO i18n (code, lang, new_reason) VALUES ('100', 'cs_CZ.ascii', 'Navazuji spojeni');
401
+INSERT INTO i18n (code, lang, new_reason) VALUES ('180', 'cs_CZ.ascii', 'Vyzvani');
402
+INSERT INTO i18n (code, lang, new_reason) VALUES ('181', 'cs_CZ.ascii', 'Hovor je presmerovan');
403
+INSERT INTO i18n (code, lang, new_reason) VALUES ('182', 'cs_CZ.ascii', 'Jste v poradi');
404
+INSERT INTO i18n (code, lang, new_reason) VALUES ('183', 'cs_CZ.ascii', 'Probiha navazovani spojeni');
405
+INSERT INTO i18n (code, lang, new_reason) VALUES ('200', 'cs_CZ.ascii', 'Uspesne provedeno');
406
+INSERT INTO i18n (code, lang, new_reason) VALUES ('202', 'cs_CZ.ascii', 'Bude vyrizeno pozdeji');
407
+INSERT INTO i18n (code, lang, new_reason) VALUES ('300', 'cs_CZ.ascii', 'Existuje vice moznosti');
408
+INSERT INTO i18n (code, lang, new_reason) VALUES ('301', 'cs_CZ.ascii', 'Trvale presmerovano');
409
+INSERT INTO i18n (code, lang, new_reason) VALUES ('302', 'cs_CZ.ascii', 'Docasne presmerovano');
410
+INSERT INTO i18n (code, lang, new_reason) VALUES ('305', 'cs_CZ.ascii', 'Pouzijte jiny server');
411
+INSERT INTO i18n (code, lang, new_reason) VALUES ('380', 'cs_CZ.ascii', 'Alternativni sluzba');
412
+INSERT INTO i18n (code, lang, new_reason) VALUES ('400', 'cs_CZ.ascii', 'Chyba protokolu');
413
+INSERT INTO i18n (code, lang, new_reason) VALUES ('401', 'cs_CZ.ascii', 'Overeni totoznosti');