I have seen examples of simple functionality like Playback() in the features.conf ApplicationMap section. I want to be able to have the agent playback an audio file to the caller by pressing the # sign.
This is simple enough to figure out; however, what if the audio file is not known at the time of Playback()? Could I determine the audiofile name by doing a Func_odbc.conf lookup in a database via the features ApplicationMap functionality?
I would need to be able to identify the agent and the client that caller is calling in for, in order to identify the audio file to play. Anything available to me to help figure this out (i.e. DID, Agent Channel etc…)