[SR-Users] alias="server" from db?
Henning Westerholt
hw at skalatan.de
Mon Aug 5 08:32:08 CEST 2019
Hello David,
in the upcoming 5.3 you can set an alias over the command line:
--alias=val Add an alias, the value has to be '[proto:]hostname[:port]'
(like for 'alias' global parameter)
This was added to make it easier to use Kamailio in dynamic deployments.
AFAIK there is no functionality to load the "alias=" keyword directly from the database right now. But depending what you want to achieve, you might be successful by just using a database table with an sqlops module DB query.
Cheers,
Henning
Am 05.08.19 um 00:48 schrieb David Villasmil:
Hello guys,
I can't find a module that does this, i want to load my hostname aliases from db, instead of
alias="host1:5060"
alias="host2:5060"
alias="host3:5060"
I assume it is possible, but how?
first time i need to implement this
Thanks!
Regards,
David Villasmil
email: david.villasmil.work at gmail.com<mailto:david.villasmil.work at gmail.com>
phone: +34669448337
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190805/d1d413ca/attachment.html>
More information about the sr-users
mailing list