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
Copy Aastra phone config files into /tftpboot directory.  There are 2.  One is aastra.cfg and one is “MACADDRESSOFPHONE”.cfg

For remote external SIP extensions
nano /etc/asterisk/sip_nat.conf
nat=yes
externip=<your fixed external IP> or
;externhost=yourdns.com
localnet=192.168.1.0/255.255.255.0
externrefresh=10

(Ctrl-X>y>ENTER)