cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2147
Views
0
Helpful
15
Replies

Please help with an ICM script editor syntax question.

rehdancer
Level 1
Level 1

I need to modify a set variable node.  What I have now is Call.PeripheralVariable8+".wav" and this works.  What I need it to say is Call.PeripheralVariable8+anything+".wav" but when I insert an * for the anything it's seen as a multiplier.  What's the syntax to do this?  The anything I need to add is _9xxx where xxx are other numbers, but the _9 will be in all, if that helps any.  Thanks in advance !!

15 Replies 15

That's certainly my preference, but we're in a hosted environment and so cannot go back. The 9xxx number is set - that is, the zip code is now associated with the 9xxx number. If the file name is 90210_9001.wav the person recording the .wav file keys in 9001 and they make the recording into this file. When the caller enters 90210 in the script they get that recording. It looks as though the simplest workaround for now at least is to rename the zipcode_9xxx.wav files to the former naming convention now that the files have been recorded. Since this is needed only once a year we can do this and by next year have an automated solution of some kind. Renaming the files will buy us some time, but I'll still need to figure out how to do this.