REBOOT Script for Aastra phones

nano /etc/asterisk/sip_notify.conf
[aastra-check-cfg]
Event=>check-sync
Content-Length=>0

(Ctrl-X>y>ENTER)

Then from the asterisk console you can type "sip notify aastra-check-cfg 123", where 123 is the sip phone