#1762 ## Pre-Submission Checklist
- [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:
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [x] Related to issue #2139
#### Description
Enabled systemd notification by default.
Victor@linuxmaniac, is change acceptable for dist not have `systemd`?
For similar RPM dist i goes to delete this sting during packaging rules execution.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2144
-- Commit Summary --
* etc/kamailio.cfg: loaded systemdops.so by default
-- File Changes --
M etc/kamailio.cfg (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2144.patchhttps://github.com/kamailio/kamailio/pull/2144.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/2144
https://www.freedesktop.org/software/systemd/man/sd_notify.html
> sd_notify() may be called by a service to notify the service manager about state changes. It can be used to send arbitrary information, encoded in an environment-block-like string. Most importantly, it can be used for start-up completion notification.
--
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/issues/2139
Module: kamailio
Branch: master
Commit: febdb8778f5ef338864f52e441a4311c0b2c04da
URL: https://github.com/kamailio/kamailio/commit/febdb8778f5ef338864f52e441a4311…
Author: Richard Fuchs <rfuchs(a)sipwise.com>
Committer: Richard Fuchs <rfuchs(a)sipwise.com>
Date: 2019-11-22T09:37:28-05:00
rtpengine: document play_dtmf() command
---
Modified: src/modules/rtpengine/doc/rtpengine_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/febdb8778f5ef338864f52e441a4311…
Patch: https://github.com/kamailio/kamailio/commit/febdb8778f5ef338864f52e441a4311…
---
diff --git a/src/modules/rtpengine/doc/rtpengine_admin.xml b/src/modules/rtpengine/doc/rtpengine_admin.xml
index 9866f15fe0..9b358e1573 100644
--- a/src/modules/rtpengine/doc/rtpengine_admin.xml
+++ b/src/modules/rtpengine/doc/rtpengine_admin.xml
@@ -2888,6 +2888,45 @@ stop_media("from-tag=5yqaeriguhxcikxj");
</example>
</section>
+ <section id="rtpengine.f.play_dtmf">
+ <title>
+ <function moreinfo="none">play_dtmf([flags])</function>
+ </title>
+ <para>
+ Injects a DTMF event into the media stream. Depending on which codecs were
+ negotiated, this either injects an RFC 2833/4733 DTMF event, or an in-band PCM
+ DTMF tone into the audio stream. The flag <quote>inject DTMF</quote> must have
+ been present in both offer and answer messages when the call was established,
+ which forces all audio to go through rtpengine's transcoding engine.
+ </para>
+ <para>
+ Usage is similar to <quote>play_media</quote> with the following exceptions.
+ The selected party is not the party that will receive the DTMF event, but rather
+ the party which is generating the event. This is to support DTMF
+ events that are carried in &sip; INFO messages. Instead of specifying a media file,
+ a DTMF event code must be specified, as well as optionally a duration and the volume.
+ The <quote>code</quote> can be a number 0 through 15, or a DTMF digit (0-9, A-D, *, #).
+ The <quote>duration</quote> is specified in milliseconds and defaults to 250, within
+ a range of 100-5000. The <quote>volume</quote> is specified in absolute decibels, with
+ a default of -8 db.
+ </para>
+ <para>
+ Multiple consecutive DTMF events can be queued up by calling this function multiple
+ times consecutively. Rtpengine will play out the DTMF events in sequence, separated
+ by a default pause of 100 ms. An alternative pause length can be given through the
+ <quote>pause</quote> option, between 100 and 5000 ms.
+ </para>
+ <example>
+ <title><function>play_dtmf</function> usage</title>
+ <programlisting format="linespecific">
+...
+play_dtmf("from-tag=5yqaeriguhxcikxj code=#");
+play_dtmf("code=1 volume=5 duration=300 pause=150");
+...
+ </programlisting>
+ </example>
+ </section>
+
</section>
Module: kamailio
Branch: master
Commit: 9da53baeadb0403de86d14fa7be826780382e315
URL: https://github.com/kamailio/kamailio/commit/9da53baeadb0403de86d14fa7be8267…
Author: Richard Fuchs <rfuchs(a)sipwise.com>
Committer: Richard Fuchs <rfuchs(a)sipwise.com>
Date: 2019-11-22T08:35:49-05:00
db_redis: performance improvements and fixes
- Support update of type key columns
- Support range scans on timestamp and int keys through a series of
wildcard matches when used with a < or > operator
- Support exponential increase and fallof for SCAN
- Pad bigint values to 10 digits for faster wildcard matching
- Use KEYS instead of SCAN by default for faster keys matching
- Support optional versioning of table names
- Simulate non-unique indexes through parent sets for O(1) counting of
entries
---
Modified: src/modules/db_redis/redis_connection.c
Modified: src/modules/db_redis/redis_connection.h
Modified: src/modules/db_redis/redis_dbase.c
Modified: src/modules/db_redis/redis_dbase.h
Modified: src/modules/db_redis/redis_table.c
Modified: src/modules/db_redis/redis_table.h
---
Diff: https://github.com/kamailio/kamailio/commit/9da53baeadb0403de86d14fa7be8267…
Patch: https://github.com/kamailio/kamailio/commit/9da53baeadb0403de86d14fa7be8267…
Hi,
I'm using kamailio (v. 5.2.1) and rtpengine (v. mr8.0.1.1) to test
transcoding rtp.
All works.
From rtpengine documentation I see that ther is possibility to play
DTMF tone from SIP INFO message using "play DTMF" ng control protocol
message but I don't found rtpengine module function to do it, like
block_dtmf(), unblock_dtmf(), ecc...
What can I do to perform this feature?
Thanks
Giuseppe