FreePBX 15.0.17.24 / Current Asterisk Version16.16.2 / all modules up to date / pfSense 2.5.0
On a whim, because it was inexpensive, I recently bought a Mitel 5330e IP phone. I thought I might try to get it to register with FreePBX. I did a fair amount of searching with Google to try to be able to access the 5330e via the Web Configuration Tool. It was a bit of a challenge, but I finally got it working with FreePBX, and thought I might share what I learned in the hope that I can save someone else the trouble.
The breakthrough came with this website:
This website was so much help to me that I will put it in another pastebin in case it gets lost:
Note that the link above references a number of Mitel files, including firmware, that you’ll probably need to download from the following link:
https://drive.google.com/file/d/1KM8i94DE7sOXnyGPLTHeCcycG-mvxpXU/view?usp=sharing
and put them in the tftp directory that your tftp server points to.
I should mention that I used the tftpd32 TFTP server available from Philippe Jounin at http://tftpd32.jounin.net. This is different from the TFTP server referenced in the http://mitelforums.com link above.
One issue I had was an error message on the display after a reboot:
bad 43 subopt end
It turned out to be a problem with DHCP option 43 on my pfsSense firewall. The following website titled Deploying Mitel IP Phones in a VLAN/DHCP Environment gave me some ideas about how to address the error message:
I changed option 43 in my DHCP server on pfSense as follows:
Number=43
Type=String
Value=“id:ipphone.mitel.com;sw_tftp=172.16.0.182;call_srv=172.16.0.175;vlan=0;l2p=6;dscp=56”
The above error ceased appearing on the display after a reboot, and I was then able to log in to the 5330e from a browser at http://Mitel-5330e-IPaddress with the default login/password as admin/5330e
There is a YouTube video which, altho’ a little old, provides more info re: registering the 5330e with FreePBX.
The Mitel 5330e seems to me to be a nicely designed IP phone, with buttons that can be configured as Call Forward, Do Not Disturb, Call History and more.