Playback audio to person you are calling Dial(A option)

We are looking to playback an audio to the person we are calling that says something like “your call is being recorded”. The A option in the Dial() application looks to be the ticket to make this happen. However, the audio that plays during the A option will play once the call has been answered. In some cases, we need to press DTMF options to get to someone and thus they would not hear the audio that we intended for them to hear.

Does anyone know of some way we can automatically play the audio to the person we call (no agent intervention) when the human is bridged, rather than when call is answered?

The only thing that comes to mind is configuring features.conf[1] such that you can trigger playing back an audio file to the remote side. I don’t see how you could automatically do it.

[1] https://github.com/asterisk/asterisk/blob/master/configs/samples/features.conf.sample#L92

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