|
@@ -52,6 +52,7 @@ Frederic Gaisnon
|
|
|
3.19. methods_nocontact (str)
|
|
|
3.20. header_mode (int)
|
|
|
3.21. methods_noinitial (str)
|
|
|
+ 3.22. version_table (integer)
|
|
|
|
|
|
4. Functions
|
|
|
|
|
@@ -87,11 +88,12 @@ Frederic Gaisnon
|
|
|
1.19. Set methods_nocontact parameter
|
|
|
1.20. Set header_mode parameter
|
|
|
1.21. Set methods_noinitial parameter
|
|
|
- 1.22. tps_set_context usage
|
|
|
- 1.23. Usage of event_route[topos:msg-outgoing]
|
|
|
- 1.24. Usage of event_route[topos:msg-sending]
|
|
|
- 1.25. Usage of event_route[topos:msg-incoming]
|
|
|
- 1.26. Usage of event_route[topos:msg-receiving]
|
|
|
+ 1.22. version_table parameter usage
|
|
|
+ 1.23. tps_set_context usage
|
|
|
+ 1.24. Usage of event_route[topos:msg-outgoing]
|
|
|
+ 1.25. Usage of event_route[topos:msg-sending]
|
|
|
+ 1.26. Usage of event_route[topos:msg-incoming]
|
|
|
+ 1.27. Usage of event_route[topos:msg-receiving]
|
|
|
|
|
|
Chapter 1. Admin Guide
|
|
|
|
|
@@ -126,6 +128,7 @@ Chapter 1. Admin Guide
|
|
|
3.19. methods_nocontact (str)
|
|
|
3.20. header_mode (int)
|
|
|
3.21. methods_noinitial (str)
|
|
|
+ 3.22. version_table (integer)
|
|
|
|
|
|
4. Functions
|
|
|
|
|
@@ -202,6 +205,7 @@ Chapter 1. Admin Guide
|
|
|
3.19. methods_nocontact (str)
|
|
|
3.20. header_mode (int)
|
|
|
3.21. methods_noinitial (str)
|
|
|
+ 3.22. version_table (integer)
|
|
|
|
|
|
3.1. storage (str)
|
|
|
|
|
@@ -526,6 +530,17 @@ modparam("topos", "header_mode", 1)
|
|
|
modparam("topos", "methods_noinitial", "OPTIONS,NOTIFY")
|
|
|
...
|
|
|
|
|
|
+3.22. version_table (integer)
|
|
|
+
|
|
|
+ If set to 0, the module will skip checking the version of the tables.
|
|
|
+
|
|
|
+ Default value is “1 (check for table version)”.
|
|
|
+
|
|
|
+ Example 1.22. version_table parameter usage
|
|
|
+...
|
|
|
+modparam("topos", "version_table", 0)
|
|
|
+...
|
|
|
+
|
|
|
4. Functions
|
|
|
|
|
|
4.1. tps_set_context(ctx)
|
|
@@ -537,7 +552,7 @@ modparam("topos", "methods_noinitial", "OPTIONS,NOTIFY")
|
|
|
|
|
|
This function can be used from ANY_ROUTE.
|
|
|
|
|
|
- Example 1.22. tps_set_context usage
|
|
|
+ Example 1.23. tps_set_context usage
|
|
|
...
|
|
|
request_route {
|
|
|
...
|
|
@@ -565,7 +580,7 @@ request_route {
|
|
|
reparsing the outgoing SIP message for the cases when topology hiding
|
|
|
is not wanted.
|
|
|
|
|
|
- Example 1.23. Usage of event_route[topos:msg-outgoing]
|
|
|
+ Example 1.24. Usage of event_route[topos:msg-outgoing]
|
|
|
...
|
|
|
event_route[topos:msg-outgoing] {
|
|
|
if($sndto(ip)=="10.1.1.10") {
|
|
@@ -584,7 +599,7 @@ event_route[topos:msg-outgoing] {
|
|
|
$sndto(proto) point to the destination. The SIP message is the one to
|
|
|
be sent out.
|
|
|
|
|
|
- Example 1.24. Usage of event_route[topos:msg-sending]
|
|
|
+ Example 1.25. Usage of event_route[topos:msg-sending]
|
|
|
...
|
|
|
event_route[topos:msg-sending] {
|
|
|
if(is_request() and $fU=="alice") {
|
|
@@ -604,7 +619,7 @@ event_route[topos:msg-sending] {
|
|
|
internally generated one at startup, to avoid reparsing the outgoing
|
|
|
SIP message for the cases when topology hiding is not wanted.
|
|
|
|
|
|
- Example 1.25. Usage of event_route[topos:msg-incoming]
|
|
|
+ Example 1.26. Usage of event_route[topos:msg-incoming]
|
|
|
...
|
|
|
event_route[topos:msg-incoming] {
|
|
|
if($si=="10.1.1.10") {
|
|
@@ -622,7 +637,7 @@ event_route[topos:msg-incoming] {
|
|
|
Inside the event route the variables $si, $sp and $proto point to the
|
|
|
source address. The SIP message is the one to be sent out.
|
|
|
|
|
|
- Example 1.26. Usage of event_route[topos:msg-receiving]
|
|
|
+ Example 1.27. Usage of event_route[topos:msg-receiving]
|
|
|
...
|
|
|
event_route[topos:msg-receiving] {
|
|
|
if(is_request() and $fU=="alice") {
|