LANGUAGE()
de
eingestellt und wird Playback(tt-weasels)
ausgeführt, so wird
die Datei de/tt-weasels
abgespielt (wenn vorhanden).
Gleiches gilt für SayDigits()
etc.; abfragen: exten => 123,1,Set(foo=${LANGUAGE()}) ; Deutsch setzen: exten => 123,1,Set(LANGUAGE()=de)
LANGUAGE()
ist ab Asterisk 1.6 nicht mehr
vorhanden und wurde durch die Funktion CHANNEL()
(Abschnitt D.11, „CHANNEL()
“) ersetzt:Set(CHANNEL(language)=de)
————————| 1.2 |————————| 1.4 | | |
-= Info about function 'LANGUAGE' =-
[Syntax]
LANGUAGE()
[Synopsis]
Gets or sets the channel's language.
[Description]
Deprecated. Use CHANNEL(language) instead.
--- in Asterisk 1.2
+++ in Asterisk 1.4
@@ -7,11 +7,4 @@
Gets or sets the channel's language.
[Description]
- Gets or sets the channel language. This information is used for the
- syntax in generation of numbers, and to choose a natural language file
- when available. For example, if language is set to 'fr' and the file
- 'demo-congrats' is requested to be played, if the file
- 'fr/demo-congrats' exists, then it will play that file, and if not
- will play the normal 'demo-congrats'. For some language codes,
- changing the language also changes the syntax of some Asterisk
- functions, like SayNumber.
+ Deprecated. Use CHANNEL(language) instead.
CHANNEL()
“