[asterisk-users] Set Language for VoiceMailMain

Danny Nicholas danny at debsinc.com
Fri Jan 11 09:07:25 CST 2013


No. It is purposely set from the dialplan.  In Asterisk 11.X you have the
[zonemessage] section in voicemail.conf that could probably be tweaked to
change the language without dialplan changes.  Also in sip.conf you can set
language by peer so you could have something like

[London]

Type = peer

Language=en

[Madrid]

Type=peer

Language=es

[paris]

Type=peer

Language=fr

 

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jonas Kellens
Sent: Friday, January 11, 2013 9:00 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Set Language for VoiceMailMain

 

Thanks you for your answer.

There is no "language"-parameter that can define the language of mailbox and
VoiceMailMain ?


Jonas.



On 01/11/2013 03:33 PM, Danny Nicholas wrote:

AFAIK, the ${CHANNEL(language)} is what controls each.  If you wanted to
answer the phone in English, then do voicemails in different languages, this
should work:

[default]

Exten => s,1,Answer()

Exten => s,n,Set(CHANNEL(language)=en) - redundant since default is en

Exten => s,n,background(welcome)

; prompt for voicemail in French

Exten => s,n,Set(CHANNEL(language)=fr)

Exten => s,n,VoiceMailMain(100 at default)

; Line 200 is in Spain

Exten => s,n,Set(CHANNEL(language=es)

Exten => s,n,VoiceMailMain(200 at default)

 

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jonas Kellens
Sent: Friday, January 11, 2013 5:36 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Set Language for VoiceMailMain

 

Hello,

how do I set the language for the VoiceMailMain()-command ?

How do I set the language per voicemail-box ?




Thanks,
Jonas.






--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello
 
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130111/040a4671/attachment.htm>


More information about the asterisk-users mailing list