[Freeswitch-users] Flasher

Vallimamod Abdullah vma at vallimamod.org
Sun Nov 5 14:34:08 UTC 2017


Hi,

You can do it with an esl client that listens to notify events. 
When you get early state for your extension, you trigger the flash. When you get confirmed state, you make it steady. And when you get terminated state, you turn it off.
Should fit nicely on a Raspberry Pi with python-ESL.

Another pure sip way would be to subscribe to dialog events for this extension (with pjsip python for ex.) and react to the NOTIFYs, just like phone BLFs.

Hope this helps.

Best Regards,
-- 
Vallimamod Abdullah
SIP Solutions
vma at sipsolutions.fr
.

> On 5 Nov 2017, at 13:35, Rick Jarvis <rick at magicmail.mooo.com> wrote:
> 
> Looking to build a bright flashing light that flashes when an extension is ringing. Has anyone done anything like this?
> 
> Currently considering FS on a Raspberry Pi which logs into the same extension, with a Python script triggering a relay.
> 
> Any suggestions / experience welcome!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171105/9fba181a/attachment.html>


More information about the FreeSWITCH-users mailing list