Hi guys, is it somehow possible to bind to a variable ip-address and port? e.g. getting the ip and port from a database? Kind regards, Roman
That is not variable from database, but may you wants look https://github.com/kamailio/kamailio/pull/1814
On Thu, May 23, 2019 at 8:20 PM Roiss-Weiss, Roman < Roman.Roiss@voxtronic.com> wrote:
Hi guys, is it somehow possible to bind to a variable ip-address and port? e.g. getting the ip and port from a database? Kind regards, Roman
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
You can execute your sql command and pass the result to kamailio in the start command, I.e.:
Kamailio -f kamailio.cfg -A “BINDADDRESS=192.168.1.1:5060”
And in the cfg:
listen=BINDADDRESS
On Thu, 23 May 2019 at 23:52, Sergey Safarov s.safarov@gmail.com wrote:
That is not variable from database, but may you wants look https://github.com/kamailio/kamailio/pull/1814
On Thu, May 23, 2019 at 8:20 PM Roiss-Weiss, Roman < Roman.Roiss@voxtronic.com> wrote:
Hi guys, is it somehow possible to bind to a variable ip-address and port? e.g. getting the ip and port from a database? Kind regards, Roman
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