Module: kamailio
Branch: master
Commit: 3c6bc5db3e2651784d95ef80d6de24973ffc963c
URL:
https://github.com/kamailio/kamailio/commit/3c6bc5db3e2651784d95ef80d6de249…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2024-08-22T10:46:10+02:00
modules: readme files regenerated - corex ... [skip ci]
---
Modified: src/modules/corex/README
---
Diff:
https://github.com/kamailio/kamailio/commit/3c6bc5db3e2651784d95ef80d6de249…
Patch:
https://github.com/kamailio/kamailio/commit/3c6bc5db3e2651784d95ef80d6de249…
---
diff --git a/src/modules/corex/README b/src/modules/corex/README
index fa4a34ce706..5b867a911b6 100644
--- a/src/modules/corex/README
+++ b/src/modules/corex/README
@@ -65,7 +65,8 @@ Muhammad Shahzad Shafi
4.24. is_faked_msg()
4.25. is_socket_name(sockname)
4.26. forward_uac()
- 4.27. forward_reply()
+ 4.27. forward_uac_uri(vuri)
+ 4.28. forward_reply()
5. RPC Commands
@@ -122,9 +123,10 @@ Muhammad Shahzad Shafi
1.31. is_faked_msg usage
1.32. is_socket_name usage
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
+ 1.34. forward_uac usage
+ 1.35. forward_reply usage
+ 1.36. event_route[network:msg] use cases
+ 1.37. Sample PERL code for do_compress and do_uncompress
Chapter 1. Admin Guide
@@ -174,7 +176,8 @@ Chapter 1. Admin Guide
4.24. is_faked_msg()
4.25. is_socket_name(sockname)
4.26. forward_uac()
- 4.27. forward_reply()
+ 4.27. forward_uac_uri(vuri)
+ 4.28. forward_reply()
5. RPC Commands
@@ -394,7 +397,8 @@ modparam("corex", "nio_msg_avp",
"$avp(msg)")
4.24. is_faked_msg()
4.25. is_socket_name(sockname)
4.26. forward_uac()
- 4.27. forward_reply()
+ 4.27. forward_uac_uri(vuri)
+ 4.28. forward_reply()
4.1. append_branch([ uri, [ q ] ])
@@ -834,13 +838,31 @@ request_route {
}
...
-4.27. forward_reply()
+4.27. forward_uac_uri(vuri)
+
+ Similar to forward_uac() with the posibility to provide the target
+ address as a SIP URI via the parameter vuri. The parameter vuri can
+ contain variables.
+
+ This function can be used in REQUEST_ROUTE.
+
+ Example 1.34. forward_uac usage
+...
+request_route {
+ ...
+ sl_send_reply("200", "OK");
+ forward_uac_uri("sip:mirror.com:5080");
+ ...
+}
+...
+
+4.28. forward_reply()
Forward received reply on demand.
This function can be used in CORE_ONREPLY_ROUTE.
- Example 1.34. forward_reply usage
+ Example 1.35. forward_reply usage
...
route[reply] {
forward_reply();
@@ -1023,7 +1045,7 @@ route[reply] {
Next is a basic usage example where encoding and decoding is done using
PERL.
- Example 1.35. event_route[network:msg] use cases
+ Example 1.36. event_route[network:msg] use cases
...
loadmodule "app_perl.so"
loadmodule "corex.so"
@@ -1054,7 +1076,7 @@ event_route[network:msg] {
}
...
- Example 1.36. Sample PERL code for do_compress and do_uncompress
+ Example 1.37. Sample PERL code for do_compress and do_uncompress
...
use strict;
use warnings;