IVR Prompt Error - TCL Script

Answered Question
Apr 5th, 2008

I'm trying to get the 'clid_authen_collect' built in script working. I continue to get the below error.

" enter_account.au

errno=0=Unsupported samples per secondpr"

I used Audacity to create prompts with below specifications:

Default Sample Rate: 8000Mhz

Default Sample Format: 32-bit float

Uncompressed Export Format: AU Sun/Next 8-bit Ulaw

channels: 1 (mono)

FFT Size: 64

Can someone who's created prompts in the au format let me know what exact specs the router wants in order to execute the prompt.

thanks in advance,

Correct Answer by Paolo Bevilacqua about 8 years 10 months ago

Yes, you need DSPs.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Kenneth Mohammed Sat, 04/05/2008 - 08:30

the specs are as follows

codec- G711ulaw

8 kHz

8 bit


other than that, im not too familiar w/Tcl, so im not sure why you are having an issue.

UCcomp2007 Sat, 04/05/2008 - 08:35

Appreciate the quick response. Do you know of another recording utility that I can use to create the .au audio files?

Kenneth Mohammed Sat, 04/05/2008 - 08:42

Im not really sure, like I say, Im not too familiar with this sort of thing, I just happened to know the spec, but Ive never had to make an actual recording.

Paolo Bevilacqua Sat, 04/05/2008 - 09:00

Hi, the problem is the sample format that I think should 16 bits, not 32.

Anyway, to record prompts in a simple way, you can use the recorder that I wrote:


You can use it with any voice device that can call the service one way or another.

EDIT: I haven't checked, it can very well that sample has to be 8 bits as mentioed above.

Hope this helps, please rate post if it does!

UCcomp2007 Sat, 04/05/2008 - 09:42

HI Paolo.

I got a directory index denied when I tried to hit your page. I'd love to try your recorder out.

After my last post, I used the Switch Sound File Converte and I no longer get that error, but I still can't hear the prompt.

As always i'll rate the post before closing this issue out.


UCcomp2007 Sat, 04/05/2008 - 09:44

BTW, last format that I save with Switch Sound File Converter was:

output format .au

codec: ulaw

sample rate 8000

channels mono

It doesn't give me the option under Ulaw to save as 16 bit. If I switch to PCM I could define 16 bit.

UCcomp2007 Sat, 04/05/2008 - 10:02


I added /public to URL and was able to get in.

However I took one of your prompts, renamed it and uploaded it. When I do a debug voice application media packet I see the prompt is active, but still no sound heard. Any ideas?

Attached is my config if you have time to look.

UCcomp2007 Sat, 04/05/2008 - 11:24

I'm trying to get your script to run. I really want to get this running as I have a real need for it. I loaded script and prompts in flash, rebooted, then configured applicaiton and voip dialpeers. When I call from one router over to this one, I am getting an error "Error Adding URL to Prompt list". Do you know why this happens? I've attached config and debug voice application error.

appreciate your help.

UCcomp2007 Sat, 04/05/2008 - 13:41

Still no luck. Let me ask you, even though all calls to and from router running TCL are using G711, do I still need DSP resources? If so, does the router grab available DSP's (maybe to play the prompts) or do you have to have a transcoder setup?

sorry for the hassle.


This Discussion