Reboot a Yealink phone remotely

Using sipsak

The phone will reboot when it receive a SIP message like:

NOTIFY sip:<user>@<dsthost> SIP/2.0
To: sip:<user>@<dsthost>
From: sip:sipsak@<srchost>
CSeq: 10 NOTIFY
Call-ID: 1234@<srchost>
Event: check-sync;reboot=true 

Use sipsak or similar:

sipsake -f reboot_yealink.sipfile -s sip:1234@dsthost

Using SIP NOTIFY via Asterisk

Add this to your sip_notify_custom.conf:

[reboot-yealink]
Event=>check-sync\;reboot=true
Content-Length=>0

then you can do (after a module chan_sip.so reload):

sip notify reboot-yealink 502
 
yealink/reboot.txt · Last modified: d/m/Y H:i by admin
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki