Module: kamailio
Branch: master
Commit: 8beae91f8a33b16f3ca66de3d0ec7449af63994a
URL:
https://github.com/kamailio/kamailio/commit/8beae91f8a33b16f3ca66de3d0ec744…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2019-08-28T21:02:05+02:00
modules: readme files regenerated - sl ... [skip ci]
---
Modified: src/modules/sl/README
---
Diff:
https://github.com/kamailio/kamailio/commit/8beae91f8a33b16f3ca66de3d0ec744…
Patch:
https://github.com/kamailio/kamailio/commit/8beae91f8a33b16f3ca66de3d0ec744…
---
diff --git a/src/modules/sl/README b/src/modules/sl/README
index 2091f2486d..71825ac919 100644
--- a/src/modules/sl/README
+++ b/src/modules/sl/README
@@ -22,6 +22,8 @@ Daniel-Constantin Mierla
2.2. default_reason (str)
2.3. bind_tm (int)
2.4. rich_redirect (int)
+ 2.5. event_callback_fl_ack (str)
+ 2.6. event_callback_lres_sent (str)
3. Functions
@@ -68,10 +70,12 @@ Daniel-Constantin Mierla
1.2. default_reason example
1.3. bind_tm example
1.4. rich_redirect example
- 1.5. sl_send_reply usage
- 1.6. send_reply usage
- 1.7. sl_reply_error usage
+ 1.5. event_callback_fl_ack example
+ 1.6. event_callback_lres_sent example
+ 1.7. sl_send_reply usage
1.8. send_reply usage
+ 1.9. sl_reply_error usage
+ 1.10. send_reply usage
Chapter 1. Admin Guide
@@ -84,6 +88,8 @@ Chapter 1. Admin Guide
2.2. default_reason (str)
2.3. bind_tm (int)
2.4. rich_redirect (int)
+ 2.5. event_callback_fl_ack (str)
+ 2.6. event_callback_lres_sent (str)
3. Functions
@@ -158,6 +164,8 @@ Chapter 1. Admin Guide
2.2. default_reason (str)
2.3. bind_tm (int)
2.4. rich_redirect (int)
+ 2.5. event_callback_fl_ack (str)
+ 2.6. event_callback_lres_sent (str)
2.1. default_code (int)
@@ -208,6 +216,32 @@ modparam("sl", "bind_tm", 0) # feature disabled
modparam("sl", "rich_redirect", 3)
...
+2.5. event_callback_fl_ack (str)
+
+ The name of the KEMI callback function to be executed instead of
+ event_route[sl:filtered-ack]. This function receives a string
+ parameter.
+
+ Default value: not set.
+
+ Example 1.5. event_callback_fl_ack example
+...
+modparam("sl", "event_callback_fl_ack",
"ksr_event_sl_filtered_ack")
+...
+
+2.6. event_callback_lres_sent (str)
+
+ The name of the KEMI callback function to be executed instead of
+ event_route[sl:local-response]. This function receives a string
+ parameter.
+
+ Default value: not set.
+
+ Example 1.6. event_callback_lres_sent example
+...
+modparam("sl", "event_callback_lres_sent",
"ksr_event_sl_local_response")
+...
+
3. Functions
3.1. sl_send_reply(code, reason)
@@ -236,7 +270,7 @@ modparam("sl", "rich_redirect", 3)
* code - Return code.
* reason - Reason phrase.
- Example 1.5. sl_send_reply usage
+ Example 1.7. sl_send_reply usage
...
sl_send_reply("404", "Not found");
...
@@ -256,7 +290,7 @@ sl_send_reply("404", "Not found");
be used on ONREPLY_ROUTE executed by tm module (upon a t_on_reply()
callback).
- Example 1.6. send_reply usage
+ Example 1.8. send_reply usage
...
send_reply("404", "Not found");
...
@@ -269,7 +303,7 @@ send_reply("403", "Invalid user - $fU");
error. Usually this function should be used after a script function
that returned an error code.
- Example 1.7. sl_reply_error usage
+ Example 1.9. sl_reply_error usage
...
sl_reply_error();
...
@@ -287,7 +321,7 @@ sl_reply_error();
This function can be used from ONREPLY_ROUTE.
- Example 1.8. send_reply usage
+ Example 1.10. send_reply usage
...
if(status=="408")
sl_forward_reply("404", "Not found");