Führt eine Applikation unter bestimmten zeitlichen Bedingungen aus.
ExecIf(Uhrzeit
|Wochentag
|Monatstag
|Monat
?Applikation
[,Argumente
])
Ist das angegebene Zeitmuster zutreffend, wird die angegebene
Applikation
mit den Parametern Argumente
ausgeführt, und deren Ergebnis zurückgeliefert. Die Uhrzeit wird wie bei
include
(siehe „Includes zeitgesteuert“),
GotoIfTime()
(siehe „GotoIfTime()
“) oder IFTIME()
(siehe
„IFTIME()
“) angegeben.
Trifft der Ausdruck
nicht zu, wird die Ausführung
mit der nächsten Priorität fortgesetzt.
Anmerkung | |
---|---|
Interner Hilfetext zu dieser Applikation in Asterisk 1.4: -= Info about application 'ExecIfTime' =- [Synopsis] Conditional application execution based on the current time [Description] ExecIfTime(<times>|<weekdays>|<mdays>|<months>?appname[|appargs]): This application will execute the specified dialplan application, with optional arguments, if the current time matches the given time specification. Differenz zum internen Hilfetext in Asterisk 1.2: 10c10,12 < arguments, if the current time matches the given time specification. --- > arguments, if the current time matches the given time specification. Further > information on the time speicification can be found in examples illustrating > how to do time-based context includes in the dialplan. |
Siehe auch. „Exec()
“, „ExecIf()
“, „GotoIfTime()
“, „IFTIME()
“
Version 1.2, November 2002
Neue Version verfügbar
Sie betrachten gerade die alte Version des Buches (Version 1.0). Wir empfehlen Ihnen für Asterisk 1.4 und 1.6 die neue Version des Buches.
Asterisk-Tag 2008
Lernen Sie Mark Spencer (den Erfinder von Asterisk) kennen! Viele Vorträge, Case-Studies und Workshops rund um das Thema VoIP. Asterisk-Tag.org