Record IPTV

I would like to record the TV with IPTV Simple Client but the button to do it remains disabled (gray). How can I do it? Is there a specific addon to do it? Thanks in advance.
P.S. I’m running kodi in Raspberry Pi 3