Module: kamailio
Branch: master
Commit: a5f4feaec7f61d9c8ce54bdd42634220d116f116
URL:
https://github.com/kamailio/kamailio/commit/a5f4feaec7f61d9c8ce54bdd4263422…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2024-08-21T09:46:11+02:00
modules: readme files regenerated - corex ... [skip ci]
---
Modified: src/modules/corex/README
---
Diff:
https://github.com/kamailio/kamailio/commit/a5f4feaec7f61d9c8ce54bdd4263422…
Patch:
https://github.com/kamailio/kamailio/commit/a5f4feaec7f61d9c8ce54bdd4263422…
---
diff --git a/src/modules/corex/README b/src/modules/corex/README
index 8986ee4df23..fa4a34ce706 100644
--- a/src/modules/corex/README
+++ b/src/modules/corex/README
@@ -64,7 +64,8 @@ Muhammad Shahzad Shafi
4.23. via_reply_add_xavp_params(flags)
4.24. is_faked_msg()
4.25. is_socket_name(sockname)
- 4.26. forward_reply()
+ 4.26. forward_uac()
+ 4.27. forward_reply()
5. RPC Commands
@@ -120,9 +121,10 @@ Muhammad Shahzad Shafi
1.30. via_reply_add_xavp_params usage
1.31. is_faked_msg usage
1.32. is_socket_name usage
- 1.33. forward_reply usage
- 1.34. event_route[network:msg] use cases
- 1.35. Sample PERL code for do_compress and do_uncompress
+ 1.33. forward_uac usage
+ 1.34. forward_reply usage
+ 1.35. event_route[network:msg] use cases
+ 1.36. Sample PERL code for do_compress and do_uncompress
Chapter 1. Admin Guide
@@ -171,7 +173,8 @@ Chapter 1. Admin Guide
4.23. via_reply_add_xavp_params(flags)
4.24. is_faked_msg()
4.25. is_socket_name(sockname)
- 4.26. forward_reply()
+ 4.26. forward_uac()
+ 4.27. forward_reply()
5. RPC Commands
@@ -390,7 +393,8 @@ modparam("corex", "nio_msg_avp",
"$avp(msg)")
4.23. via_reply_add_xavp_params(flags)
4.24. is_faked_msg()
4.25. is_socket_name(sockname)
- 4.26. forward_reply()
+ 4.26. forward_uac()
+ 4.27. forward_reply()
4.1. append_branch([ uri, [ q ] ])
@@ -810,13 +814,33 @@ event_route[dispatcher:dst-down] {
}
...
-4.26. forward_reply()
+4.26. forward_uac()
+
+ Forward received request with a single Via header, the one added by
+ Kamailio, the other ones being removed. Useful in cases when its reply
+ should not be sent back (e.g., the reply was already sent out from
+ Kamailio).
+
+ This function can be used in REQUEST_ROUTE.
+
+ Example 1.33. forward_uac usage
+...
+request_route {
+ ...
+ sl_send_reply("200", "OK");
+ $du = "sip:mirror.com:5080";
+ forward_uac();
+ ...
+}
+...
+
+4.27. forward_reply()
Forward received reply on demand.
This function can be used in CORE_ONREPLY_ROUTE.
- Example 1.33. forward_reply usage
+ Example 1.34. forward_reply usage
...
route[reply] {
forward_reply();
@@ -999,7 +1023,7 @@ route[reply] {
Next is a basic usage example where encoding and decoding is done using
PERL.
- Example 1.34. event_route[network:msg] use cases
+ Example 1.35. event_route[network:msg] use cases
...
loadmodule "app_perl.so"
loadmodule "corex.so"
@@ -1030,7 +1054,7 @@ event_route[network:msg] {
}
...
- Example 1.35. Sample PERL code for do_compress and do_uncompress
+ Example 1.36. Sample PERL code for do_compress and do_uncompress
...
use strict;
use warnings;