Rtautoclear doesn't Work, problem with rtcachefriends

I’ve been using realtime peers for a long time now, everythign is fine except that I can’t use caching. The reason? autoclear doesn’t work.

when i type sip show peer peername, the cached peer has the following information:

Realtime Peer:NO

Looking at the source code from chan_sip, here it should say: Yes, Cached.

It works fine if I prune it, but that’s not something i want to do.

Anyone has any idea?