Tried it just now and that is indeed the way it works (100% for me).
From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens Sent: Friday, January 11, 2013 9:22 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Set Language for VoiceMailMain Well, I thought you had tried it and thus could tell it with 100% certainty. Thanks for your help. Jonas. On 01/11/2013 04:16 PM, Danny Nicholas wrote: Since the peer language sets CHANNEL(language), I can say yes with reasonable certainly. Like anything else here, you don't really know until you try it on your box. From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jonas Kellens Sent: Friday, January 11, 2013 9:15 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Set Language for VoiceMailMain Hello, are you sure that the "language"-parameter of the SIP peer will influence the language used by VoiceMailMain() ? Jonas. On 01/11/2013 04:07 PM, Danny Nicholas wrote: 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-boun...@lists.digium.com [mailto:asterisk-users-boun...@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@default) ; Line 200 is in Spain Exten => s,n,Set(CHANNEL(language=es) Exten => s,n,VoiceMailMain(200@default) From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@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 -- _____________________________________________________________________ -- 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 -- _____________________________________________________________________ -- 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
-- _____________________________________________________________________ -- 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