[sr-dev] git:master:6685a797: modules: readme files regenerated - corex ... [skip ci]

Kamailio Dev kamailio.dev at kamailio.org
Thu Oct 4 17:01:47 CEST 2018


Module: kamailio
Branch: master
Commit: 6685a79778ade7821d521b23d791ed3ac80938a8
URL: https://github.com/kamailio/kamailio/commit/6685a79778ade7821d521b23d791ed3ac80938a8

Author: Kamailio Dev <kamailio.dev at kamailio.org>
Committer: Kamailio Dev <kamailio.dev at kamailio.org>
Date: 2018-10-04T17:01:39+02:00

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

---

Modified: src/modules/corex/README

---

Diff:  https://github.com/kamailio/kamailio/commit/6685a79778ade7821d521b23d791ed3ac80938a8.diff
Patch: https://github.com/kamailio/kamailio/commit/6685a79778ade7821d521b23d791ed3ac80938a8.patch

---

diff --git a/src/modules/corex/README b/src/modules/corex/README
index 58f0d16228..a67289bdb5 100644
--- a/src/modules/corex/README
+++ b/src/modules/corex/README
@@ -57,6 +57,7 @@ Muhammad Shahzad Shafi
               4.17. set_source_address(saddr)
               4.18. via_add_srvid(flags)
               4.19. via_add_xavp_params(flags)
+              4.20. via_use_xavp_fields(flags)
 
         5. RPC Commands
 
@@ -98,8 +99,9 @@ Muhammad Shahzad Shafi
    1.21. set_source_address usage
    1.22. via_add_srvid usage
    1.23. via_add_xavp_params usage
-   1.24. event_route[network:msg] use cases
-   1.25. Sample PERL code for do_compress and do_uncompress
+   1.24. via_use_xavp_fields usage
+   1.25. event_route[network:msg] use cases
+   1.26. Sample PERL code for do_compress and do_uncompress
 
 Chapter 1. Admin Guide
 
@@ -139,6 +141,7 @@ Chapter 1. Admin Guide
         4.17. set_source_address(saddr)
         4.18. via_add_srvid(flags)
         4.19. via_add_xavp_params(flags)
+        4.20. via_use_xavp_fields(flags)
 
    5. RPC Commands
 
@@ -277,6 +280,7 @@ modparam("corex", "msg_avp", "$avp(msg)")
    4.17. set_source_address(saddr)
    4.18. via_add_srvid(flags)
    4.19. via_add_xavp_params(flags)
+   4.20. via_use_xavp_fields(flags)
 
 4.1.  append_branch([ uri, [ q ] ])
 
@@ -573,6 +577,21 @@ via_add_srv("1");
 via_add_xavp_params("1");
 ...
 
+4.20. via_use_xavp_fields(flags)
+
+   Control if fields of the xavp with the name specified by
+   xavp_via_fields global parameter are used or not to build local Via.
+
+   Meaning of the parameters is as follows:
+     * flags: 1 - use xavp fields; 0 - do not use xavp fields.
+
+   This function can be used from ANY_ROUTE.
+
+   Example 1.24. via_use_xavp_fields usage
+...
+via_use_xavp_fields("1");
+...
+
 5. RPC Commands
 
    5.1. corex.debug
@@ -707,7 +726,7 @@ via_add_xavp_params("1");
    Next is a basic usage example where encoding and decoding is done using
    PERL,
 
-   Example 1.24. event_route[network:msg] use cases
+   Example 1.25. event_route[network:msg] use cases
 ...
 loadmodule "app_perl.so"
 loadmodule "corex.so"
@@ -738,7 +757,7 @@ event_route[network:msg] {
 }
 ...
 
-   Example 1.25. Sample PERL code for do_compress and do_uncompress
+   Example 1.26. Sample PERL code for do_compress and do_uncompress
 ...
 use strict;
 use warnings;




More information about the sr-dev mailing list