Julian Lyndon-Smith
2007-Apr-15 05:50 UTC
[asterisk-users] saydigits in another "language"
I want to rerecord the "1" "2" "3" ... "0" sounds, but not overwrite the defaults. So, I've recorded them into a custom directory /var/lib/asterisk/sounds/custom I was hoping to be able to do the following: exten => foo,1,Set(CHANNEL(language)=custom) exten => foo,2,SayDigits(1234567890) however, I get no errors, but still get the default Allison sounds for the digits. Anyone got any clues on what I'm doing wrong ? TIA Julian.
Julian Lyndon-Smith wrote:> however, I get no errors, but still get the default Allison sounds > for the digits. Anyone got any clues on what I'm doing wrong ?1) Create a directory named "your_country_iso_code" (AR|MX|ES|ETC) [1] under the main sounds directory (/var/lib/asterisk/sounds/ ???); 2) Also remember to create the same subdirectory under every other main directory (letters, digits, phonetic etc); 3) Copy/move the newly recorded messages into these new directories - numbers into "digits".> exten => foo,1,Set(CHANNEL(language)=custom) > exten => foo,2,SayDigits(1234567890)Instead of "custom" use the ISO code. [1] [1] http://preview.tinyurl.com/btkp