So, in general... this is all working for me (on a Yealink T53W), EXCEPT that after a reboot or re-register, no BLFs that I believe to be provided by BLF_Subscribe.lua are available. They come up as 'blank' (not lit). This applies to BLFs for both 'voicemail+[ext]' and 'flow+[ext]'. In either case, if I change the 'state' of either (by leaving or checking a voicemail, or toggling the flow respectively), they both then get updated to the current state (no voicemail, or current state of the Call Flow) indicated by a red or green LED.
I'm very concerned about this as if a customer's phone were to reboot they might not realize they have a voicemail in the 'shared' BLF based voicemail, or realize that the Flow is currently in 'night mode'.
(Sorry to tack on the 'flow' concept to this thread, but I can't help but think that this is related to some people's reports that this isn't working.)
For the record, upon following your guidance on github to uncomment log.debug(event:serialize())
in blf_subscribe.lua, I have very little blf or subscribe entries in my log at all (assuming the web based Status>Log Viewer is the appropriate place to check). This is all I really found:
2022-09-29 01:43:32.985708 65.27% [NOTICE] switch_cpp.cpp:1465 [voicemail]
2022-09-29 01:43:32.985708 65.27% [DEBUG] switch_cpp.cpp:1465 [presence] turn_lamp: voicemail+198@test.[pbxurl].com - true(boolean)
I'm not sure how to check the status/state of blf_subscribe script.
Is the expected behavior only to update subscriptions when the state changes? The subscriptions can't get the state of the object when the phone registers?