[sr-dev] address caching in permissions module

Torrey Searle tsearle at gmail.com
Tue Jul 3 11:55:42 CEST 2012


According to the documentation an the code this caching flag only
impacts the trusted table and not the address table.  (and the flag is
not even referenced in address.c)

Regards,
Torrey

On 3 July 2012 10:58, Andrew Pogrebennyk <apogrebennyk at sipwise.com> wrote:
> Torrey,
> have you set the db_mode parameter in your script:
> http://kamailio.org/docs/modules/3.3.x/modules_k/permissions.html#id2496580
> ?
>
> On 07/03/2012 09:36 AM, Torrey Searle wrote:
>> Hello,
>>
>> I'm using the addresses table in kamailio for ip authentication,
>> however I finding the following issue.  It seems that the table is one
>> read into cache at startup and is only updated if address_reload is
>> called from the kamailio script.
>>
>> As calling address_reload per call is probably not ideal, is there an
>> easy way of getting the address table periodically reloaded? (e.g.
>> once a minute)
>>
>> Torrey
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev



More information about the sr-dev mailing list