... | ... |
@@ -50,6 +50,7 @@ Frederic Gaisnon |
50 | 50 |
3.17. rr_update (int) |
51 | 51 |
3.18. context (str) |
52 | 52 |
3.19. methods_nocontact (str) |
53 |
+ 3.20. methods_noinitial (str) |
|
53 | 54 |
|
54 | 55 |
4. Functions |
55 | 56 |
|
... | ... |
@@ -83,11 +84,12 @@ Frederic Gaisnon |
83 | 84 |
1.17. Set rr_update parameter |
84 | 85 |
1.18. Set context parameter |
85 | 86 |
1.19. Set methods_nocontact parameter |
86 |
- 1.20. tps_set_context usage |
|
87 |
- 1.21. Usage of event_route[topos:msg-outgoing] |
|
88 |
- 1.22. Usage of event_route[topos:msg-sending] |
|
89 |
- 1.23. Usage of event_route[topos:msg-incoming] |
|
90 |
- 1.24. Usage of event_route[topos:msg-receoving] |
|
87 |
+ 1.20. Set methods_noinitial parameter |
|
88 |
+ 1.21. tps_set_context usage |
|
89 |
+ 1.22. Usage of event_route[topos:msg-outgoing] |
|
90 |
+ 1.23. Usage of event_route[topos:msg-sending] |
|
91 |
+ 1.24. Usage of event_route[topos:msg-incoming] |
|
92 |
+ 1.25. Usage of event_route[topos:msg-receoving] |
|
91 | 93 |
|
92 | 94 |
Chapter 1. Admin Guide |
93 | 95 |
|
... | ... |
@@ -120,6 +122,7 @@ Chapter 1. Admin Guide |
120 | 122 |
3.17. rr_update (int) |
121 | 123 |
3.18. context (str) |
122 | 124 |
3.19. methods_nocontact (str) |
125 |
+ 3.20. methods_noinitial (str) |
|
123 | 126 |
|
124 | 127 |
4. Functions |
125 | 128 |
|
... | ... |
@@ -193,6 +196,7 @@ Chapter 1. Admin Guide |
193 | 196 |
3.17. rr_update (int) |
194 | 197 |
3.18. context (str) |
195 | 198 |
3.19. methods_nocontact (str) |
199 |
+ 3.20. methods_noinitial (str) |
|
196 | 200 |
|
197 | 201 |
3.1. storage (str) |
198 | 202 |
|
... | ... |
@@ -488,6 +492,18 @@ modparam("topos", "context", "srvone") |
488 | 492 |
modparam("topos", "methods_nocontact", "CANCEL,PRACK") |
489 | 493 |
... |
490 | 494 |
|
495 |
+3.20. methods_noinitial (str) |
|
496 |
+ |
|
497 |
+ List of SIP methods to skip doing topos if it is an intial request (no |
|
498 |
+ To-tag). |
|
499 |
+ |
|
500 |
+ Default value is “” (no method). |
|
501 |
+ |
|
502 |
+ Example 1.20. Set methods_noinitial parameter |
|
503 |
+... |
|
504 |
+modparam("topos", "methods_noinitial", "OPTIONS,NOTIFY") |
|
505 |
+... |
|
506 |
+ |
|
491 | 507 |
4. Functions |
492 | 508 |
|
493 | 509 |
4.1. tps_set_context(ctx) |
... | ... |
@@ -499,7 +515,7 @@ modparam("topos", "methods_nocontact", "CANCEL,PRACK") |
499 | 515 |
|
500 | 516 |
This function can be used from ANY_ROUTE. |
501 | 517 |
|
502 |
- Example 1.20. tps_set_context usage |
|
518 |
+ Example 1.21. tps_set_context usage |
|
503 | 519 |
... |
504 | 520 |
request_route { |
505 | 521 |
... |
... | ... |
@@ -527,7 +543,7 @@ request_route { |
527 | 543 |
reparsing the outgoing SIP message for the cases when topology hiding |
528 | 544 |
is not wanted. |
529 | 545 |
|
530 |
- Example 1.21. Usage of event_route[topos:msg-outgoing] |
|
546 |
+ Example 1.22. Usage of event_route[topos:msg-outgoing] |
|
531 | 547 |
... |
532 | 548 |
event_route[topos:msg-outgoing] { |
533 | 549 |
if($sndto(ip)=="10.1.1.10") { |
... | ... |
@@ -546,7 +562,7 @@ event_route[topos:msg-outgoing] { |
546 | 562 |
$sndto(proto) point to the destination. The SIP message is the one to |
547 | 563 |
be sent out. |
548 | 564 |
|
549 |
- Example 1.22. Usage of event_route[topos:msg-sending] |
|
565 |
+ Example 1.23. Usage of event_route[topos:msg-sending] |
|
550 | 566 |
... |
551 | 567 |
event_route[topos:msg-sending] { |
552 | 568 |
if(is_request() and $fU=="alice") { |
... | ... |
@@ -566,7 +582,7 @@ event_route[topos:msg-sending] { |
566 | 582 |
internally generated one at startup, to avoid reparsing the outgoing |
567 | 583 |
SIP message for the cases when topology hiding is not wanted. |
568 | 584 |
|
569 |
- Example 1.23. Usage of event_route[topos:msg-incoming] |
|
585 |
+ Example 1.24. Usage of event_route[topos:msg-incoming] |
|
570 | 586 |
... |
571 | 587 |
event_route[topos:msg-incoming] { |
572 | 588 |
if($si=="10.1.1.10") { |
... | ... |
@@ -584,7 +600,7 @@ event_route[topos:msg-incoming] { |
584 | 600 |
Inside the event route the variables $si, $sp and $proto point to the |
585 | 601 |
source address. The SIP message is the one to be sent out. |
586 | 602 |
|
587 |
- Example 1.24. Usage of event_route[topos:msg-receoving] |
|
603 |
+ Example 1.25. Usage of event_route[topos:msg-receoving] |
|
588 | 604 |
... |
589 | 605 |
event_route[topos:msg-receiving] { |
590 | 606 |
if(is_request() and $fU=="alice") { |