Add the Compatiblity of Auto Provisioning for Yealink IP Phone with MAC Address Started with 805EC0

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 auto provision file with command vi /persistent/autoprovision.js, then find the MAC range for Yealink phone as below, then add marked with red content.

if(!(_$('mac').value.beginsWith("001565") || _$('mac').value.beginsWith("805ec0")|| _$('mac').value.beginsWith("805EC0"))){^M

                  ASTGUI.highlightField('mac', Autoprovision_mac);^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.

 

 

Have more questions? Submit a request

3 Comments

  • 2
    Avatar
    Here is detailed version for beginners to add the the Compatiblity:
     
    Step 1. Enter SSH interface followed by this guide:
    1). Please enable your SSH in U-Series PBX Security Center>Service first.
    2). Logging in your U-Series PBX 's Command Line Interface(CLI) via PuTTY or other SSH tools.
    Download and install Putty on your PC: http://www.yeastar.com/download/tools/putty.exe
    Input PBX IP and SHH port 8022 in Session page and change Line of scrollback to 200000 in Window page.
    3). The default username is root and password is ys123456.
    Step 2. Input ( cp /www/webfile/js/autoprovision.js /persistent/ ) and Enter.
    Step 3. Input ( vi /persistent/autoprovision.js ) and Enter.
    Then find the MAC range for Yealink phone as below picture via / and if(!(_$('mac').value.beginsWith("001565")
    Click keyboard I, then copy and paste bold content(start with a space) to the blue box position.
    Start with a space for this content: || _$('mac').value.beginsWith("805ec0")|| _$('mac').value.beginsWith("805EC0")
    Input ( :wq ) and Enter.
    Step 4. Input ( cd /persistent ) and Enter.
    Input ( vi add.sh ) and Enter.
    Click keyboard I, copy and paste below content in add.sh file. 
    #!/bin/sh
    cp /persistent/autoprovision.js /www/webfile/js/
    Input ( :wq ) and Enter.
    Input ( chmod +x add.sh ) and Enter.
    Input ( ./add.sh ) and Enter.
    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.
  • 0
    Avatar

    Hi Guys!

    Nice to find this post but not help for us. These changes has been transferred to the file, but we can't add a phone with "805EC0XXXXXX" MAC address to the MYPBX system. We try restart PBX but nothing.

    System info:
    Product Type: MyPBX U510
    Hardware Version: V2.00 0000-0000
    Firmware Version: 14.19.0.48

    Are you sure you don't need to change anything else?

    Thanks,
    Daniel

  • 0
    Avatar

    cant proceed after step number 2,

    telling that Step 3. Input ( vi /persistent/autoprovision.js ) and Enter.

     

    after inputting the 3rd step, it gives me different format, i cant find the if command followed by the mac adress,

     

    modem u200

     

    pls help,

Please sign in to leave a comment.