Hello!
I need help uploading a list of aliases through a dbtext to use them via
myself.
It is likely that there is some configuration problem:
*loadmodule "db_text.so"*
*modparam("db_text", "db_mode", 1)modparam("db_text",
"emptystring", 1)*
*loadmodule "alias_db.so"modparam("alias_db", "db_url",
"text:///etc/kamailio/dbtext")*
*[root@kamailio]$ cat dbtext/dbaliasesid(int,auto) alias_username(string)
alias_domain(string) username(string) domain(string)1::sip.test.local::*
*[root@kamailio]$ kamcmd core.aliases_list{ myself_callbacks: yes
aliases: { }}*
If done through a script (alias=sip.test.local), then everything works fine:
*[root@kamailio]$ kamcmd core.aliases_list{ myself_callbacks: yes
aliases: { alias: { proto: *
address: sip.test.local port: *
} }}*
--
BR,
Denys Pozniak