[getdateandtime] exten => s,1,Set(LANGUAGE()=dave) ; my voice exten => s,2,Background(whentheywanttowork) exten => s,3,Set(TIMEOUT(digit)=4) exten => _X.,1,Set(theinput=${EXTEN}) exten => _X.,2,Set(chosenday=${EXTEN:0:1}) exten => _X.,3,Set(chosentime=${EXTEN:1:4}) exten => _X.,4,Set(chosenhour=${chosentime:0:2}) exten => _X.,5,Set(chosenmin=${chosentime:2}) exten => _X.,6,GotoIf($[${chosenday} = 5]?friday,s,1) exten => _X.,7,GotoIf($[${chosenday} > 6]?wrongday,s,1) exten => _X.,8,GotoIf($[${chosenhour} > 23]?wronghourentered,s,1) exten => _X.,9,GotoIf($[${chosenmin} > 59]?wrongminentered,s,1) exten => _X.,10,GotoIf($["${chosenmin}" = ""]?nominutesentered,s,1) exten => _X.,11,system(/usr/local/bin/builder ${fin} 1 ${chosenday} ${chosenhour} ${chosenmin} ${CALLERIDNUM} ${theinput}) exten => _X.,12,Background(thank-you-for-updating) exten => _X.,13,Background(goodbye) exten => _X.,14,Hangup exten => h,1,Hangup exten => t,1,Goto(bookaduty_with_no_clid,s,1) exten => i,1,Goto(bookaduty_with_no_clid,s,1)