Browse code

modules: readme files regenerated - topos ... [skip ci]

Kamailio Dev authored on 14/08/2018 08:02:13
Showing 1 changed files
... ...
@@ -34,6 +34,7 @@ Daniel-Constantin Mierla
34 34
               3.7. clean_interval (int)
35 35
               3.8. event_callback (str)
36 36
               3.9. event_mode (int)
37
+              3.10. contact_host (str)
37 38
 
38 39
         4. Event Routes
39 40
 
... ...
@@ -51,8 +52,9 @@ Daniel-Constantin Mierla
51 52
    1.7. Set clean_interval parameter
52 53
    1.8. Set event_callback parameter
53 54
    1.9. Set event_mode parameter
54
-   1.10. Usage of event_route[topos:msg-outgoing]
55
-   1.11. Usage of event_route[topos:msg-sending]
55
+   1.10. Set contact_host parameter
56
+   1.11. Usage of event_route[topos:msg-outgoing]
57
+   1.12. Usage of event_route[topos:msg-sending]
56 58
 
57 59
 Chapter 1. Admin Guide
58 60
 
... ...
@@ -75,6 +77,7 @@ Chapter 1. Admin Guide
75 77
         3.7. clean_interval (int)
76 78
         3.8. event_callback (str)
77 79
         3.9. event_mode (int)
80
+        3.10. contact_host (str)
78 81
 
79 82
    4. Event Routes
80 83
 
... ...
@@ -126,6 +129,7 @@ Chapter 1. Admin Guide
126 129
    3.7. clean_interval (int)
127 130
    3.8. event_callback (str)
128 131
    3.9. event_mode (int)
132
+   3.10. contact_host (str)
129 133
 
130 134
 3.1. storage (str)
131 135
 
... ...
@@ -247,6 +251,21 @@ end
247 251
 modparam("topos", "event_mode", 2)
248 252
 ...
249 253
 
254
+3.10. contact_host (str)
255
+
256
+   You may need to control the host part of the Contact header added by
257
+   topos. For example when using TLS with TOPOS the remote UAS must be
258
+   able to open a new TLS socket to the contact header. In this case, the
259
+   contact header must contain a domain name with a trusted CA signed
260
+   certitificate.
261
+
262
+   Default value is taken from the Record-Route URI.
263
+
264
+   Example 1.10. Set contact_host parameter
265
+...
266
+modparam("topos", "contact_host", "proxy.domain.com")
267
+...
268
+
250 269
 4. Event Routes
251 270
 
252 271
    4.1. event_route[topos:msg-outgoing]
... ...
@@ -264,7 +283,7 @@ modparam("topos", "event_mode", 2)
264 283
    reparsing the outgoing SIP message for the cases when topology hiding
265 284
    is not wanted.
266 285
 
267
-   Example 1.10. Usage of event_route[topos:msg-outgoing]
286
+   Example 1.11. Usage of event_route[topos:msg-outgoing]
268 287
 ...
269 288
 event_route[topos:msg-outgoing] {
270 289
   if($sndto(ip)=="10.1.1.10") {
... ...
@@ -283,7 +302,7 @@ event_route[topos:msg-outgoing] {
283 302
    $sndto(proto) point to the destination. The SIP message is the one to
284 303
    be sent out.
285 304
 
286
-   Example 1.11. Usage of event_route[topos:msg-sending]
305
+   Example 1.12. Usage of event_route[topos:msg-sending]
287 306
 ...
288 307
 event_route[topos:msg-sending] {
289 308
   if(is_request() and $fU=="alice") {