Option
Values
Description
registration_address
IP address
or
Hostname
Allows for explicit definition of the address to which phones should register. If the option is not set, then the
address given to the phones to register is the same address that the phone uses in the To: header when
requesting a configuration
registration_port
Port, as an
Integer; e.g
5060
The port on which the registration server is running – the same port on which SIP is running on the
Asterisk instance.
mDNS Discovery Options
The General Section provides the following options related to mDNS / Avahi Service Discovery:
Option
Values
Description
service_name
string, e.g. Digium
Phones Config
Server
The name of the service to be used in Avahi service discovery. Defaults to “Digium Phones
Config Server” when service_discovery_enabled, registration_address and registration_port
are set.
service_discovery_enabled
yes / no
If set to yes, will advertise the config server using Avahi. Defaults to yes. The Discovery
Service will only be enabled when registration_address and registration_port are explicitly
configured.
Firmware Update Options
The General Section provides the following options related to Firmware Update:
Option
Values
Description
firmware_url_prefix
URL, e.g.
http://10.10.10.10/firmware_package_directory
Specifies the URL prefix the phone module should use to tell
the phones where to retrieve firmware files.
firmware_package_directory
file path, e.g.
/var/www/firmware_package_directory
Specifies the actual disk location of the firmware package
provided by the webserver
Files Options
The General Section provides the following options related to Files:
Option
Values
Description
file_directory
path, e.g.
/var/lib/asterisk/digium_phones
Specifies a folder from which phones can retrieve txt and binary files. This directory is primarily
used for storing contacts.xml and user-generated phone configuration. Defaults to
/var/lib/asterisk/digium_phones
Other General Options
The General Section provides the following other options:
message_context
string, e.g.
dpma_message_context
The context matching the sip.conf [general] section definition for outofcall_message_context,
defaults to dpma_message_context.
Example
In this example:
The general section has been configured with a Global PIN of 344486 (DIGIUM)
Userlist authentication has been disabled
Config Authorization has been set to MAC with Global PIN
The Registration Server is set to 10.10.10.10 on port 5060
The Avahi service name has been set to “Go 4 Phones” with discovery enabled
Firmware will be retrieved from
**which is actually located at
http://10.10.10.10/digium_phones_firmware
/var/www/digium_phones_firmware
Files are stored in /var/lib/asterisk/digium_phones
and the dialplan context used for message handing is dpma_message_context