Playback Audio Files in through Dialplan

Hi,
I was trying to play a sound file (.wav) using the Playback() function in the asterisk dialplan but the sound doesn’t play in the call. I tried Playback(hello-world) and it does play. I don’t know if it’s a codec thing or some other issue. The extensions_custom.conf is as followed:

exten=>2020,1,Answer()
exten=>2020,n,Wait(2)
exten=>2020,n,Playback(/home/taimoor/Desktop/responses/WaSalam)

Would appreciate any help, and if any file needs to seen, I’ll post it. Thanks in advance.

Post the output of Asterisk CLI for your call.

Either the file does not exist or it is an access problem. Try to put the file into the normal sounds directory.

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