Pre-Submission Checklist

Type Of Change

Checklist:

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()) {
                t_check_trans();
                exit;
        }
        t_check_trans();
        xnotice("[$rm][$ci]\n");
        if (is_method("INVITE") && !has_totag()) {
                fix_nated_contact();
                if ($rU == "777") {
                        setflag(2);
                        if (rms_answer() != 1) {
                                send_reply("503", "server error");
                                xerr("rtp_media_server error!\n");
                                exit;
                        } else {
                                exit;
                        }
                }
                $var(target) = "sip:1234@11.12.69.51:5060;";
                if (!rms_bridge("$var(target)", "rms:bridged")) {
                        send_reply("604", "server error");
                        xerr("rtp_media_server bridge error!\n");
                        exit;
                }
        }
        if(rms_session_check())
                rms_sip_request();
        exit;
}

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

  https://github.com/kamailio/kamailio/pull/1823

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.