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
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