# Function STRFTIME not registered

**URL:** <https://community.asterisk.org/t/function-strftime-not-registered/67954>\
**Category:** Asterisk Support\
**Created:** [September 2, 2016, 8:19am UTC](https://community.asterisk.org/t/function-strftime-not-registered/67954 "2016-09-02T08:19:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![narek](https://avatars.discourse-cdn.com/v4/letter/n/bc79bd/32.png) [@narek](https://community.asterisk.org/u/narek)\
**Post date:** [September 2, 2016, 8:19am UTC](https://community.asterisk.org/t/function-strftime-not-registered/67954/1 "2016-09-02T08:19:06Z")

</div>

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:

```auto
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!

---

<div class="post-metadata">

**Author:** ![satish4asterisk](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@satish4asterisk](https://community.asterisk.org/u/satish4asterisk)\
**Post date:** [September 2, 2016, 9:12am UTC](https://community.asterisk.org/t/function-strftime-not-registered/67954/2 "2016-09-02T09:12:43Z")

</div>

(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?

---

<div class="post-metadata">

**Author:** ![narek](https://avatars.discourse-cdn.com/v4/letter/n/bc79bd/32.png) [@narek](https://community.asterisk.org/u/narek)\
**Post date:** [September 2, 2016, 10:43am UTC](https://community.asterisk.org/t/function-strftime-not-registered/67954/3 "2016-09-02T10:43:30Z")

</div>

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!!!
