[OpenSIPS-Users] Alias

Pat M miagi_son at proton.me
Tue Jan 31 15:48:44 UTC 2023


Konnichiwa,

my users are labelled like 1020-tokyo and 1021-tokyo
so i created an alias for them as 1020 and 1021 but when i dial between them it does not work and says 404
i followed here

https://opensips.org/html/docs/modules/3.3.x/alias_db.html

modparam("alias_db", "db_url", "mysql://xxxx:xxx@172.17.0.3/opensips")
modparam("alias_db", "user_column", "username")
modparam("alias_db", "domain_column", "domain")
modparam("alias_db", "alias_user_column", "user")
modparam("alias_db", "alias_domain_column", "domain")
modparam("alias_db", "domain_prefix", "sip.")
modparam("alias_db", "append_branches", 1)

if (!lookup("location")) {
alias_db_lookup("dbaliases", "rd");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230131/d253264e/attachment.html>


More information about the Users mailing list