CEPM and Snom phones

Arch = x86_64
OS = CentOS-6.4 (freepbx)
Asterisk = 11.3.0
FreePBX = 2.11.0.2

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:

Button 12
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):

192.168.6.111 - - [12/Jun/2013:14:49:11 -0400] "GET /snom870.htm HTTP/1.1" 404 286 "-" "Mozilla/4.0 (compatible; snom870-SIP 8.7.3.19 SPEAr300 SNOM 1.4)" 192.168.6.111 - - [12/Jun/2013:14:49:11 -0400] "GET /snom870-00041341A5E5.htm HTTP/1.1" 404 299 "-" "Mozilla/4.0 (compatible; snom870-SIP 8.7.3.19 SPEAr300 SNOM 1.4)" 192.168.6.111 - - [12/Jun/2013:14:49:11 -0400] "GET /snom870-firmware.htm HTTP/1.1" 404 295 "-" "Mozilla/4.0 (compatible; snom870-SIP 8.7.3.19 SPEAr300 SNOM 1.4)" 192.168.6.111 - - [12/Jun/2013:14:53:32 -0400] "GET /snom870.htm HTTP/1.1" 404 286 "-" "Mozilla/4.0 (compatible; snom870-SIP 8.7.3.19 SPEAr300 SNOM 1.4)" 192.168.6.111 - - [12/Jun/2013:14:53:32 -0400] "GET /snom870-00041341A5E5.htm HTTP/1.1" 404 299 "-" "Mozilla/4.0 (compatible; snom870-SIP 8.7.3.19 SPEAr300 SNOM 1.4)" 192.168.6.111 - - [12/Jun/2013:14:53:32 -0400] "GET /snom870-firmware.htm HTTP/1.1" 404 295 "-" "Mozilla/4.0 (compatible; snom870-SIP 8.7.3.19 SPEAr300 SNOM 1.4)

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.