[sr-dev] git:master:5ecae10f: modules: readme files regenerated - dialog ... [skip ci]
Kamailio Dev
kamailio.dev at kamailio.org
Thu Nov 10 12:01:45 CET 2022
Module: kamailio
Branch: master
Commit: 5ecae10fabb5da1911c7a7843ba3fb595bfb39e0
URL: https://github.com/kamailio/kamailio/commit/5ecae10fabb5da1911c7a7843ba3fb595bfb39e0
Author: Kamailio Dev <kamailio.dev at kamailio.org>
Committer: Kamailio Dev <kamailio.dev at kamailio.org>
Date: 2022-11-10T12:01:36+01:00
modules: readme files regenerated - dialog ... [skip ci]
---
Modified: src/modules/dialog/README
---
Diff: https://github.com/kamailio/kamailio/commit/5ecae10fabb5da1911c7a7843ba3fb595bfb39e0.diff
Patch: https://github.com/kamailio/kamailio/commit/5ecae10fabb5da1911c7a7843ba3fb595bfb39e0.patch
---
diff --git a/src/modules/dialog/README b/src/modules/dialog/README
index d850087b7f..06e279ec4f 100644
--- a/src/modules/dialog/README
+++ b/src/modules/dialog/README
@@ -1814,7 +1814,7 @@ if(dlg_get_var("$var(ci)", "$var(ft)", "456", "test", "$var(tmp)"))
Meaning of the parameters is as follows:
* callid - SIP call-id.
* ftag - SIP From tag.
- * ttag - SIP To tag.
+ * ttag - SIP To tag. Use "" value to indicate early dialog.
* name - key name of the $dlg_var.
* value - string value to store at $dlg_var(name).
@@ -1827,6 +1827,11 @@ if(dlg_set_var("$var(ci)", "$var(ft)", "456", "test", "$var(tmp)"))
{
xdbg("set $$dlg_var(test):$var(tmp)\n");
}
+# you can set vars in early dialog too
+if(dlg_set_var("$var(ci)", "$var(ft)", "", "test", "$var(tmp)"))
+{
+ xdbg("set $$dlg_var(test):$var(tmp)\n");
+}
...
7.15. is_known_dlg()
More information about the sr-dev
mailing list