Autorestart

I have a problem with my internet provider, and very often the state of SIP-registration of my asterisk is “No Authentication”. Is it posible to autorestart SIP, when this happen?