[SR-Users] How does one populate the dbaliases table and how do we initiate a reload.

KamDev Essa kamdevessa at yahoo.com
Thu May 3 23:43:02 CEST 2018

 I added alias and user via SQL insert (actual data changed for privacy)
insert kamailio.dbaliases(alias_username,alias_domain, username , domain) values('12345678901','','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 at
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 at 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 at yahoo.com> wrote:
>How do I add entries into the dbaliases table and how do I reload
>without restating Kamailio.

-- Alex

Sent via mobile, please forgive typos and brevity. 

Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180503/e6949997/attachment.html>

More information about the sr-users mailing list