Browse code

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

Kamailio Dev authored on 04/10/2018 15:01:39
Showing 1 changed files
... ...
@@ -57,6 +57,7 @@ Muhammad Shahzad Shafi
57 57
               4.17. set_source_address(saddr)
58 58
               4.18. via_add_srvid(flags)
59 59
               4.19. via_add_xavp_params(flags)
60
+              4.20. via_use_xavp_fields(flags)
60 61
 
61 62
         5. RPC Commands
62 63
 
... ...
@@ -98,8 +99,9 @@ Muhammad Shahzad Shafi
98 99
    1.21. set_source_address usage
99 100
    1.22. via_add_srvid usage
100 101
    1.23. via_add_xavp_params usage
101
-   1.24. event_route[network:msg] use cases
102
-   1.25. Sample PERL code for do_compress and do_uncompress
102
+   1.24. via_use_xavp_fields usage
103
+   1.25. event_route[network:msg] use cases
104
+   1.26. Sample PERL code for do_compress and do_uncompress
103 105
 
104 106
 Chapter 1. Admin Guide
105 107
 
... ...
@@ -139,6 +141,7 @@ Chapter 1. Admin Guide
139 141
         4.17. set_source_address(saddr)
140 142
         4.18. via_add_srvid(flags)
141 143
         4.19. via_add_xavp_params(flags)
144
+        4.20. via_use_xavp_fields(flags)
142 145
 
143 146
    5. RPC Commands
144 147
 
... ...
@@ -277,6 +280,7 @@ modparam("corex", "msg_avp", "$avp(msg)")
277 280
    4.17. set_source_address(saddr)
278 281
    4.18. via_add_srvid(flags)
279 282
    4.19. via_add_xavp_params(flags)
283
+   4.20. via_use_xavp_fields(flags)
280 284
 
281 285
 4.1.  append_branch([ uri, [ q ] ])
282 286
 
... ...
@@ -573,6 +577,21 @@ via_add_srv("1");
573 577
 via_add_xavp_params("1");
574 578
 ...
575 579
 
580
+4.20. via_use_xavp_fields(flags)
581
+
582
+   Control if fields of the xavp with the name specified by
583
+   xavp_via_fields global parameter are used or not to build local Via.
584
+
585
+   Meaning of the parameters is as follows:
586
+     * flags: 1 - use xavp fields; 0 - do not use xavp fields.
587
+
588
+   This function can be used from ANY_ROUTE.
589
+
590
+   Example 1.24. via_use_xavp_fields usage
591
+...
592
+via_use_xavp_fields("1");
593
+...
594
+
576 595
 5. RPC Commands
577 596
 
578 597
    5.1. corex.debug
... ...
@@ -707,7 +726,7 @@ via_add_xavp_params("1");
707 726
    Next is a basic usage example where encoding and decoding is done using
708 727
    PERL,
709 728
 
710
-   Example 1.24. event_route[network:msg] use cases
729
+   Example 1.25. event_route[network:msg] use cases
711 730
 ...
712 731
 loadmodule "app_perl.so"
713 732
 loadmodule "corex.so"
... ...
@@ -738,7 +757,7 @@ event_route[network:msg] {
738 757
 }
739 758
 ...
740 759
 
741
-   Example 1.25. Sample PERL code for do_compress and do_uncompress
760
+   Example 1.26. Sample PERL code for do_compress and do_uncompress
742 761
 ...
743 762
 use strict;
744 763
 use warnings;