Is there a way to save peers into a cache?

Hi;

I have an asterisk behind a NAT, it is served by a SIP Proxy, i have activated qualify and qualifyfreq to send options to my phones every 3 minutes

however when Asterisk is restarted with "core restart now"
all my phones disappear from asterisk, “sip show peers” show nothing

is there a solution to cache my phones and to restore them after an asterisk restart please?

Why do you need to do a restart?

sometimes we have to do core restart for many reasons, even to be protected against accidental restarts