I added alias and user via SQL insert (actual data changed for privacy)
insert kamailio.dbaliases(alias_username,alias_domain, username , domain)
values('12345678901','123.123.123.123','202','justanother.domain.net');
On the SIPOUT route I have intentionally called alias_db_lookup("dbaliases");
right @ the start so that I see the change. I dont because the function never
finds it.
$tu is sip:[email protected]
I have tried +12345678901 and sip:+12345678901 as alias_username and nothing
works.
What and I doing incorrectly?
H On Thursday, May 3, 2018, 2:01:33 PM EDT, Alex Balashov
<[email protected]> wrote:
You populate the table by... using SQL, I suppose.
This module does no in-memory caching, so table changes have immediate effect
and no reload is required.
On May 3, 2018 1:56:11 PM EDT, KamDev Essa <[email protected]> wrote:
>How do I add entries into the dbaliases table and how do I reload
>without restating Kamailio.
>KD
-- Alex
--
Sent via mobile, please forgive typos and brevity.
_______________________________________________
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