Yealink/Snom Record Lamp - On by Default?

hfoster

Active Member
Jan 28, 2019
697
86
28
35
Hi all

Anyone got any smart ideas to fix this request?

Background: User wants recordings on by default, but wants to be able to disable the recordings when they are going to be listening to sensitive information. They are going to be using a Yealink or a Snom handset.

Potential Methods:

1. Using *5 and *6 during a call to mask and unmask the recording. This does not provide any user feedback, so the user is potentially unaware of what status the recording is in.

2. Using the SIP Record DSS keys on the Yealink or the Snom which does provide a light to indicate the current status. The problem however is both start in the 'Off' position, even though the calls are recorded, the first press does nothing but turn the lamp off and then the second press turns it off. There doesn't seem to be a way in FreeSwitch to send a 'SIP INFO' right at the start with a Record: true; besides I'm not even certain if the phones would process it and toggle the light on.

I'm hesitant to go down the BLF via LUA monitor route as it seems like an absolutely monumental task.
 
Perhaps add a mask_unmask.lua script to the user record & record on demand dialplans that will play tone stream beep/double beeps or tts "masked" / "unmasked" audio when the *5 mask and *6 unmask actions occur.

I have not looked into the SIP Record DSS keys. Theoretically that would seem easy task to accomplish. But I believe we would find that you are correct in this proving to be more complicated in reality.

Phone xml browser event to display on the phone screen? Yealink does have xml browser developers guide.

I think the additional lua would be the quickest, easiest, scalable, and most reliable method to pursue. o_O
 
Connecting a micro controller to light LEDs would definitely not scale. And is a silly idea. :rolleyes:
 
Yeh, I was thinking of that, just playing something like 'enabled' or 'disabled' to one or potentially both parties after pressing the mask/unmask.