[SR-Users] db_text and caching/reloading

Asgaroth 00asgaroth00 at gmail.com
Tue Sep 29 14:07:03 CEST 2015


Hi,

Friendly "bump", any thoughts on this one?

I'm using kamailio v4.3.2

Thanks

On 28/09/2015 13:11, Asgaroth wrote:
> Hi,
>
> I am busy testing the db_text module for some modules who's 
> configuration does not change that often.
>
> If I set the db_mode for db_text to 0 (caching), it appears that if I 
> modify the file directly (in this case the address dbtext file) and 
> then issue a "kamctl address reload" the updated contents are *not* 
> reloaded. However, if I set db_mode to 1, then the contents of the 
> db_text file automatically reload when I change it on the file system.
>
> Is it possible to run db_text in caching mode but to also force a 
> reload if I manually update the underlying database file?
>
> Additionally, in kamctlrc, I had to add the following variable:
>
> DBTEXT_PATH="/etc/kamailio/db_text"
>
> Whereas the original example for db_text path in kamctlrc is as follows:
>
> # database path used by dbtext, db_berkeley or sqlite
> #DB_PATH="/etc/kamailio/db_text"
>
> Is this just a typo in the kamctlrc distribution or is the variable 
> meant to be DB_PATH or DBTEXT_PATH?
>
> Thanks
>




More information about the sr-users mailing list