<!-- 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
- [x] Small bug fix (non-breaking change which fixes an issue)
- [ ] 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 -->
This patch fixes route callback for ccr responses when using kemi as configuration engine.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2836
-- Commit Summary --
* ims_charging: fix charging reply route with kemi
-- File Changes --
M src/modules/ims_charging/ims_charging_mod.c (30)
M src/modules/ims_charging/ims_ro.c (35)
M src/modules/ims_charging/ims_ro.h (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2836.patchhttps://github.com/kamailio/kamailio/pull/2836.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2836
Module: kamailio
Branch: master
Commit: ad0f9a692e9e56195844e77ee8e6ebe0ca1f0bd2
URL: https://github.com/kamailio/kamailio/commit/ad0f9a692e9e56195844e77ee8e6ebe…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-09-13T10:25:46+02:00
dispatcher: docs for ds_is_active()
---
Modified: src/modules/dispatcher/doc/dispatcher_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/ad0f9a692e9e56195844e77ee8e6ebe…
Patch: https://github.com/kamailio/kamailio/commit/ad0f9a692e9e56195844e77ee8e6ebe…
---
diff --git a/src/modules/dispatcher/doc/dispatcher_admin.xml b/src/modules/dispatcher/doc/dispatcher_admin.xml
index 0ac1a430e6..7507773e13 100644
--- a/src/modules/dispatcher/doc/dispatcher_admin.xml
+++ b/src/modules/dispatcher/doc/dispatcher_admin.xml
@@ -1732,6 +1732,46 @@ if(ds_is_from_list("10", "3", "sip:127.0.0.1:5080")) {
...
}
...
+</programlisting>
+ </example>
+ </section>
+ <section id="dispatcher.f.ds_is_active">
+ <title>
+ <function moreinfo="none">ds_is_active(groupid [, uri])</function>
+ </title>
+ <para>
+ This function returns true, if there is an active URI in the destination
+ group; otherwise false. If the uri parameter is provided, then the
+ corresponding destination has to be active.
+ </para>
+ <para>Description of parameters:</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis>groupid</emphasis> - the group id. The parameter
+ can be an integer or a variable holding an integer value.
+ </para>
+ </listitem>
+ <listitem>
+ <para><emphasis>uri</emphasis> (optional) - the URI of the destination.
+ if parameter is empty or missing, the any destination is matched.
+ </para>
+ </listitem>
+ </itemizedlist>
+
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>ds_is_active</function> usage</title>
+ <programlisting format="linespecific">
+...
+if(ds_is_active("10")) {
+ ...
+}
+if(ds_is_active("10", "sip:127.0.0.1:5080")) {
+ ...
+}
+...
</programlisting>
</example>
</section>