Yealink Forums

Full Version: EXP20
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I looking for a faster way then the web UI to update my EXP20. Our employee list change often and we are keeping names by alphabetical order. So if I need to add someone to the middle of the list or the beginning then I have to change all names/numbers after it to keep it in correct order. I tried to export the config file delete everything but the expansion_module section but it doesn't seem to upload.
Is there any other way of doing this? I thought about changing template but then the phone reboots on provisioning.
Hi Chad,

May i know what you add to EXP20, it is speed dial? or BLF?
If it is speed dial, there is not other good way, i recommend change the template file and provisioning the phone.
if it is BLF, i think you can change to BLF list, then you can change order on server side and not need to provisioning the phone.
Hope this helps you.

BR
We have a customer who has their reception phone setup this way. They currently have 3 expansion modules, with all users configured in alphabetical order.

I can tell you doing it manually/by hand is definitely not the way to go, especially if you need to make a change in the middle! In our situation we use a server-side PHP script to generate the auto-provisioning configuration automatically. If you don't have an auto provisioning server setup, you could still use the same type of approach to at least generate the config instead of having to enter it all manually through the web interface.

For example if you have all the names/extension numbers in an Excel file, you could export it to CSV and make a simple PHP script that would read all the values, sort them alphabetically and export the appropriate configuration lines...

If you have access to a webserver that you can upload PHP files to and are interested in this approach, let me know I could probably be persuaded to whip up something quickly for you ;o)
(07-10-2017 12:25 PM)jolouis Wrote: [ -> ]We have a customer who has their reception phone setup this way. They currently have 3 expansion modules, with all users configured in alphabetical order.

I can tell you doing it manually/by hand is definitely not the way to go, especially if you need to make a change in the middle! In our situation we use a server-side PHP script to generate the auto-provisioning configuration automatically. If you don't have an auto provisioning server setup, you could still use the same type of approach to at least generate the config instead of having to enter it all manually through the web interface.

For example if you have all the names/extension numbers in an Excel file, you could export it to CSV and make a simple PHP script that would read all the values, sort them alphabetically and export the appropriate configuration lines...

If you have access to a webserver that you can upload PHP files to and are interested in this approach, let me know I could probably be persuaded to whip up something quickly for you ;o)

I don't have a auto provisioning server set up it's a small company or maybe I do. I have FTP setup on our border controller and I'm pulling in wallpapers and a WebItemsLevel.cfg to disable some items in the menus. If I can just add items to that .cfg file that would be fine.

However, auto generating the template is what I was looking for and then I can just upload it manually. I just assumed 3cx or yealink would have something like this built in. I have some experience in PHP and can probably handle the coding but if you want to help it would be appreciated.

Just curious if you're using PHP for creating the whole config how are you doing it? I think I would set two markers in the file and delete info between them and then recreate. I think trying to program to overwrite only necessary items would be more difficult and for such a small file re-writing wouldn't take much time.
(07-10-2017 12:25 PM)jolouis Wrote: [ -> ]We have a customer who has their reception phone setup this way. They currently have 3 expansion modules, with all users configured in alphabetical order.

I can tell you doing it manually/by hand is definitely not the way to go, especially if you need to make a change in the middle! In our situation we use a server-side PHP script to generate the auto-provisioning configuration automatically. If you don't have an auto provisioning server setup, you could still use the same type of approach to at least generate the config instead of having to enter it all manually through the web interface.

For example if you have all the names/extension numbers in an Excel file, you could export it to CSV and make a simple PHP script that would read all the values, sort them alphabetically and export the appropriate configuration lines...

If you have access to a webserver that you can upload PHP files to and are interested in this approach, let me know I could probably be persuaded to whip up something quickly for you ;o)

Hi Chad,

thanks for your sharing. I think the situation you are using is the best way at the moment, the Script can generate the provisioning files.
On the phone side, they list according to the info getting from server side. the phone will not change the list.

BR
(07-10-2017 12:25 PM)jolouis Wrote: [ -> ]We have a customer who has their reception phone setup this way. They currently have 3 expansion modules, with all users configured in alphabetical order.

I can tell you doing it manually/by hand is definitely not the way to go, especially if you need to make a change in the middle! In our situation we use a server-side PHP script to generate the auto-provisioning configuration automatically. If you don't have an auto provisioning server setup, you could still use the same type of approach to at least generate the config instead of having to enter it all manually through the web interface.

For example if you have all the names/extension numbers in an Excel file, you could export it to CSV and make a simple PHP script that would read all the values, sort them alphabetically and export the appropriate configuration lines...

If you have access to a webserver that you can upload PHP files to and are interested in this approach, let me know I could probably be persuaded to whip up something quickly for you ;o)

Thanks jolouis. An answer I've been looking for.

I don't believe I have an auto provisioning server. I have an FTP I built on our border controller that holds wallpaper and webitems.cfg file. If I can program the buttons in that then I could use PHP to produce change that file. If the settings have to be in a template then I would just use PHP to create the file and manually upload as it wouldn't, hopefully, be too often.

I'm sure I could figure this out but how exactly are you doing it? I get the reading of a CSV file but the cfg file not sure. I would put a marker in the document and delete all lines between the markers and rebuild. I don't think I would over write information as I think that would be more of a pain. With this just being one short file efficiency isn't necessary it would still only take seconds to produce.
Or can you just reference another file?
(07-12-2017 12:05 PM)Chadsuperb Wrote: [ -> ]
(07-10-2017 12:25 PM)jolouis Wrote: [ -> ]We have a customer who has their reception phone setup this way. They currently have 3 expansion modules, with all users configured in alphabetical order.

I can tell you doing it manually/by hand is definitely not the way to go, especially if you need to make a change in the middle! In our situation we use a server-side PHP script to generate the auto-provisioning configuration automatically. If you don't have an auto provisioning server setup, you could still use the same type of approach to at least generate the config instead of having to enter it all manually through the web interface.

For example if you have all the names/extension numbers in an Excel file, you could export it to CSV and make a simple PHP script that would read all the values, sort them alphabetically and export the appropriate configuration lines...

If you have access to a webserver that you can upload PHP files to and are interested in this approach, let me know I could probably be persuaded to whip up something quickly for you ;o)

Thanks jolouis. An answer I've been looking for.

I don't believe I have an auto provisioning server. I have an FTP I built on our border controller that holds wallpaper and webitems.cfg file. If I can program the buttons in that then I could use PHP to produce change that file. If the settings have to be in a template then I would just use PHP to create the file and manually upload as it wouldn't, hopefully, be too often.

I'm sure I could figure this out but how exactly are you doing it? I get the reading of a CSV file but the cfg file not sure. I would put a marker in the document and delete all lines between the markers and rebuild. I don't think I would over write information as I think that would be more of a pain. With this just being one short file efficiency isn't necessary it would still only take seconds to produce.
Or can you just reference another file?

Hi There,

an FTP server can also work as a provisioning server.

BR
Reference URL's