I´m trying to make a “GotoIfTime” and I´m stuck.
I want it to be open on tuesdays between 10:00-12:00 and 14:00-18:00, otherwise closed.
What am I doing wrong? Right now it´s open all the time…
[itsam_kin_19530]
exten => 19530,1,NoOp(Horns Bibliotek)
same => n,Macro(stdexten,${EXTEN},SIP/kin19530,40)
same => n,GotoIfTime(10:00-12:00,tue,,?open,s,1)
same => n,GotoIfTime(14:00-18:00,tue,,?open,s,1)
same => n, Goto(closed,s,1)
same => n,Hangup()