Thanks to @xrobau for this post: Polycom phones via http and HTTPS
I was able to use the same logic to backup the Yealink local contacts to FreePBX’s /tftpboot
folder.
- Download and copy the
put.yealink
file to the/tftfpboot
directory - Give Asterisk ownership of the file
chown asterisk:asterisk /tftpboot/put.yealink
- Download and copy the
yealink.conf
file to the/etc/httpd/conf.d
directory - Restart Apache
systemctl restart httpd
- Edit your provisioning file to enable the remote backup
static.auto_provision.local_contact.backup.enable= 1
- Edit your provisioning file with the URL
static.auto_provision.local_contact.backup.path =
- HTTPS:
https://pbx.domain.com:1443
- HTTP:
http://pbx.domain.com:84
- Or it could include a username and password
https://123456:[email protected]:1443
- Or if you have the Commerical EPM use this in basfile edit:
__provisionAddress__
- HTTPS:
- Reprovision or reboot your phone to pick up the change
- Edit your local address once to force it to upload the file