We have configured our FreePBX system for devices and users. We have created a CEPM template for our Snom phones called ‘snom’. This template contains button assignments in the following form:
Type: BLF Label: Robert Value: 41719 Account: Active
My first question is: Is it necessary to specify the mac address of the fixed device on the FreePBX edit user page in order that the programmable buttons are given their correct assignment? We intend that all phones be given the same button assignments.
The reason I asked my question above was because I could not get the provisioning file to load unless the phone’s mac address had been added. After considerable poking about I discover that the reason the mac address is necessary is because the form of file requested by the snom phone is only matched by the mac specific provisioning file created by CEPM.
CEPM creates the following files for a snom870:
-rwxr-xr-x 1 asterisk asterisk 159 Jun 12 14:08 snom870--firmware.xml
-rwxr-xr-x 1 asterisk asterisk 57542 Jun 12 14:08 snom870-.htm
-rwxr-xr-x 1 asterisk asterisk 159 Jun 12 14:08 snom870-0004137128FC-firmware.xml
-rwxr-xr-x 1 asterisk asterisk 57542 Jun 12 14:08 snom870-0004137128FC.htm
However, the snom phone looks for these files instead (this phone has a different mac address than the one used to create the provisioning file):
Which match none of the files created by the CEPM. This appears to be caused by CEPM placing an extraneous ‘-’ character in file names. This could be worked around by creating a logical link between snom870-.htm and snom870.htm but then the web server needs reconfiguring to allow soft links to be followed.
Also, I discover that the snom basefile as distributed has the update_policy set to auto_update which seems to me an accident waiting to happen. I think the basefile default should be the default factory setting, which is settings_only.