[Home]

Summary:ASTERISK-07701: voicemail application fails to state the extension number in the chosen language
Reporter:Raphaël Jacquot (sxpert)Labels:
Date Opened:2006-09-09 03:21:58Date Closed:2006-09-11 22:39:20
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I have installed voiceprompts in french

I have, in my extensions.conf the following :

exten => 8700,1,Set(LANGUAGE()=fr)
exten => 8700,n,Dial(${LIVING1})
exten => 8700,n,Voicemail(u8700)

when I call myself (pick up the phone, and dial 8700), I get the voicemail app instantly (obviously)

the console then shows the following

   -- Starting simple switch on 'Zap/1-1'
   -- Executing [8700@internal:1] Set("Zap/1-1", "LANGUAGE()=fr") in new stack
   -- Executing [8700@internal:2] Dial("Zap/1-1", "Zap/1") in new stack
[Sep  9 10:20:32] WARNING[3225]: app_dial.c:1077 dial_exec_full: Unable to create channel of type 'Zap' (cause 17 - User busy)
 == Everyone is busy/congested at this time (1:1/0/0)
   -- Executing [8700@internal:3] VoiceMail("Zap/1-1", "u8700") in new stack
   -- Playing 'vm-theperson' (language 'fr')
   -- Playing 'digits/8' (language 'fr')
   -- Playing 'digits/7' (language 'fr')
   -- Playing 'digits/0' (language 'fr')
   -- Playing 'digits/0' (language 'fr')
   -- Playing 'vm-isunavail' (language 'fr')
   -- Playing 'vm-intro' (language 'fr')
 == Spawn extension (internal, 8700, 3) exited non-zero on 'Zap/1-1'
   -- Hungup 'Zap/1-1'

in my phone I can hear everything, except the digits, in french.
Comments:By: Tilghman Lesher (tilghman) 2006-09-09 16:35:39

The digits should be placed in the following location:
/var/lib/asterisk/sounds/digits/fr/1.gsm
/var/lib/asterisk/sounds/digits/fr/2.gsm
/var/lib/asterisk/sounds/digits/fr/3.gsm
etc.

Is this the same path that you are showing?

By: Raphaël Jacquot (sxpert) 2006-09-10 04:44:16

no.
the install procedure apparently has them installed in

/var/lib/asterisk/sounds/fr/digits/1.gsm

which actually makes more sense ;D

By: Tilghman Lesher (tilghman) 2006-09-10 07:44:58

The paths I've stated are the correct paths.  Please put your sound files in those locations, and Asterisk will find the sound files and play them correctly.

The current behavior is a fallback, because Asterisk cannot find the sound files where they ought to be located.

By: Raphaël Jacquot (sxpert) 2006-09-11 04:39:55

I'm sorry to disagree, but there's a bug here.

either it's in the install script, or it's in the way the voicemail app / saydigits/ whatever expect the sound files to be organized.

as I reported, I used "make menuselect" and "make install" to get those sound files installed. if the install scripts and the app can't make their mind about file locations, it's a bug.

besides, it actually makes much more sense to have a main directory for each language instead of spreading language directories all over the tree..

By: Denis Smirnov (mithraen) 2006-09-11 21:13:44

Please, add languageprefix = yes to asterisk.conf and test if this helps.

By: Kevin P. Fleming (kpfleming) 2006-09-11 22:39:19

This is a configuration error. The UPGRADE.txt file very (VERY) clearly states that if you wish to use menuselect's ability to install alternate languages for you, just MUST use languageprefix=yes in your asterisk.conf file.