Files
infra/fusionpbx/nginx_yealink_rewrite.txt
myron 2a45dac693 FusionPBX Yealink T48S BLF: complete fix and final profile state
Root cause: nginx rewrite stripped file= param from {mac}.boot requests,
so FusionPBX served full device config as a .boot file. Yealink ignores
DSS/linekey settings in .boot files — they only apply from .cfg files.

Fixes applied on 134.209.72.226:
- nginx: {mac}.boot rewrite now passes file={mac}.boot param
- New {$mac}.boot template: proper boot file with includes to {mac}.cfg
- y000000000065.cfg: features.auto_linekeys.enable = 0
- All y000000000000.boot: overwrite_mode = 1
- External sofia profile: manage-presence = passive (was true)
- Park buttons: Speed Dial type=13 (*5901-*5903), not BLF (mod_presence missing)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-29 04:57:48 +00:00

10 lines
495 B
Plaintext

# 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;