mirror of
https://github.com/myronblair/infra
synced 2026-06-30 17:50:10 -05:00
2a45dac693
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>
10 lines
495 B
Plaintext
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;
|