|
@@ -39,6 +39,7 @@ Daniel-Constantin Mierla
|
|
3.12. cparam_name (int)
|
|
3.12. cparam_name (int)
|
|
3.13. a_contact_avp (str)
|
|
3.13. a_contact_avp (str)
|
|
3.14. b_contact_avp (str)
|
|
3.14. b_contact_avp (str)
|
|
|
|
+ 3.15. rr_update (int)
|
|
|
|
|
|
4. Event Routes
|
|
4. Event Routes
|
|
|
|
|
|
@@ -61,8 +62,9 @@ Daniel-Constantin Mierla
|
|
1.12. Set cparam_name parameter
|
|
1.12. Set cparam_name parameter
|
|
1.13. Set a_contact_avp parameter
|
|
1.13. Set a_contact_avp parameter
|
|
1.14. Set b_contact_avp parameter
|
|
1.14. Set b_contact_avp parameter
|
|
- 1.15. Usage of event_route[topos:msg-outgoing]
|
|
|
|
- 1.16. Usage of event_route[topos:msg-sending]
|
|
|
|
|
|
+ 1.15. Set rr_update parameter
|
|
|
|
+ 1.16. Usage of event_route[topos:msg-outgoing]
|
|
|
|
+ 1.17. Usage of event_route[topos:msg-sending]
|
|
|
|
|
|
Chapter 1. Admin Guide
|
|
Chapter 1. Admin Guide
|
|
|
|
|
|
@@ -90,6 +92,7 @@ Chapter 1. Admin Guide
|
|
3.12. cparam_name (int)
|
|
3.12. cparam_name (int)
|
|
3.13. a_contact_avp (str)
|
|
3.13. a_contact_avp (str)
|
|
3.14. b_contact_avp (str)
|
|
3.14. b_contact_avp (str)
|
|
|
|
+ 3.15. rr_update (int)
|
|
|
|
|
|
4. Event Routes
|
|
4. Event Routes
|
|
|
|
|
|
@@ -150,6 +153,7 @@ Chapter 1. Admin Guide
|
|
3.12. cparam_name (int)
|
|
3.12. cparam_name (int)
|
|
3.13. a_contact_avp (str)
|
|
3.13. a_contact_avp (str)
|
|
3.14. b_contact_avp (str)
|
|
3.14. b_contact_avp (str)
|
|
|
|
+ 3.15. rr_update (int)
|
|
|
|
|
|
3.1. storage (str)
|
|
3.1. storage (str)
|
|
|
|
|
|
@@ -356,6 +360,18 @@ modparam("topos", "a_contact_avp", "$avp(tps-act)")
|
|
modparam("topos", "b_contact_avp", "$avp(tps-bct)")
|
|
modparam("topos", "b_contact_avp", "$avp(tps-bct)")
|
|
...
|
|
...
|
|
|
|
|
|
|
|
+3.15. rr_update (int)
|
|
|
|
+
|
|
|
|
+ If set to 1, topos module will track and update record route changes on
|
|
|
|
+ re-invite.
|
|
|
|
+
|
|
|
|
+ Default value is 0 (do not update record route changes within dialog).
|
|
|
|
+
|
|
|
|
+ Example 1.15. Set rr_update parameter
|
|
|
|
+...
|
|
|
|
+modparam("topos", "rr_update", 1)
|
|
|
|
+...
|
|
|
|
+
|
|
4. Event Routes
|
|
4. Event Routes
|
|
|
|
|
|
4.1. event_route[topos:msg-outgoing]
|
|
4.1. event_route[topos:msg-outgoing]
|
|
@@ -373,7 +389,7 @@ modparam("topos", "b_contact_avp", "$avp(tps-bct)")
|
|
reparsing the outgoing SIP message for the cases when topology hiding
|
|
reparsing the outgoing SIP message for the cases when topology hiding
|
|
is not wanted.
|
|
is not wanted.
|
|
|
|
|
|
- Example 1.15. Usage of event_route[topos:msg-outgoing]
|
|
|
|
|
|
+ Example 1.16. Usage of event_route[topos:msg-outgoing]
|
|
...
|
|
...
|
|
event_route[topos:msg-outgoing] {
|
|
event_route[topos:msg-outgoing] {
|
|
if($sndto(ip)=="10.1.1.10") {
|
|
if($sndto(ip)=="10.1.1.10") {
|
|
@@ -392,7 +408,7 @@ event_route[topos:msg-outgoing] {
|
|
$sndto(proto) point to the destination. The SIP message is the one to
|
|
$sndto(proto) point to the destination. The SIP message is the one to
|
|
be sent out.
|
|
be sent out.
|
|
|
|
|
|
- Example 1.16. Usage of event_route[topos:msg-sending]
|
|
|
|
|
|
+ Example 1.17. Usage of event_route[topos:msg-sending]
|
|
...
|
|
...
|
|
event_route[topos:msg-sending] {
|
|
event_route[topos:msg-sending] {
|
|
if(is_request() and $fU=="alice") {
|
|
if(is_request() and $fU=="alice") {
|