Function STRFTIME not registered

Dears I have installed the latest version of Asterisk and everything works fine except on minor thing:

I want to record the calls so I want to create wav file named with the date and time. Thus in extensions.conf did the following:

exten => s,1,Set(fname=${STRFTIME(${EPOCH},,%Y%m%d%H%M)})

The problem is that it does not create that file and in the logs I see - Function STRFTIME not registered.

Can you please help me with that ? I would appreciate that very much!

Thanks!

(1)Do you have func_strings.so under astmoddir . /usr/lib/asterisk/modules or /usr/lib64/asterisk/modules depending on your configuration
(2)Any chance you have noload => func_strings.so in /etc/asterisk/modules.conf?
(3)Do you have func_strings enabled under make menuconfig -> Dialplan Functions?

1 Like

The first and the third ones I had checked already. But has not done the second one. I added the line
load => func_strings.so
and it worked properly.

Thank you very much!!!