Prerequisites to process voice calls in bulk
The administrator or operations team process the voice calls in bulk.
Ensure java (JDK 8) is installed in the machine where the jar file is to be executed.
Run the jar
java -jar client-module-0.0.1-SNAPSHOT.jar --spring.config.location=C:/application.properties
Example:
If location-of-property-file is C:/application.properties then the final command is java -jar client-module-0.0.1-SNAPSHOT.jar --spring.config.location=C:/application.properties
Restart the jar
Copy the process id of client-module-0.0.1-SNAPSHORT.jar using below the command ps aux | grep java
Kill the process the using the command Kill -9 <process-id>
Paste the process id in place of <process-id>
Execute the command to run the jar java -jar client-module-0.0.1-SNAPSHOT.jar --spring.config.location=<location-of-property-file>
Once the above steps are executed, you can consume voice bulk API. Refer U-Analyze API guide.
Below given is the screenshot of application.properties file. You can access this file from the Release Package.
Enter the values of the mandatory fields after consulting the administrator or operations team, as the values tend to vary from customer to customer. The mandatory fields are listed below:
server.port
voice.api.url
voice.api.authorizationToken
defaultNoOfCallsPerRequest
voice.api.columns
log.path
Note
You can find the voice bulk API in the U-Analyze API guide under the section Contacts API -> Voice API – Bulk.
Voice ingest API supports audio files in WAV, MP3, OGG and FLAC formats only. Any other formats require manual processing at the preprocessing layer.