[sr-dev] [kamailio/kamailio] rtp_media_server: adding call bridging (#1823)

Julien Chavanton notifications at github.com
Sun Jan 27 09:06:00 CET 2019

- forward in dialog messages using RMS bridge in B2BUA manner
- move all code related to rms_session_info to dedicated source file
- session_list refactoring to always include all dialog information
- suspend transaction to have non blocking bridging
- random rtp port
- stop using shared memory for MS2 and oRTP, manage all the allocation
  from one dedicated process

<!-- Kamailio Pull Request Template -->

  - for detailed contributing guidelines, read:
  - 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 -->
- [ ] Commit message has the format required by CONTRIBUTING guide
- [ ] Commits are split per component (core, individual modules, libs, utils, ...)
- [ ] Each component has a single commit (if not, squash them into one commit)
- [ ] 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)
- [ ] 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 -->
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)

#### Description
Even if this module is very much Alpha, I am getting closer to the minimal feature set I was having in mind, I should be able to focus my work on stabilizing the code and validate the behavior.

route {
        if (t_precheck_trans()) {
        if (is_method("INVITE") && !has_totag()) {
                if ($rU == "777") {
                        if (rms_answer() != 1) {
                                send_reply("503", "server error");
                                xerr("rtp_media_server error!\n");
                        } else {
                $var(target) = "sip:1234 at;";
                if (!rms_bridge("$var(target)", "rms:bridged")) {
                        send_reply("604", "server error");
                        xerr("rtp_media_server bridge error!\n");

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * rtp_media_server: adding call bridging

-- File Changes --

    M src/core/dns_cache.c (1)
    M src/core/resolve.c (11)
    M src/modules/rtp_media_server/Makefile (0)
    M src/modules/rtp_media_server/config_example/kamailio.cfg (5)
    M src/modules/rtp_media_server/doc/rtp_media_server_admin.xml (40)
    A src/modules/rtp_media_server/doc/state.txt (14)
    M src/modules/rtp_media_server/rms_media.c (160)
    M src/modules/rtp_media_server/rms_media.h (7)
    M src/modules/rtp_media_server/rms_sdp.c (106)
    M src/modules/rtp_media_server/rms_sdp.h (2)
    A src/modules/rtp_media_server/rms_session_info.c (202)
    A src/modules/rtp_media_server/rms_session_info.h (109)
    M src/modules/rtp_media_server/rms_util.h (4)
    M src/modules/rtp_media_server/rtp_media_server.c (887)
    M src/modules/rtp_media_server/rtp_media_server.h (46)
    M src/modules/tm/ut.h (2)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190127/ff2c3043/attachment.html>

More information about the sr-dev mailing list