<div dir="ltr">Hello All,<div><br></div><div>Prior to going down the rtpengine path for another need, calling was working fine between WSS client.  Now that I've added in some pieces from caruizdiaz's config [<a href="https://github.com/caruizdiaz/kamailio-ws/blob/master/kamailio-ws.cfg">https://github.com/caruizdiaz/kamailio-ws/blob/master/kamailio-ws.cfg</a>] relating to SETUP_BY_TRANSPORT, it has broken that functionality.</div><div><br></div><div>Is there a way to skip rtpengine if the originator and destination are both on wss?</div><div><br></div><div><br></div><div><br></div><div><div>route[RELAY] {</div><div><br></div><div>        # enable additional event routes for forwarded requests</div><div>        # - serial forking, RTP relaying handling, a.s.o.</div><div>        if (is_method("INVITE|BYE|SUBSCRIBE|UPDATE")) {</div><div>                t_on_branch("MANAGE_BRANCH");</div><div>                t_on_reply("MANAGE_REPLY");</div><div>        }</div><div>        if (is_method("INVITE")) {</div><div>                route(SETUP_BY_TRANSPORT);</div><div>                if(!t_is_set("failure_route")) t_on_failure("MANAGE_FAILURE");</div><div>        }</div><div>        if (!t_relay()) {</div><div>                sl_reply_error();</div><div>        }</div><div>        exit;</div><div>}</div><div><br></div><div>route[SETUP_BY_TRANSPORT] {</div><div><br></div><div>        if ($ru =~ "transport=ws") {</div><div>                xlog("L_INFO", "Request going to WS");</div><div>                if(sdp_with_transport("RTP/SAVPF")) {</div><div>                        rtpengine_manage("rtcp-mux-demux trust-address replace-origin replace-session-connection ICE=force DTLS=passive");</div><div>                        t_on_reply("REPLY_WS_TO_WS");</div><div>                        return;</div><div>                }</div><div><br></div><div>                #rtpengine_manage("rtcp-mux-demux trust-address replace-origin replace-session-connection ICE=force DTLS=passive RTP/SAVP");</div><div>                t_on_reply("REPLY_FROM_WS");</div><div>        }</div><div>        else if ($proto =~ "ws") {</div><div>                xlog("L_INFO", "Request coming from WS");</div><div>                rtpengine_manage("rtcp-mux-demux trust-address replace-origin replace-session-connection ICE=remove DTLS=passive RTP/SAVP");</div><div>                t_on_reply("REPLY_TO_WS");</div><div>        }</div><div>        else {</div><div>                xlog("L_INFO", "This is a classic phone call");</div><div>                rtpengine_manage("replace-origin replace-session-connection");</div><div>                t_on_reply("MANAGE_CLASSIC_REPLY");</div><div>        }</div><div>}</div></div><div><br></div><div>Thanks for any help!</div><div>-Don</div><div><br></div></div>