Skip to main content

Hi

I am working on a workflow that has some JS and I need to play different audio file greeting based on the DNIS of the incoming call. 

I am able to handle the DNIS and put in if condition for it but I am not able to play the audio prompt in the next node.

 

get

 

var P3 = "Name_of_Audio_File"

 And the next node is as follows

 

 

When I test call the workflow I get no audio. 

 

Has any one been able to play audio file by using the file name in an a variable ?

Be the first to reply!

Reply