If you use autoconfiguration you will have to modify the autoconfig-buttons-freepbx.sh script and look for the mysql query that generates them and modify it according to your needs. If you use manual configuration, just write the config in the order you want.
Comments