Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip

A custom Avahi services definition file can be used to also, in addition to mass deploying firmware, point a Digium phone, all models except the D80, to a DPMA system. To accomplish this, use a service element definition like:

No Format
<service>
    <type>_digiumproxy._udp</type>
    <port>5060</port>
    <txt-record>sipUrl=sip:proxy@10.1.2.3:5060;transport=udp</txt-record>
    <txt-record>serviceType=asterisk</txt-record>
</service>

 

XML Firmware Management

Within the XML configuration file, the phone receives configuration information, including information about firmware files to load. Firmware is managed using a <firmwares> configuration element, such as:

...

Next, the phone should be manually returned to factory default settings. This can be accomplished by pressing the Menu or Check Button, selecting Advanced (5) from the Main Menu, Reset to Factory Defaults (2) from the Advanced menu and confirming the factory reset by pressing Yes or the Check Button.

Remote Restart

Digium phones, by default, are configured to remotely restart themselves upon receipt of the check-sync Event in a SIP NOTIFY. This behavior is controlled by the enable_check_sync XML configuration setting. By default, this setting is enabled, and phones will restart upon receipt of the Event. If the setting is disabled, the phones will not restart upon receipt of the Event.

When phones are configured with the DPMA, this setting is not available. Instead, the DPMA provides the capability to remotely reconfigure Digium phones from the Asterisk CLI and via AMI.

The SIPp test tool can be used with the following scenario file:

Expand
titleSIPp Reconfigure checksync.xml
No Format
<?xml version="1.0" ?>
<scenario name="Reconfigure">
 <send>
  <![CDATA[
    NOTIFY sip:[service]@[remote_ip]:[remote_port];ob SIP/2.0
    Via: SIP/2.0/UDP [local_ip]:[local_port];branch=[branch];rport
    Max-Forwards: 70
    From: "asterisk" <sip:asterisk@[local_ip]>;tag=[call_number]
    To: <sip:[service]@[remote_ip]:[remote_port];ob>
    Contact: <sip:asterisk@[local_ip]:[local_port]>
    Call-ID: [call_id]@[local_ip]:[local_port]
    CSeq: 102 NOTIFY
    User-Agent: Asterisk PBX SVN-branch-11-r377355
    Date: Mon, 10 Dec 2012 16:23:50 GMT
    Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
    Supported: replaces, timer
    Subscription-State: terminated
    Event: check-sync
    Content-Length: 0
  ]]>
</send>
</scenario>

to programmatically restart Digium phones like:

No Format
./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.

See Digium Phones Remote Restart and Reconfigure

Option 60

Digium phones present Option 60, Vendor class identifier, when communicating with a DHCP service. The presentation is in the format:

...