Hi Bruce,
What do you see in /var/log/asterisk/full when asterisk tries to play
that prompt? For an easy test add the following in
extensions_custom.conf under [from-internal-custom]
exten => 11111,1,Answer()
exten => 11111,n,Wait(1)
exten => 11111,Playback(custom/valid_prompt_filename)
Then on the linux cli do:
tail -f /var/log/asterisk/full
Then from a sip phone dial 11111 and see what you get.
Note that asterisk starting with 1.4, asterisk has a command line
utility to transcode sound files:
Usage: file convert <file_in> <file_out>
Convert from file_in to file_out. If an absolute path is not given, the
default Asterisk sounds directory will be used.
Example:
file convert tt-weasels.gsm tt-weasels.ulaw
The 'convert' command is deprecated and will be removed in a future
release. Please use 'file convert' instead.
----
Andre Courchesne
Concepteur Logiciel - Software Developer
[email protected]
PrivalODC Inc.
9955 ave Catania, local 145
Brossard, QC
J4Z 3V5
Web.: http://www.prival.ca
Tel.: (450) 761-9973 poste 635
1-866-761-9973
Fax.: (450) 761-9842
Ce message électronique ainsi que tous les documents annexés s’adressent
exclusivement à la personne ou à l’entité inscrit dans la rubrique
destinataire ; il peut contenir des renseignements de nature
confidentielle ou privilégiée aux termes des lois applicables. Nulle
autre personne ne doit y avoir accès. Si vous n’êtes pas le
destinataire convenu, nous vous avisons par la présente qu'il est
strictement interdit d'en divulguer le contenu, de le distribuer, le
copier ou l’ utiliser. Veuillez aviser l’expéditeur immédiatement par
retour de courrier électronique et supprimer ce message de votre
système. Toute diffusion ou reproduction de ce document ainsi que tout
mesure prise à l’égard de la présente est formellement interdite.
Merci de penser à l'environnement avant d'imprimer ce courriel.
Bruce N wrote:
Hello Alex and Lloyd,
Tried Audacity already and it's the same result. I don't know what I am doing
wrong.
Thanks,
Bruce
Date: Thu, 7 May 2009 23:47:20 -0400
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [on-asterisk] Converting files to asterisk format WAV or wav
headache
You can re-sample using Audacity
On Thu, May 7, 2009 at 11:45 PM, Bruce N wrote:
Hello Everyone,
I am using FreePBX to upload PCM uncompressed 16 bit, 8000Hz wav files to
be uploaded to /asterisk/sounds/custom for IVR. For some reason all I get is
blank. No sound. I know that it has to do with sound format. I want to stick
with wav format but I am wondering if there is any tool out there that I can
use to re-sample the files to an Asterisk wav readable format. I prefer a
Windows program to do this to be sure. I checked sox and it seems to convert
to .sln, .gsm, etc...which is of no use to me.
Any feedback is appreciated.
Thanks,Bruce
_________________________________________________________________
One at a time or all at once? Get updates from your friends in one place.
http://go.microsoft.com/?linkid=9660827
_________________________________________________________________
Create a cool, new character for your Windows Live™ Messenger.
http://go.microsoft.com/?linkid=9656621
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]