# Cusomize filename for call recordings

**URL:** <https://wazo-platform.discourse.group/t/cusomize-filename-for-call-recordings/823>\
**Category:** Installation/Configuration\
**Created:** [May 24, 2021, 6:49pm UTC](https://wazo-platform.discourse.group/t/cusomize-filename-for-call-recordings/823 "2021-05-24T18:49:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramblin](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/ramblin/32/34_2.png) [@Ramblin](https://wazo-platform.discourse.group/u/Ramblin)\
**Post date:** [May 24, 2021, 6:49pm UTC](https://wazo-platform.discourse.group/t/cusomize-filename-for-call-recordings/823/1 "2021-05-24T18:49:23Z")

</div>

I just updated to Wazo 21.06 from 20.17 and something that used to work no longer does

I like my user-initiated recordings to have a different format than the default so in the past, I put into  
/etc/wazo-agid/conf.d/  
a file called  
call\_recording.yml  
and in that file I put

```
call_recording: 
filename_template: "/var/lib/wazo/sounds/tenants/{{ tenant_uuid }}/monitor/call-{{ timestamp }}-{{ srcnum }}-{{ dstnum }}"

```

but that no longer has any effect

The recordings stored in  
/var/lib/wazo/sounds/tenants/{tenant\_uuid}/monitor/  
have file names that are the date stamp of the recording and nothing else.

Is there a new way to customize the call recording file names?

---

<div class="post-metadata">

**Author:** ![fblackburn](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@fblackburn](https://wazo-platform.discourse.group/u/fblackburn)\
**Post date:** [May 25, 2021, 12:12pm UTC](https://wazo-platform.discourse.group/t/cusomize-filename-for-call-recordings/823/2 "2021-05-25T12:12:02Z")

</div>

> [@Ramblin](#):
>
> Is there a new way to customize the call recording file names?

No  
It is not recommended to use file directly, since delete/rename will break recording API.

Here some workarounds/solutions

1. 

- Use script to fetch recordings metadata via API
  - `GET /cdr`

- match recording uuid name to metadata found

1. 

- Use script to fetch recording files (one by one)
  - `GET /cdr`
  - `GET /cdr/{cdr_id}/recordings/{recording_uuid}/media `

- Save file under another name

1. 

- Wait 21.07
- Use recording bulk download API to fetch all your recordings
- Download and extract .zip archive file
- rename if needed

Note: More documentation should come out after 21.07 (with recording bulk download feature)

---

<div class="post-metadata">

**Author:** ![Ramblin](https://yyz2.discourse-cdn.com/free1/user_avatar/wazo-platform.discourse.group/ramblin/32/34_2.png) [@Ramblin](https://wazo-platform.discourse.group/u/Ramblin)\
**Post date:** [May 25, 2021, 12:53pm UTC](https://wazo-platform.discourse.group/t/cusomize-filename-for-call-recordings/823/3 "2021-05-25T12:53:09Z")

</div>

> [@fblackburn](#):
>
> Wait 21.07

Thank you for your quick reply

I’ll use option 3 🙂

R
