Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

How to convert to this file type

Dear all, hope you are doing great!

My customer has a voice gateway (Cisco 2801). He want to record a new prompt for it. Please find the attachment for the old prompt file (Gbreak.au)

He has recorded a new prompt and I have to convert this file to .au with the same properties with Gbreak.au. I opened Gbreak.au with CoolEditPro 2.1 but it asked me for sample rate, codec and I could not hear anything (just like some noisy).

So please analyze this file and tell me how to make it. Thank you very much.

17 REPLIES
Cisco Employee

Re: How to convert to this file type

No file is attached.  It sounds like the audio file doesn't have a header containing the presentation format.  If it is a working audio file for a cisco voice system, the format is:

G.711 u-law, 8 kHz, 8 bit, Mono

Unless the audio file was for another codec other than g711, in which you aren't going to be able to play it on your computer unless you have software with ability to play that codec installed.

New Member

Re: How to convert to this file type

Dear Steven,

Sorry for the attachment. Please download it here:

http://www.mediafire.com/?zai13b624qdqwy3

One more thing, I have made him  another .au file like what I often do (8-bit mulaw, 16bit, mono). I test  this file in my 2821 Router and it works normally.

But when I test this file with his Router, it said that there is an error with file format.

Here is the output of his 2821 Router:

NIVR01#audio-prompt load Vbreaking-converted.au Reload of Vbreaking-converted.au status failed

audio-prompt Vbreaking-converted.au not loaded - open (or format) failure

Cisco IOS Software, 2800 Software (C2800NM-IPVOICE_IVS-M), Version 12.4(25c), RELEASE SOFTWARE (fc2)

And here is mine:

HAN-R2821-01#audio-prompt load Vbreaking-converted.au Reload of Vbreaking-converted.au successful

Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9_IVS-M), Version 12.4(24)T, RELEASE SOFTWARE (fc1)

So what is the problem with the router? Thank you very much.

Regards,

Hiep Nguyen.

Cisco Employee

Re: How to convert to this file type

It isn't a problem with the router.  This audio format isn't right.  I'm not sure how it was saved, because it appears that it was saved without a format header.  It isn't an .au file, and I tried opening it in PCM format as 8-bit ulaw, 8-bit unsigned, 16-bit intel, and 16-bit motorola and they all failed.

It looks like when this file was last saved, it was not saved in the format of audio for a Cisco audio file.  You are going to either have to find out from who created this file what format they saved it in, or re-record the audio and save it in the correct format as noted in my previous post.

New Member

Re: How to convert to this file type

Yes I will try to find out who made this. But as I describe in my last post, I have recorded a new file and converted it to .au with 8bit mulaw, mono, sample 8000.

Then, I tried this file on 2 routers:

1. My 2821 Router, it works:

HAN-R2821-01#audio-prompt load Vbreaking-converted.au Reload of Vbreaking-converted.au successful

2. My customer's Router (2821 too):

NIVR01#audio-prompt load Vbreaking-converted.au Reload of Vbreaking-converted.au status failed

audio-prompt Vbreaking-converted.au not loaded - open (or format) failure

It showed that format failure.


So, the same file but one Router can read it, another can not. Please tell me what it suppose to be? Thank you very much Steven

Hiep Nguyen.

Cisco Employee

Re: How to convert to this file type

Does the filesize of the file in flash match that of the one in the working router?

Perhaps that router doesn't have enough memory to load the prompt?

Does this command change behavior?

ivr prompt memory 

Also, there were some bugs around 12.2 and 12.3 code regarding some issues with this.  I assume you're on recent IOS, though?  Something 12.4 or higher?

New Member

Re: How to convert to this file type

Dear Steven,

Thank you very much for your support.

About IOS version, here is the information:

My customer router:

Cisco IOS Software, 2800 Software (C2800NM-IPVOICE_IVS-M), Version 12.4(25c), RELEASE SOFTWARE (fc2)

And here is mine:

Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9_IVS-M), Version 12.4(24)T, RELEASE SOFTWARE (fc1)

I will check with my customer about the amount of memory, filesize and report back to this topic. Thank you

Cisco Employee

Re: How to convert to this file type

There are a lot of code changes between 25c and 24T.  If the issue isn't fixed with that memory config command, open a TAC case for this.  We can replicate the version and config and see if we see the same issue when caching the prompt in our lab.  It maybe be a fixed bug between 25c and 24T.

New Member

Re: How to convert to this file type

Dear Steven,

I will check this, thank you very much.

New Member

Re: How to convert to this file type

Dear Steven,

I have checked the file and configuration, I have 2 questions:

1. You said that the file which I uploaded in my post (EGbreak.au) is not an .au file and it does not have header. But, it works normally on Cisco 2821 Router of my customer. If you have time, please try this file on your lab Router.

2.I have also asked my customer for the one who made this. But he said that the author does not want to tell him. The author just told him that the EGbreak.au file is converted by their own tool.  

Something is strange, right? We can not read this file, but the Router absolutely can.

Regards,

Hiep Nguyen.

Cisco Employee

Re: How to convert to this file type

It works for me on a 2800 with 12.4(25c) with the file you posted (though the filename is different from what it looks like you were using).

