This guide is used for Auto Provisioning of the Yealink IP phones which has new MAC address range. Yeastar U-Series VoIP PBX only supports the MAC address is started with 001565.
Recently Yealink launched new MAC address range is started with 805EC0. Due to this, Yeastar U-Series VoIP PBX can't scan the Yealink IP phone automatically, and even you can't allow to add the IP phone with new MAC address manually.
When you try to add a Yealink IP phone with new MAC, it can't be allowed to save the configuration.
Therefore we offer an solution resolve this problem.
Step 1. Enter SSH interface followed by this guide: Enter SSH
Step 2. Then copy file autoprovision.js to /persistent by using command cp /www/webfile/js/autoprovision.js /persistent/
Step 3. Edit the web file with command vi /persistent/autoprovision.js, then find the MAC range for Yealink phone at line 1935:
Then add marked with red content:
if(!(_$('mac').value.beginsWith("001565") || _$('mac').value.beginsWith("805ec0")|| _$('mac').value.beginsWith("805EC0"))){^M
Step 4. Go to /persistent, create add.sh file with command vi add.sh. Give the add.sh with executable authority with command chmod +x add.sh. Add below content in add.sh file. Then execute add.sh.
#!/bin/sh
cp /persistent/autoprovision.js /www/webfile/js/
Step 5. Clean the Browser's cookies and cache, then login the Yeastar U-Series VoIP PBX web interface and try to provision the Yealink IP phone on Auto Provisioning page.
9 Comments