[sr-dev] git:master:b2747551: modules: readme files regenerated - dialog ... [skip ci]
Kamailio Dev
kamailio.dev at kamailio.org
Wed Apr 4 09:02:20 CEST 2018
Module: kamailio
Branch: master
Commit: b27475511756b04fe4d4ee5f76bcc14e4186bc58
URL: https://github.com/kamailio/kamailio/commit/b27475511756b04fe4d4ee5f76bcc14e4186bc58
Author: Kamailio Dev <kamailio.dev at kamailio.org>
Committer: Kamailio Dev <kamailio.dev at kamailio.org>
Date: 2018-04-04T09:01:55+02:00
modules: readme files regenerated - dialog ... [skip ci]
---
Modified: src/modules/dialog/README
---
Diff: https://github.com/kamailio/kamailio/commit/b27475511756b04fe4d4ee5f76bcc14e4186bc58.diff
Patch: https://github.com/kamailio/kamailio/commit/b27475511756b04fe4d4ee5f76bcc14e4186bc58.patch
---
diff --git a/src/modules/dialog/README b/src/modules/dialog/README
index 506e066948..597e06efd1 100644
--- a/src/modules/dialog/README
+++ b/src/modules/dialog/README
@@ -127,6 +127,7 @@ Olle E. Johansson
7.16. dlg_set_property(attr)
7.17. dlg_remote_profile(cmd, profile, value, uid, expires)
7.18. dlg_set_ruri()
+ 7.19. dlg_db_load_callid(cival)
8. Statistics
@@ -251,6 +252,7 @@ Olle E. Johansson
1.74. dlg_set_property usage
1.75. dlg_remote_profile usage
1.76. dlg_set_ruri() usage
+ 1.77. dlg_db_load_callid() usage
Chapter 1. Admin Guide
@@ -346,6 +348,7 @@ Chapter 1. Admin Guide
7.16. dlg_set_property(attr)
7.17. dlg_remote_profile(cmd, profile, value, uid, expires)
7.18. dlg_set_ruri()
+ 7.19. dlg_db_load_callid(cival)
8. Statistics
@@ -1342,6 +1345,7 @@ end
7.16. dlg_set_property(attr)
7.17. dlg_remote_profile(cmd, profile, value, uid, expires)
7.18. dlg_set_ruri()
+ 7.19. dlg_db_load_callid(cival)
7.1. set_dlg_profile(profile,[value])
@@ -1727,6 +1731,25 @@ if(has_totag() and is_present_hf("Route") and uri==myself ) {
}
...
+7.19. dlg_db_load_callid(cival)
+
+ Load dialog record from database matching on Call-Id provided as
+ parameter.
+
+ This function can be used from ANY_ROUTE.
+
+ Example 1.77. dlg_db_load_callid() usage
+...
+if(has_totag()) {
+ if(!is_known_dlg()) {
+ dlg_db_load_callid("$ci");
+ if(!is_known_dlg()) {
+ xlog("no dialog found with callid: $ci\n");
+ }
+ }
+}
+...
+
8. Statistics
8.1. active_dialogs
More information about the sr-dev
mailing list