<div dir="ltr"><div>Hi,</div><div><br></div><div>If it is not to much to ask, this will forward also the RTP, if it is possible can you give an example  on how the config will look like?</div><div><br></div><div>Thanks in advance</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Nov 21, 2020 at 7:16 PM David Villasmil <<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>> wrote:<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="auto">Hello,</div><div dir="auto"><br></div><div dir="auto">It’s actually pretty simple.</div><div dir="auto">As you pointed out; just direct your softphones to specific dns names, I.e.: <a href="http://ast.domain.com" target="_blank">ast.domain.com</a>, ast2, etc. all of which resolve to that Kamailio proxy.</div><div dir="auto">In Kamailio add aliases for those dns names, I.e.:</div><div dir="auto"><br></div><div dir="auto">alias=<a href="http://ast.domain.com" target="_blank">ast.domain.com</a></div><div dir="auto">alias=<a href="http://ast2.domain.com" target="_blank">ast2.domain.com</a></div><div dir="auto"><br></div><div dir="auto">And when you get an INVITE, just look at the RURI and forward to the specific asterisk server.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 21 Nov 2020 at 13:15, Mihai Cezar <<a href="mailto:cezar@mokalife.ro" target="_blank">cezar@mokalife.ro</a>> wrote:<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">any clues here?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 18, 2020 at 10:17 PM Mihai Cezar <<a href="mailto:cezar@mokalife.ro" target="_blank">cezar@mokalife.ro</a>> wrote:<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"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi all,<div><br></div><div>I need some help on getting to work my scenario:</div><div><br></div><div>I have 3 asterisk servers, and every agents (soft phones like zoiper) is connecting  to which server they need by contacting the PublicIP of each server. (the problem is that I need to reuse the IP address on others servers) .</div><div><br></div><div>I want if is possible to use a <span>proxy like "haproxy" but for sip to redirect the agents (softphones)</span>, </div><div>to their coresponding server.  </div><div><br></div><div>For example: </div><div>- <a href="mailto:james@ast.example.com" target="_blank">james@ast.example.com</a> -> must register to asterisk server 1, </div><div>- <a href="mailto:sarah@ast2.exampe.com" target="_blank">sarah@ast2.exampe.com</a> -> must register to asterisk server 2 </div><div>- andy@ast3.example.com-> must register to asterisk server 3</div><div><br></div><div><a href="http://ast.example.com" target="_blank">ast.example.com</a>, <a href="http://ast2.example.com" target="_blank">ast2.example.com</a>, <a href="http://ast3.example.com" target="_blank">ast3.example.com</a> = will share all the same ip, </div><div><br></div><div>when the request arrives in the proxy it should check the vhost and redirect to the coresponding server for registering.</div><div><br></div><div>Any hints and how to do this scenario? <br></div></div></div></div></div>
</blockquote></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><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></div>-- <br><div dir="ltr"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><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>