Overview
This applies to Sangoma D-series, P310, and P315 model phones.
Remote Restart
Digium Sangoma phones will, typically, automatically restart themselves whenever they receive a configuration parameter that necessitates a full restart.
Otherwise, Digium Sangoma phones, beginning with firmware 1.1.0, may be remotely notified to restart by using a check-sync SIP NOTIFY Event sent from the Asterisk CLI. This feature is enabled by default and is controlled by the:
...
Older versions of Asterisk may not have a properly configured pjsipsip_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:
...
Following an Asterisk reload or restart, Digium Sangoma phones may then be remotely sent restart notices by executing the following Asterisk CLI command:
No Format |
---|
pjsip send notify digium-check-cfg <my endpoint identifier, e.g. 1000> |
Remote Reconfigure
Digium Sangoma phones, when connected to DPMA, can be remotely reconfigured using the Asterisk CLI command:
No Format |
---|
digium_phones reconfigure phone <my endpoint identifier, e.g. 1000> |
Or using by using the the DigiumPhoneReconfigure AMI Action.
If phones are not connected to DPMA, they can be reconfigured, as opposed to restarted, beginning with firmware 2.3.0, by issuing a new notify command.
Most Some versions of Asterisk will may not have a properly configured sippjsip_notify.conf file to allow sending the reconfigure notices from the Asterisk CLI. To enable this functionality, add the following lines to pjsip_notify.conf if they are not already present:
...
Like the other check-sync Event, this command depends on the phone's s enable_check_sync setting being enabled.
...
Following an Asterisk reload or restart, Digium Sangoma phones may then be remotely sent reconfigure notices by executing the following Asterisk CLI command:
...
No Format |
---|
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:
Expand | ||
---|---|---|
| ||
|
to programmatically restart Digium Sangoma 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:
Expand | ||
---|---|---|
| ||
|
as executed like:
./sipsak -f reboot.phone -s sip:[email protected]
...