How to record calls from Trunk

Hi,

Asterisk: 13.29.2
FreePBX: 13.0.197.31

I have the following scenario and I would like to know if I can target that with Asterisk.

Requirement: I would like to record all calls incoming and outgoing including all the announcements and, hold music, etc.

Hypothesis: Recording all calls coming and going through my Trunk.

So I started to read all the documentation I could find, and I found the following below saying that Call Recording on Applications could do that.

Call Recordings provide the ability to force a call to be recorded or not recorded based on a call flow and override other recording settings. If a call is to be recorded, it can start immediately. This will incorporate any announcements, hold music, etc. prior to being answered.

https://sangomakb.atlassian.net/wiki/spaces/PG/pages/22642752/Call+Recording+Module+User+Guide

But after have it configured as requested:

Yet I dindt’ see any recording of that.

So I googled a bit more and I could find some people saying that to make it work I need to edit my Dial Plan for my trunk.

I would like to know if this is the right way?
And if yes, so how I should do it properly?

Would be something around here?

That module is not part of Asterisk. You probably want the FreePBX forum.

There is any way to achieve that besides FreePBX?

I believe FreePBX uses MixMonitor for this. It’s not using anything specially added to Asterisk.

Note that, if you record everything, unconditionally, no credit card transactions can, legally, pass through your system.

Hi David,

Thank you for your reply, but I think I was not clear about the requierments nor the configuration I would like to achieve, so I’ll try to clarify that.

Requirement
I would like to have one recording file for each call, no matter if it is inbound or outbound including all the audio heard during the call.

Previous Scenario
I had the enforcement of call recording on Inbound and Outbound routes, and that was working pretty fine untill I was request to record the whole call including annoucements and others things.

Besides that I found another issue; when an agent makes an outbound call through my outbound route and later transfer that to a queue, the call recording file is finished just having the audio related the first UniqueID, but rest of the call (when someone else retrieve the call) is not recorded, problably because the context was changed from-trunk to from-internal.

image

So, I was thinking to solve all my problems using Call Recording App. There is anyway to config (somehow) to record all the call like an any line side recording (FXO) using E1 does?

If not, I would like to understand a bit more how Asterisk work, so could you please teach me why Asterisk can’t record the whole call in a raw file?

Thanks,

For anyone following, this is also at How to record calls from Trunk - Applications / Modules - FreePBX Community Forums

Yep, trying to achieve every possible help.

Thanks,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.