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 <[email protected]> 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 < > [email protected]> 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 >> [email protected] >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> > _______________________________________________ > 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
