Hello,It’s actually pretty simple.As you pointed out; just direct your softphones to specific dns names, I.e.: ast.domain.com, ast2, etc. all of which resolve to that Kamailio proxy.In Kamailio add aliases for those dns names, I.e.:alias=ast.domain.comalias=ast2.domain.comAnd when you get an INVITE, just look at the RURI and forward to the specific asterisk server.--On Sat, 21 Nov 2020 at 13:15, Mihai Cezar <cezar@mokalife.ro> wrote:any clues here?_______________________________________________On Wed, Nov 18, 2020 at 10:17 PM Mihai Cezar <cezar@mokalife.ro> wrote:Hi all,I need some help on getting to work my scenario: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) .I want if is possible to use a proxy like "haproxy" but for sip to redirect the agents (softphones),to their coresponding server.For example:- james@ast.example.com -> must register to asterisk server 1,- sarah@ast2.exampe.com -> must register to asterisk server 2- andy@ast3.example.com-> must register to asterisk server 3when the request arrives in the proxy it should check the vhost and redirect to the coresponding server for registering.Any hints and how to do this scenario?
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users