[Asterisk-Dev] RE: SIP Phone reset from CLI

DUSTIN WILDES dwildes at pabbankshares.com
Fri Aug 29 13:49:18 MST 2003


I attached an older .diff.
Here is the newest one.

Sorry for any confusion.


 <<chan_sip_reset.diff>> 

>  -----Original Message-----
> From: 	DUSTIN WILDES  
> Sent:	Friday, August 29, 2003 4:43 PM
> To:	'asterisk-dev at lists.digium.com'
> Subject:	SIP Phone reset from CLI
> 
> 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:
>  << File: chan_sip_reset.diff >> 
> 
> 
> Mark/Martin,
> Feel free to add this into CVS if you like.
> 
> 
> 
> Enjoy & have a great weekend!!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chan_sip_reset.diff
Type: application/octet-stream
Size: 4321 bytes
Desc: chan_sip_reset.diff
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20030829/6da7bddc/chan_sip_reset.obj


More information about the asterisk-dev mailing list