09-29-2020 11:02 AM
I would like to read the value of URI property in Cisco CVP Voice Element. This URI property is where we define the media file to play from the media server. Is there anyway I can read this value using Java.
09-29-2020 12:43 PM
I might be missing something but what exactly are you trying to do?
If you use an audio element to play whatever is stored in {Data.Session.Blah}.wav for instance, isn't that your value you want?
09-29-2020 02:29 PM
I would like to read the value of URI using Java code.
09-29-2020 04:40 PM
Right, but in what manner?
In other words, you want to use Java to sift through an existing project to output it for you?
Or are you looking for Java to somehow make it easier for you to write Studio projects?
The example you gave, you have static file names. If you're looking to do something dynamic, you could use Session data to populate it so that the URI would be {Data.Session.WelcomeFileName} for instance.
Sorry if I'm not following what you want.
09-29-2020 07:08 PM
So, are you asking how to use Java code to find out what's in the URI field of an element?
09-29-2020 07:48 PM
@janinegraves : yes I would like to use Java code to find out what's in the URI field of an element and thank you all for a quick response.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide