[Asterisk-Users] problem voicemail national digits

Rudakov Evgeniy evgeniy at riscom.net
Tue Mar 23 03:32:01 MST 2004


Hello,

i am trying to setup multilanguage voicemail,

>>First, define the country settings in indications.conf 
added records 

[ru]
description = Russian / Europe
ringcadance = 2000,4000
dial = 350+440
busy = 480+620/500,0/500
ring = 440+480/2000,0/4000
congestion = 480+620/250,0/250
callwaiting = 440/300,0/10000
dialrecall= !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440
record = 1400/500,0/15000
info = !950/330,!1400/330,!1800/330,0

>>Then create sound files and place them in a subdirectory with the name of 
>>the country code, like fi/mysound.gsm instead of mysound.gsm 

added new sound directories 

/var/lib/asterisk/sounds/fr
/var/lib/asterisk/sounds/ru


>>If Asterisk looks for a sound file named mysound it first looks for the 
>>local variant in the directory/fi and if not found, plays the generic one 
>>(most often english). 

>>So, if creating foreign digits, they should go in the directory digits/fi 
 
/var/lib/asterisk/sounds/digits/fr
/var/lib/asterisk/sounds/digits/ru


setting in sip.conf language option 

   [555990]
   type=friend
   username=555990
   secret=5559900
   host=dynamic
   language=ru
   mailbox=555990


when i try to use voicemail all messages works fine,
but digits only english is uses.

   -- Executing VoiceMailMain("SIP/555990-e9bf", "555990") in new stack
    -- Playing 'vm-password' (language 'ru')
    -- Playing 'vm-youhave' (language 'ru')
!!    -- Playing 'digits/3' (language 'en')   !!
    -- Playing 'vm-INBOX' (language 'ru')
    -- Playing 'vm-messages' (language 'ru')
    -- Playing 'vm-onefor' (language 'ru')
    -- Playing 'vm-INBOX' (language 'ru')
    -- Playing 'vm-messages' (language 'ru')
    -- Playing 'vm-opts' (language 'ru')


where is the mistake ? 



More information about the asterisk-users mailing list