Verify that the filesize of the audio file in the bad router's flash matches the filesize I show here.  If you still have issues and the filesize matches, maybe you don't have enough memory on the box.  Since you have a lab router, you should be able to load the exact config and version the customer is running and see if you can reproduce.

Here is the output from my lab, though:

Router#audio-prompt load EGbreak.au                        
Reload of flash:EGbreak.au successful

Router#dir flash:
Directory of flash:/

    1  -rw-    31110184   Oct 7 2010 13:34:34 +00:00  c2800nm-ipvoice_ivs-mz.124-25c
    2  -rw-       53694   Oct 7 2010 13:39:20 +00:00  EGbreak.au

129740800 bytes total (98570240 bytes free)
Router#sh ver
Cisco IOS Software, 2800 Software (C2800NM-IPVOICE_IVS-M), Version 12.4(25c), RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Thu 11-Feb-10 23:55 by prod_rel_team

ROM: System Bootstrap, Version 12.4(13r)T11, RELEASE SOFTWARE (fc1)

Router uptime is 4 minutes
System returned to ROM by reload at 13:35:32 UTC Thu Oct 7 2010
System image file is "flash:c2800nm-ipvoice_ivs-mz.124-25c"

Cisco 2811 (revision 53.51) with 512000K/12288K bytes of memory.
Processor board ID FTX1352A0Q2
2 FastEthernet interfaces
1 Serial(sync/async) interface
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
126976K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2102

If you still seek assistance after this, open a TAC case please.

New Member

Re: How to convert to this file type

Dear Steven,

I greatly appriciate your kindness.

Today, I come to my customer's site to test on his router.

1. The ivr prompt memory 16384 command is set on router. But I think it's fine, because 16384 KB is enough for all of the prompt files.

2. Here is the IVR application setting:

application
  service dynivr flash:/VNM-IVR-2.1.tcl
  paramspace spanish index 1
  paramspace spanish language sp
  paramspace english index 2
  param warning-time 120
  paramspace english location flash:/dynen/
  paramspace spanish location flash:/dynvn/
  param redirect-number 123123
  param retry-count 3
  paramspace spanish prefix sp
  paramspace english prefix en

There are 2 directories for prompt files in flash: dynen and dynvn

HNIVR01#dir flash:
Directory of flash:/

    1  -rw-       41849  Jan 14 2010 02:29:44 +00:00  VNM-IVR.tcl
    2  -rw-        1649  Feb 10 2006 05:34:56 +00:00  sdmconfig-28xx.cfg
    3  -rw-       22984   Oct 7 2010 07:25:40 +00:00  sp_Gbreak.au
    4  -rw-       45032  Feb 23 2010 11:54:44 +00:00  VNM-IVR1.3.tcl
    5  -rw-        1038  Feb 10 2006 05:35:58 +00:00  home.shtml
    6  drw-           0  Sep 11 2010 16:25:18 +00:00  dynvn
  217  -rw-      511939  Feb 10 2006 05:36:22 +00:00  128MB.sdf
  218  drw-           0  Sep 11 2010 16:26:20 +00:00  dynen
  413  -rw-         720  Oct 23 2008 03:18:24 +00:00  vlan.dat
  414  -rw-    31110184  Mar 16 2010 20:08:24 +00:00  c2800nm-ipvoice_ivs-mz.124-25c.bin
  415  -rw-       49098   May 5 2010 10:51:40 +00:00  VNM-IVR1.2.tcl
  416  -rw-       79034  Jul 23 2010 09:19:42 +00:00  VNM-IVR-2.1.tcl

3. My customer recorded a new prompt and he want to load it into flash. I converted the record file as: G.711 u-law, 8 kHz, 8 bit, Mono format.

The file name is Vbreaking-converted.au.

I copied this file to flash: and use audio-prompt load command:

HNIVR01#dir flash:
Directory of flash:/

    1  -rw-       41849  Jan 14 2010 02:29:44 +00:00  VNM-IVR.tcl
  423  -rw-      320599   Oct 8 2010 03:47:50 +00:00  Vbreaking-converted.au
    2  -rw-        1649  Feb 10 2006 05:34:56 +00:00  sdmconfig-28xx.cfg
    3  -rw-       22984   Oct 7 2010 07:25:40 +00:00  sp_Gbreak.au
    4  -rw-       45032  Feb 23 2010 11:54:44 +00:00  VNM-IVR1.3.tcl
    5  -rw-        1038  Feb 10 2006 05:35:58 +00:00  home.shtml
    6  drw-           0  Sep 11 2010 16:25:18 +00:00  dynvn
  217  -rw-      511939  Feb 10 2006 05:36:22 +00:00  128MB.sdf
  218  drw-           0  Sep 11 2010 16:26:20 +00:00  dynen
  413  -rw-         720  Oct 23 2008 03:18:24 +00:00  vlan.dat
  414  -rw-    31110184  Mar 16 2010 20:08:24 +00:00  c2800nm-ipvoice_ivs-mz.124-25c.bin
  415  -rw-       49098   May 5 2010 10:51:40 +00:00  VNM-IVR1.2.tcl
  416  -rw-       79034  Jul 23 2010 09:19:42 +00:00  VNM-IVR-2.1.tcl

