<div dir="ltr">If you looking for examples: you can use this one<br><a href="https://github.com/havfo/WEBRTC-to-SIP">https://github.com/havfo/WEBRTC-to-SIP</a> as starting point<br><br>anyway, the Path mentioned by Alex is the best approach.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 6 мая 2021 г. в 10:34, Wojtko, Daniel <<a href="mailto:daniel.wojtko@rittec.de">daniel.wojtko@rittec.de</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi, <br>
</p>
<p>afaik rtpproxy doesn't support WebRTC but rtpengine does<br>
</p>
<p><br>
</p>
<p>Regards<br>
</p>
<p><br>
</p>
<p>Daniel<br>
</p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div id="gmail-m_4417964312129330410divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> sr-users <<a href="mailto:sr-users-bounces@lists.kamailio.org" target="_blank">sr-users-bounces@lists.kamailio.org</a>> im Auftrag von Eliphas Levy Theodoro <<a href="mailto:eliphas@gmail.com" target="_blank">eliphas@gmail.com</a>><br>
<b>Gesendet:</b> Mittwoch, 5. Mai 2021 23:44<br>
<b>An:</b> <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<b>Betreff:</b> [SR-Users] Kamailio as front proxy for multiple sip servers</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hello!
<div><br>
<div>I am trying to config one kamailio as reverse proxy for a bunch of internal (no internet address) separate asterisk sip instances (per domain). The kamailio server would be the only with the valid IP address, so would use rtpengine to force to be in the
media path.</div>
<div><br>
</div>
<div>Like this scenario: <a href="https://opensips.org/pipermail/users/2020-August/043610.html" target="_blank">
https://opensips.org/pipermail/users/2020-August/043610.html</a><br>
</div>
<div><br>
</div>
<div>I have used as starting point this very basic config:</div>
<div><a href="https://blog.voipxswitch.com/2015/03/27/kamailio-basic-sip-proxy-all-requests-setup/" target="_blank">https://blog.voipxswitch.com/2015/03/27/kamailio-basic-sip-proxy-all-requests-setup/</a><br>
</div>
<div><br>
</div>
<div>Basically just added rtpproxy support, and voilà, inter-SIP is working, media always passing into the proxy.</div>
<div><br>
</div>
<div>The problem: I would have WebRTC phones connecting too. I tried setting WSS up in kamailio, and asterisk (pjsip) wouldn't know how to send the message to the proxy: on register it has trasnport=wss in the contact: header, looks like it is confusing the
asterisk.</div>
<div><br>
</div>
<div>So, I resort for the wisdom of the list :) What would be the good-best-path to take here, hack the header, or put the webphones registering directly on the asterisks (with a nginx reverse proxy maybe)?</div>
<div><br>
</div>
<div>Someone must have already made a blog with such setup, but I could not google-unearth it at least until now.</div>
<div><br>
</div>
<div>Regards,</div>
<div>-- </div>
<div>
<div>
<div dir="ltr">Eliphas</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
* <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
* <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>