Older versions of Asterisk may not have a properly configured sippjsip_notify.conf file to allow sending the restart notices from the Asterisk CLI. To enable this functionality, add the following lines to pjsip_notify.conf if they are not already present:
pjsip send notify digium-check-cfg <my endpoint identifier, e.g. 1000>
Digium phones, when connected to DPMA, can be remotely reconfigured using the Asterisk CLI command:
Like the other check-sync Event, this command depends on the phone's enable_check_sycnsync setting being enabled.
Following an Asterisk reload or restart, Digium phones may then be remotely sent reconfigure notices by executing the following Asterisk CLI command:
pjsip send notify digium-check-reconfig <my endpoint identifier, e.g. 1000>
Performing Remote Restart or Reconfigure outside of Asterisk
The SIPp test tool can be used with the following scenario file:
to programmatically restart Digium phones like:
./sipp 10.24.19.95 -sf checksync.xml -m 1
where 10.24.19.95 represents the IP address of the Digium phone to be restarted.
This is also possible using other tools, such as sipsak with the following file:
as executed like:
./sipsak -f reboot.phone -s sip:firstname.lastname@example.org
where 10.1.2.3 represents the IP address of the Digium phone to be restarted.