I fugured out the issue. "Alias" is the ext and not the other way around. Works perfectly now.

Thanks for the help.

KD

On Thursday, May 3, 2018, 5:43:03 PM EDT, KamDev Essa <kamdevessa@yahoo.com> wrote:


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:+12345678901@123.123.123.123

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 <abalashov@evaristesys.com> 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 <kamdevessa@yahoo.com> 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
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users