and also:
                        xlog("IS REQUEST");
                        if ($proto =~ "ws") {
                                xlog("WEB --> SIP");
                                $xavp(r=>$T_branch_idx) =
$xavp(r=>$T_branch_idx) + " rtcp-mux-demux DTLS=off SDES-off ICE=remove
RTP/AVP";
                                rtpengine_manage($xavp(r=>$T_branch_idx));
                                if (route(FROMASTERISK)) {
                                        xlog("FROM INTERNAL");
                                } else {
                                        xlog("FROM EXTERNAL");
                                        rtpengine_manage("
direction=external direction=internal ICE=remove loop-protect");
                                }

You don't need to do rtpengine_manage twice... But in ur code its executing
twice - I believe thats the root cause of that issue...



--
Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html

_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to