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

KamDev Essa kamdevessa at yahoo.com
Fri May 4 15:41:08 CEST 2018


 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 at 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 at 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 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.
>KD


-- Alex

--
Sent via mobile, please forgive typos and brevity. 

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180504/ab10580c/attachment.html>


More information about the sr-users mailing list