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: [email protected]<mailto:[email protected]>
phone: +34669448337
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]<mailto:[email protected]>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users