Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch convert wav files to c11

Embedded Voicemail

Batch convert wav files to c11

by  intrigrant  Posted    (Edited  )
As a addendum to [link https://www.tek-tips.com/faqs.cfm?fid=7704]faq940-7704[/link] submitted by [link https://www.tek-tips.com/userinfo.cfm?member=sizbut]sizbut[/link] i will explain how to convert a number of files to c11 files in one run.

Make sure to read [link https://www.tek-tips.com/userinfo.cfm?member=sizbut]sizbuts[/link] [link https://www.tek-tips.com/faqs.cfm?fid=7704]FAQ[/link] first to have the knowledge needed to continue

In my example i have a request from a customer to have the same greeting for all 80 users in embedded VM.
As i am a lazy person by nature i thought "i will automate that" and so this FAQ was born
I have read the doc Avaya provides with the utility but as often the examples are incorrect and don't work
The below example does work (AVAYA take notice!)

SO i have a prerecorded wav file named "User Greeting" and a list of xxx users in a csv file taken with Manager.

create a txt file and add the following lines in it:
LVMGreeting.exe /convert:"User Greeting.wav" "User1" "Greeting" "G711" "User1.c11" "User1.log"
LVMGreeting.exe /convert:"User Greeting.wav" "User2" "Greeting" "G711" "User2.c11" "User2.log"
.. upto
LVMGreeting.exe /convert:"User Greeting.wav" "User50" "Greeting" "G711" "User50.c11" "User50.log"

I use excel for that, i added a example and save the sheet as csv file and rename that to a .cmd file

Create a folder and copy LVLGreeting.exe and the above created text file or the in excel created .cmd file in this folder
rename the text files extension .txt to .cmd
open a dos box go into the above created folder
type textfilename.cmd and when finished you have xxx c11 files.
upload the files using the knowledge learned in [link https://www.tek-tips.com/userinfo.cfm?member=sizbut]sizbuts[/link] excellent [link https://www.tek-tips.com/faqs.cfm?fid=7704]FAQ[/link]

The "Greeting" can be one of the following to generate another type of c11 file:
"Greeting" - a greeting file for a user or a group
"Auto Attendant" - a announcement for a AutoAttendant
"Announcement1" - the first queue message for a user or group
"Announcement2" - the second queue message for a user or group
"Name" - the name of a user

As i can not add files here i put them on dropbox here:
The excel file https://www.dropbox.com/s/6bl38ncv13fdfnx/LVMUtility.xlsx?dl=0
The cmd file https://www.dropbox.com/s/dfqny0yuqpj8fcq/exaple.cmd?dl=0
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top