We bought D40s because of their compatibility with Asterisk, but we’re having a big problem with DPMA. The phone loses its ability to find a DHCP server after it has downloaded the user profile and restarted. This is a loop which goes like:
- Turn on phone. Enter Digium Configuration Server IP address/port (as Avahi multicast does not seem to work on my BT V3 switch/router)
- Phone successfully finds user profile from res_digium_phone.conf. (We know this works, as it did a firmware update)
- Phone restarts
- Phone can no longer find DHCP server (although picks up the network details correctly from the res_digium_phone.conf file). Shows network IP setting of DHCP/127.0.0.1.
- Enter static IP address in phone.
- Phone restarts.
- Enter Digium Configuration Server IP address/port manually, as in step 1.
- Phone says ‘no configuration servers found’.
- Factory reset phone.
- Go to step 1.
It looks like the act of downloading the settings causes the network settings to be wiped, and with them the DHCP server address.
We are following the example file closely. Our settings are:
General:
service_discovery_enabled=yes
service_name=stevepractice
userlist_auth=disabled
mdns_address=192.168.1.80
mdns_port=5060
file_directory=/var/lib/asterisk/digium_phones
Network:
type=network
alias=stevenetwork
cidr=192.168.1.0/24
registration_address=192.168.1.80
registration_port=5060
file_url_prefix=192.168.1.80/file_package_directory
public_firmware_url_prefix=http://dphone.dl.digium.com/firmware/asterisk/
ntp_server=0.digium.pool.ntp.org
network_vlan_discovery_mode=MANUAL
sip_qos=3
rtp_qos=6
network_vlan_id=4
pc_vlan_id=10
pc_qos=2
sip_dscp=24
rtp_dscp=46
Sadly, we can only register the phones using their web interface, which makes them just like any other IP phone.