# In /etc/nginx/sites-enabled/fusionpbx
# Critical fix: pass file= param so FusionPBX returns a boot file (not full config)
# Phone ignores DSS/BLF keys when received in a .boot file — must come from .cfg

# CORRECT:
rewrite "^.*/provision/([A-Fa-f0-9]{12})(\.boot)$" /app/provision/index.php?mac=$1&file=%7b%24mac%7d.boot;

# WRONG (original — serves full 122KB config as .boot, phone ignores linekeys):
# rewrite "^.*/provision/([A-Fa-f0-9]{12})(\.boot)$" /app/provision/index.php?mac=$1;
