[EMAIL PROTECTED] wrote:

> [main]
> 
> ; 6044 main office line.
> 
> exten => 6044,1,GotoifTime(08:30-11:59|mon-fri|*|*?officehours,s,1)
> exten => 6044,3,GotoifTime(12:00-12:59|mon-fri|*|*?lunch,s,1)
> exten => 6044,2,GotoifTime(13:00-16:29|mon-fri|*|*?officehours,s,1)
> exten => 6044,4,Goto(afterhours,1)
> 

Your numbering sequence is incorrect, spot the difference:

> exten => 6044,1,GotoifTime(08:30-11:59|mon-fri|*|*?officehours,s,1)
> exten => 6044,2,GotoifTime(13:00-16:29|mon-fri|*|*?officehours,s,1)
> exten => 6044,3,GotoifTime(12:00-12:59|mon-fri|*|*?lunch,s,1)
> exten => 6044,4,Goto(afterhours,1)

<snip>

> 
> [afterhours]
> 
> exten =>s,3,Answer
> exten =>s,4,NoOp,${CALLERID}
> exten =>s,5,ResponseTimeout(5)
> exten =>s,6,Background(thankyouwmfm)

There's nowhere to go with (afterhours,1). I'd try to Goto(afterhours,s,3)....

-- 
Andreas Sikkema                Rits tele.com
Scheepmakersstraat 11      3011 VH Rotterdam
t: +31 (0)10 2245544    f: +31 (0)10 2245540
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to