- Joined
- May 4, 2011
- Messages
- 3
- Reaction score
- 0
I'm attempting to play a specific .wav file to customers based on a session or database variable.
I have a total of 44 .wav files that need to be chosen based on the customer's location. I can pull the customers location based on my sql database and set a variable of 1-44 for the call session based on that location.
If I name the .wav files "1.wav", "2.wav", "3.wav", etc - I there an efficient way to choose the file to be played? I'm looking for a way other than a conditional component with 44 branches.
Any ideas are welcome. Thanks.
I have a total of 44 .wav files that need to be chosen based on the customer's location. I can pull the customers location based on my sql database and set a variable of 1-44 for the call session based on that location.
If I name the .wav files "1.wav", "2.wav", "3.wav", etc - I there an efficient way to choose the file to be played? I'm looking for a way other than a conditional component with 44 branches.
Any ideas are welcome. Thanks.