12-05-2019 09:28 AM
Hi Guys,
Need one information, we have requirement like in Record the customer information.
for this we are using record element . its working fine but our concern is like per calls have two recorder wav files generated to given destination FTP Server. then Inside FTP Server we can able to see the two recorded files. we want to be single files instead of two files. so how we can achieve this could you please anyone give some idea about to create the custom function/element.
i think first we need to differentiate the calls by using call id correct???
Please give me some example guys.....
Really appreciate your responses!!!!!!!!!!
Like parent child folder also fine
Thanks!
Solved! Go to Solution.
12-05-2019 05:43 PM
12-05-2019 10:52 AM
You can name the files in the Settings tab of the Record elements using variables - perhaps include the GUID:
{Data.Session.callid}-audio1 and {Data.Session.callid}-audio2. That way they'll display together.
If you need to combine 2 different wav files, you'll need to create a custom java element to do that. You can find examples of combining wav files in java in Google by entering "Java 7 combine wav files"
12-05-2019 10:54 AM
Not sure what the wav files represent, but you might save the file name, date-time created, and other identifying info to a database using the Database element. Then you can have an app that can find all the wav file names associated with a specific caller in another app.
12-05-2019 05:06 PM
12-05-2019 05:43 PM
12-13-2019 02:02 AM
12-13-2019 09:33 AM
1. Note that you won't be able to test the part about taking a recording with the Studio Debugger.
2. Looks like you started the Debugger ok. In the Debugger's console (bottom left) ignore everything before the line that displays this:
Loading application 'RecordPrompt'...
3. This error message means that you have an invalid java class file within the Studio application's appname/deploy/java/application/classes or lib folder.
*** An error occurred while loading application 'RecordPrompt'. The error was: There was a problem loading classes local to the application RecordPrompt. Please see the global error log in CVP_HOME\VXMLServer/logs for more details about this error.
4. The Debugger runs from this directory: Cisco\CallStudio\eclipse\plugins\com.audiumcorp.studio.debug.runtime.AUDIUM_HOME
That's where you'll be able to find the applications/appname/logs/ and logs/globalErrorLogger,
5. You probably either have a class file that's not compiled correctly, or you're missing the package directory structure, or something similar.
Example, if your code were in a package named com.mycompany
and if it were named MyRecord.java
Then you must copy the folder structure com/mycompany/MyRecord.class into the Studio app's appname/deploy/java/application/classes/com/mycompany/MyRecord.class
During development I find it easier to troubleshoot by using the class files, don't create a jar until you've totally completed all your troubleshooting.
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