64016384 bytes total (23973888 bytes free)

HNIVR01#audio-prompt load flash:Vbreaking-converted.au
Reload of flash:Vbreaking-converted.au successful

4. But when I moved the file to dynvn  or dynen folder, it didnt work.

HNIVR01#dir flash:dynen
Directory of flash:/dynen/

[....]

406  -rw-        1034  Sep 11 2010 16:27:02 +00:00  en_90.au
  407  -rw-       15764  Sep 11 2010 16:27:04 +00:00  en_pr4630.au
  408  -rw-        8214  Sep 11 2010 16:27:04 +00:00  en_DYNsucess.au
  409  -rw-       30584  Sep 11 2010 16:27:04 +00:00  en_pp6220.au
  410  -rw-         564  Sep 11 2010 16:27:04 +00:00  en_month.au
  411  -rw-       25184  Sep 11 2010 16:27:04 +00:00  en_pp7300.au
  412  -rw-       44374   Oct 1 2010 19:19:06 +00:00  en_po1500.au
  417  -rw-       40170   Oct 6 2010 03:31:02 +00:00  CVbreaking.au
  423  -rw-      320599   Oct 8 2010 04:26:10 +00:00  Vbreaking-converted.au

HNIVR01#audio-prompt load VBbreaking-converted.au
Reload of flash:Vbreaking-converted.au status failed

audio-prompt Vbreaking-converted.au not loaded - open (or format) failure

The router can not load this file?? It is just the same file but on different folder.

5. My customer only want to record a new file. Other vendor made his old files, now he want to made his own. But as you see, router can not read the normal file, but it can read EGbreak.au.

He want to make a file similar to EGbreak.au. Do you know how? Thank you very much.

Cisco Employee

Re: How to convert to this file type

It looks to me like you just figured out your own problem in your last post.  You mention that it loads if you don't put it in a folder, which means the file, and format, and memory allocation are all fine.

'audio-prompt load VBbreaking-converted.au' isn't going to work if the path to the file is flash:/dynen/VBbreaking-converted.au.

You can see from the output that is is trying to load from:

Reload of flash:Vbreaking-converted.au status failed

Which is invalid since you have it in a folder.

Try:

audio-prompt load flash:/dynen/VBbreaking-converted.au

Or:

audio-prompt load flash:dynen/VBbreaking-converted.au

If neither of those work, maybe there is an issue with subfolders for this command.

New Member

Re: How to convert to this file type

Yes Rob, I will give 5 stars for him with much appreciate.

Hi Steven,

Please look at the application paragraph in my last post. You can see every prompt file is put in dynen and dynvn. My customer want to record a new prompt, so he has to put it in the folder.

Every other file with strange file type (like the EGbreak.au we talked in top of this topic) can work within the folder. I just want to know how

Do you want to check the application tcl script file for this problem?

Regards

Hiep Nguyen.

Cisco Employee

Re: How to convert to this file type

Ok, your jumping around a lot regarding this.

If the issue was with loading VBreaking.au, why did you attach EGBreak.au for me to test with.  Why didn't you send me the file which wasn't loading for me to test with?  So we don't even know if VBreaking.au is able to load on 12.4(25c).

Since you have a lab router, I suggest that you load your customer's exact configuration in your lab router and test with the audio file that the customer isn't able to load.  Report back regarding the results.

New Member

Re: How to convert to this file type

Ya may be we got a little bit mis-understanding each other.

1. The EGbreak.au is the old file, with strange file format. But it currently works on customer Router.

2. Now, my customer record a new file, and I help him to convert it to .au (G.711 u-law, 8 kHz, 8 bit, Mono). And this file is Vbreaking-converted.au. It works on my router. But when I tried this file on customer Router, it only works in flash: root directory. When I put it in the same directory with old files (EGbreak.au), it can not work.

So, I have 2 wondering:

1. I need to find out how to convert a new prompt to the same file format as EGbreak.au. If this is possible, I will put it in the dynen folder, and it should work.

2. Another way, I will convert this new prompt to standard .au file (.711 u-law, 8 kHz, 8 bit, Mono). But it's really strange that the standard .au file can not loaded in dynen folder

Sorry if I made you angry at me. I want to describe the problem as clearly as possible, but it seems to be so hard for me.

Cisco Employee

Re: How to convert to this file type

1. I need to find out how to convert a new prompt to the same file format as EGbreak.au. If this is possible, I will put it in the *dynen* folder, and it should work.

This is a premature assumption at this point.  If the calls are g711, then .au @ .711 u-law, 8 kHz, 8 bit, Mono should be fine.

Again, I suggest that you replicate the customer's environment in your lab and see how things fare with the audio file.  You have the tools locally to dig deeper into this.

Hall of Fame Super Red

Re: How to convert to this file type

Hey Steven,

Nice work on this thread! Taking the time to lab things

up for Hiep is very thoughtful. Great work (+5)

Cheers!

Rob

2246
Views
19
Helpful
17
Replies
CreatePlease to create content