Module: kamailio
Branch: master
Commit: 499455c260ff83fb670886245f1c436dcef5eee0
URL:
https://github.com/kamailio/kamailio/commit/499455c260ff83fb670886245f1c436…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2018-04-19T19:02:14+02:00
modules: readme files regenerated - corex ... [skip ci]
---
Modified: src/modules/corex/README
---
Diff:
https://github.com/kamailio/kamailio/commit/499455c260ff83fb670886245f1c436…
Patch:
https://github.com/kamailio/kamailio/commit/499455c260ff83fb670886245f1c436…
---
diff --git a/src/modules/corex/README b/src/modules/corex/README
index 1e4d96fe9f..ce62fa950d 100644
--- a/src/modules/corex/README
+++ b/src/modules/corex/README
@@ -55,6 +55,7 @@ Muhammad Shahzad Shafi
4.15. set_recv_socket(saddr)
4.16. set_source_address(saddr)
4.17. via_add_srvid(flags)
+ 4.18. via_add_xavp_params(flags)
5. RPC Commands
@@ -93,8 +94,9 @@ Muhammad Shahzad Shafi
1.18. set_recv_socket usage
1.19. set_source_address usage
1.20. via_add_srvid usage
- 1.21. event_route[network:msg] use cases
- 1.22. Sample PERL code for do_compress and do_uncompress
+ 1.21. via_add_xavp_params usage
+ 1.22. event_route[network:msg] use cases
+ 1.23. Sample PERL code for do_compress and do_uncompress
Chapter 1. Admin Guide
@@ -132,6 +134,7 @@ Chapter 1. Admin Guide
4.15. set_recv_socket(saddr)
4.16. set_source_address(saddr)
4.17. via_add_srvid(flags)
+ 4.18. via_add_xavp_params(flags)
5. RPC Commands
@@ -268,6 +271,7 @@ modparam("corex", "msg_avp",
"$avp(msg)")
4.15. set_recv_socket(saddr)
4.16. set_source_address(saddr)
4.17. via_add_srvid(flags)
+ 4.18. via_add_xavp_params(flags)
4.1. append_branch([ uri, [ q ] ])
@@ -525,6 +529,21 @@ set_source_address("udp:127.0.0.1:5080");
via_add_srv("1");
...
+4.18. via_add_xavp_params(flags)
+
+ Control if fields of the xavp with the name specified by
+ xavp_via_params global parameter are added or not to local Via.
+
+ Meaning of the parameters is as follows:
+ * flags: 1 - add xavp parameters; 0 - do not add xavp parameters.
+
+ This function can be used from ANY_ROUTE.
+
+ Example 1.21. via_add_xavp_params usage
+...
+via_add_xavp_params("1");
+...
+
5. RPC Commands
5.1. corex.debug
@@ -659,7 +678,7 @@ via_add_srv("1");
Next is a basic usage example where encoding and decoding is done using
PERL,
- Example 1.21. event_route[network:msg] use cases
+ Example 1.22. event_route[network:msg] use cases
...
loadmodule "app_perl.so"
loadmodule "corex.so"
@@ -690,7 +709,7 @@ event_route[network:msg] {
}
...
- Example 1.22. Sample PERL code for do_compress and do_uncompress
+ Example 1.23. Sample PERL code for do_compress and do_uncompress
...
use strict;
use warnings;