Call recording announcement on outgoing calls

A couple of customers asked, whether when making outbound calls and call is answered, an announcement will be played informing that call is being recorded (ideally to both callee and caller) and the the conversation to start.

Can this be implemented?

Have a look at at dial restrictions and the announcements

Please test and report

Dear All, as i understand there is no such feature in VitalPBX? Currently we use free FpeePBX and there is this feature. So idea is that when operator dials out and connects to customer, PBX must play audio for customer that “your call is recorded”. The issue with FpeePBX is that it does not record this message, it starts call recording right after it plays it. So we also looking for alternative PBX who can do this

As i understand restrictions are only to prevent operators from dial and they play some announcement right?
here we need little different thing, maybe there are some custom configs for this ?

Or maybe there is possibility to configure - “Asterisk Trunk Dial Options”.

This can be done partially by:

TtA(custom/rec-custom) - Defined in custom dial plan, custom options

/var/lib/asterisk/sounds/en/custom/ - is a folder
rec-custom.wav - is a file

Announcement will be played, but it will not be included in recording

official Asterisk manual says:

  • A(x:y) - Play an announcement to the called and/or calling parties, where x is the prompt to be played to the called party and y is the prompt to be played to the caller. The files may be different and will be played to each party simultaneously.

    • x - The file to play to the called party
    • y - The file to play to the calling party

so by this logic command must be TtA(custom/rec-custom:custom/rec-custom)
but in our case this does not work

Maybe VitalPBX Gui does not accept: TtA(custom/rec-custom:custom/rec-custom)

So currently stuck how to record it with announcement included

Update: command to play for both is:

ktrktrTtAaA(custom/rec-custom:custom/rec-custom)

but annoucment still not included to recording file