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: [email protected]
[mailto:[email protected]] 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