Remote Restart and Reconfigure
Overview
This applies to Sangoma D-series, P310, and P315 model phones.
Remote Restart
Sangoma phones will, typically, automatically restart themselves whenever they receive a configuration parameter that necessitates a full restart.
Otherwise, 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:
|
setting for XML-configured phones or by the enable_check_sync parameter for DPMA-configured phones.
...
Code Block |
---|
pjsip send notify digium-check-cfg <my endpoint identifier, e.g. 1000> |
Remote Reconfigure
Sangoma phones, when connected to DPMA, can be remotely reconfigured using the Asterisk CLI command:
Code Block |
---|
digium_phones reconfigure phone <my endpoint identifier, e.g. 1000> |
Or using by using 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.
...
Code Block |
---|
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:
...