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.com alias=ast2.domain.com And 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 <[email protected]> wrote: > any clues here? > > On Wed, Nov 18, 2020 at 10:17 PM Mihai Cezar <[email protected]> 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: >> - [email protected] -> must register to asterisk server 1, >> - [email protected] -> must register to asterisk server 2 >> - [email protected]> must register to asterisk server 3 >> >> ast.example.com, ast2.example.com, ast3.example.com = will share all >> the same ip, >> >> when 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 > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: [email protected] phone: +34669448337
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
