Cache lifetime

Hello! Is there any option to set cache refresh interval?
I have follwing trouble: when data in db is updated asterisk wont notice changes untill its pruned from cli (I tried to wain about 30 mins - still no luck).

The chan_sip module does not have any sort of refresh functionality.

The chan_pjsip module, when used with a new caching module, does have much more control and features including refresh. This is currently in the process of being put into Asterisk 13. There’s a wiki page[1] talking about it which is a good place to start.

[1] wiki.asterisk.org/wiki/display/ … ry+Caching

Ok, thank you for your reply. Will read and think.