Module: kamailio
Branch: master
Commit: 435fa668e1709df8c3025961fa7a38224483914e
URL: https://github.com/kamailio/kamailio/commit/435fa668e1709df8c3025961fa7a382…
Author: Xenofon Karamanos <22965395+xkaraman(a)users.noreply.github.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2024-09-16T13:39:06+02:00
pua_dialoginfo: Remove dlg_flag docs
---
Modified: src/modules/pua_dialoginfo/doc/pua_dialoginfo_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/435fa668e1709df8c3025961fa7a382…
Patch: https://github.com/kamailio/kamailio/commit/435fa668e1709df8c3025961fa7a382…
---
diff --git a/src/modules/pua_dialoginfo/doc/pua_dialoginfo_admin.xml b/src/modules/pua_dialoginfo/doc/pua_dialoginfo_admin.xml
index 6093c3516b6..ac5d3ba41d3 100644
--- a/src/modules/pua_dialoginfo/doc/pua_dialoginfo_admin.xml
+++ b/src/modules/pua_dialoginfo/doc/pua_dialoginfo_admin.xml
@@ -165,8 +165,8 @@
<para>This module is directly coupled with the dialog module. Thus, if the module is
loaded, it is automatically active for all calls tracked by the dialog module. Thus,
make sure that you activate the dialog module for a certain call if you want dialog-state
- to be PUBLISHED. This means, the dlg_flag of the dialog module must be configured
- and the respective flag must be set during call processing.
+ to be PUBLISHED. This means, use the <emphasis>dlg_manage()</emphasis> function of the dialog
+ module to have it tracked.
</para>
</section>
<section>
Module: kamailio
Branch: master
Commit: f612c9583072eb22dc477c11d000541ab8b944ad
URL: https://github.com/kamailio/kamailio/commit/f612c9583072eb22dc477c11d000541…
Author: Xenofon Karamanos <22965395+xkaraman(a)users.noreply.github.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2024-09-16T13:39:06+02:00
qos: Remove dlg_flag docs
---
Modified: src/modules/qos/doc/qos_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/f612c9583072eb22dc477c11d000541…
Patch: https://github.com/kamailio/kamailio/commit/f612c9583072eb22dc477c11d000541…
---
diff --git a/src/modules/qos/doc/qos_admin.xml b/src/modules/qos/doc/qos_admin.xml
index 38d33a99f00..908ab5d5f84 100644
--- a/src/modules/qos/doc/qos_admin.xml
+++ b/src/modules/qos/doc/qos_admin.xml
@@ -32,12 +32,10 @@
</para>
<para>
- All of this happens with a properly configured dialog
- and qos module and setting the dialog flag and the qos flag at
- the time any INVITE SIP message is seen. There is no
- config script function call required to set the SDP session
- tracking mechanism. See the dialog module users guide for
- more information.
+ All of this happens with a properly configured dialog and qos
+ module. You need to call the dlg_manage() function and set the
+ qos flag at the time any INVITE sip message is seen.
+ See the <quote>dialog module</quote> users guide for information.
</para>
<para>
@@ -126,9 +124,9 @@
before you can do that, you need to tell the qos module which
flag value you are assigning to qos.</para>
- <para>In most cases when ever you set the dialog flag
- you will want to set the qos flag. If the dialog flag
- is not set and the qos flag is set, it will not have
+ <para>In most cases when ever you call dlg_manage() function
+ you will want to set the qos flag. If the dialog is not tracked
+ and the qos flag is set, it will not have
any effect.</para>
<para><emphasis>This parameter must be set or the module will
@@ -143,13 +141,12 @@
<title>Set <varname>qos_flag</varname> parameter</title>
<programlisting format="linespecific">
...
-modparam("dialog", "dlg_flag", 5)
modparam("qos", "qos_flag", 7)
...
route {
...
if (method=="INVITE") {
- setflag(5); # set the dialog flag
+ dlg_manage(); # Track the dialog
setflag(7); # Set the qos flag
}
...
@@ -182,4 +179,3 @@ route {
</para>
</section>
</chapter>
-
Module: kamailio
Branch: master
Commit: fbe3aedee492ceb23ef53c967f1fe256a94d876f
URL: https://github.com/kamailio/kamailio/commit/fbe3aedee492ceb23ef53c967f1fe25…
Author: Xenofon Karamanos <22965395+xkaraman(a)users.noreply.github.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2024-09-16T13:39:06+02:00
acc: Remove dlg_flag docs
---
Modified: src/modules/acc/doc/acc_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/fbe3aedee492ceb23ef53c967f1fe25…
Patch: https://github.com/kamailio/kamailio/commit/fbe3aedee492ceb23ef53c967f1fe25…
---
diff --git a/src/modules/acc/doc/acc_admin.xml b/src/modules/acc/doc/acc_admin.xml
index 37a1365627e..493ae6323f3 100644
--- a/src/modules/acc/doc/acc_admin.xml
+++ b/src/modules/acc/doc/acc_admin.xml
@@ -327,7 +327,7 @@ if (uri=~"sip:+40") /* calls to Romania */ {
<para>
The dialog module needs to be engaged on the dialogs that should be accounted, that
they will be tracked by the server. This is usally done by calling the function
- <emphasis>dlg_manage()</emphasis> or setting the <emphasis>dlg_flag</emphasis>.
+ <emphasis>dlg_manage()</emphasis>.
Refer to the documentation of the dialog module for more information.
</para>
@@ -1611,4 +1611,3 @@ acc_db_request("$var(code) $avp(reason)", "acc");
</section>
</section>
</chapter>
-
Module: kamailio
Branch: master
Commit: 81f966174275b715608f50aae606d40a791dd67c
URL: https://github.com/kamailio/kamailio/commit/81f966174275b715608f50aae606d40…
Author: Xenofon Karamanos <22965395+xkaraman(a)users.noreply.github.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2024-09-16T13:39:06+02:00
dialog/doc: Remove dlg_flag docs and suggest dlg_manage() instead.
---
Modified: src/modules/dialog/doc/dialog_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/81f966174275b715608f50aae606d40…
Patch: https://github.com/kamailio/kamailio/commit/81f966174275b715608f50aae606d40…
---
diff --git a/src/modules/dialog/doc/dialog_admin.xml b/src/modules/dialog/doc/dialog_admin.xml
index 07116e70a63..d1547b367a6 100644
--- a/src/modules/dialog/doc/dialog_admin.xml
+++ b/src/modules/dialog/doc/dialog_admin.xml
@@ -46,9 +46,8 @@
<title>How it works</title>
<para>
To create the dialog associated with an initial INVITE request, execute
- the function <quote>dlg_manage()</quote> or set the flag specified by
- parameter <quote>dlg_flag</quote> (<xref linkend="dialog.p.flag"/>)
- before creating the corresponding transaction.
+ the function <quote>dlg_manage()</quote> before creating the
+ corresponding transaction.
</para>
<para>
The dialog is automatically destroyed when a <quote>BYE</quote> is
@@ -253,28 +252,17 @@ modparam("dialog", "rr_param", "xyz")
<section id="dialog.p.flag">
<title><varname>dlg_flag</varname> (integer)</title>
<para>
- Flag to be used for marking if a dialog should be constructed for the
- current request (this makes sense only for initial requests).
- </para>
- <para>
- Note: it is not needed to set this parameter and its corresponding flag
+ Note: This flag has beed deprecated and not used anyymore.
+ it is not needed to set this parameter and its corresponding flag
for initial request in case the <quote>dlg_manage()</quote> function
- is used. In other words, using <quote>dlg_manage()</quote> alone is
- enough.
+ is used.
+ In other words, use <quote>dlg_manage()</quote>.
</para>
<para>
<emphasis>
Default value is <quote>none</quote>.
</emphasis>
</para>
- <example>
- <title>Set <varname>dlg_flag</varname> parameter</title>
- <programlisting format="linespecific">
-...
-modparam("dialog", "dlg_flag", 4)
-...
-</programlisting>
- </example>
</section>
<section id="dialog.p.timeout_avp">
- Added `cdp_has_app` function:
- Accepts a single parameter: - `application`: The Application ID.
- Added `cdp_has_app2` function:
- Accepts two parameters: - `vendorid`: The Vendor ID associated with the application. - `application`: The Application ID.
- Added cdp_check_peer function:
- Accepts one parameter: - `fqdn`: the Fully qualified domain name of the peer, that should be checked. The parameter may contain pseudovariables.
NOTE: All parameters are passed as standard strings.
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, ...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [x] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
- The cdp functions are exported to KEMI
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3949
-- Commit Summary --
* cdp: export all functions in KEMI module
-- File Changes --
M src/modules/cdp/cdp_mod.c (49)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3949.patchhttps://github.com/kamailio/kamailio/pull/3949.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3949
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3949(a)github.com>