Play announcement before dial from certain extension


(Willskipp) #1

I’d like to play a wav file to an extension when it dials out. Sounds simple enough but i’m not familiar with extensions_custom.conf nor the dialplan so I have no idea how to write this.

Any suggestions welcome.


(Dave Burgess) #2

Because of the way audio pathways and channels are created, I don’t think you’re going to find a solution. Now, if you want something to play after they dial but before the call is sent to the recipient, there might be a way to get that done, but it’s way above my experience level.


(Lorne Gaetz) #3

You can do this with a dialplan hook and the context macro-dialout-trunk-predial-hook https://community.freepbx.org/t/hooking-for-fun-and-income/57718