「Asterisk cmd GotoIfTime」の版間の差分
提供: VoIP-Info.jp
(新しいページ: ' GotoIfTime(<time range>|<days of week>|<days of month>|<months>?[[context|]extension|]pri) Asterisk 1.6 GotoIfTime(<time range>,<days of week>,<days of month>,<months...') |
|||
1行目: | 1行目: | ||
− | |||
GotoIfTime(<time range>|<days of week>|<days of month>|<months>?[[context|]extension|]pri) | GotoIfTime(<time range>|<days of week>|<days of month>|<months>?[[context|]extension|]pri) | ||
22行目: | 21行目: | ||
| "*" | | "*" | ||
<monthname> = "jan" | "feb" | "mar" | "apr" | "may" | "jun" | "jul" | "aug" | "sep" | "oct" | "nov" | "dec" | <monthname> = "jan" | "feb" | "mar" | "apr" | "may" | "jun" | "jul" | "aug" | "sep" | "oct" | "nov" | "dec" | ||
+ | |||
+ | exten => 3000,1,GotoIfTime(9:00-17:00,mon-fri,*,*?open,s,1) | ||
+ | exten => 3000,1,Goto(close,s,1) |
2010年3月10日 (水) 12:37時点における版
GotoIfTime(
<time range>|<days of week>|<days of month>|<months> <time range>= <hour>':'<minute>'-'<hour>':'<minute> | "*" <days of week> = <dayname> | <dayname>'-'<dayname> | "*" <dayname> = "sun" | "mon" | "tue" | "wed" | "thu" | "fri" | "sat" <days of month> = <daynum> | <daynum>'-'<daynum> | "*" <daynum> = a number, 1 to 31, inclusive <hour> = a number, 0 to 23, inclusive <minute> = a number, 0 to 59, inclusive <months> = <monthname> | <monthname>'-'<monthname> | "*" <monthname> = "jan" | "feb" | "mar" | "apr" | "may" | "jun" | "jul" | "aug" | "sep" | "oct" | "nov" | "dec"
exten => 3000,1,GotoIfTime(9:00-17:00,mon-fri,*,*?open,s,1) exten => 3000,1,Goto(close,s,1)