Hi all!

I've included a diff that will give you two new CLI options:
1)  sip reset phone all
2)  sip reset phone 1000

These two features will either reboot all your SIP phones or just the extension you 
specified.
This will help whenever you've added a new firmware image into your /tftpboot 
directory - or just need to reboot the phones for whatever reason.
The only configuration needed is to have a syncinfo.xml listed in your /tftpboot 
directory & be sure you've set your 'sync' option in SIPDefault.cnf (or the specific 
phone .cnf file)

####  /tftpboot/syncinfo.xml

<SYNCINFO>
  <IMAGE VERSION="*" SYNC="0"/>
  <IMAGE VERSION="P0S3-05-3-00" SYNC="1"/>
</SYNCINFO>


##### /tftpboot/SIPDefault.cnf
# Sync value of the phone used for remote reset
sync: 1                         ; Default 1




Attached you'll find the .diff to patch the asterisk/channels/chan_sip.c file:
 <<chan_sip_reset.diff>> 


Mark/Martin,
Feel free to add this into CVS if you like.



Enjoy & have a great weekend!!

Attachment: chan_sip_reset.diff
Description: chan_sip_reset.diff

Reply via email to