Michael Rowley wrote:
Yeah, yeah, rtfm, I know... :)

This is after several editions. The original was trying to refer to the incoming DID of 6044, so was programatically correct at Goto(afterhours,6044,1) Plus, the GotoifTime's should work. Actually, the afterhours should work, if I have an extension of 'afterhours' in the current context. I didn't notice this until you pointed it out... but it was correct in previous revisions... and I was tyring to test it during the week, when the previous Goto's should have taken precidence... and they _all_ failed.

Any reason why the rest should give me 'invalid extension'?

>>> 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)

It shouldn't make a difference, but you are altering terminators half way through the line...i.e. try

exten => 6044,1,GotoifTime(08:30-11:59|mon-fri|*|*?officehours|s|1)

--
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
_______________________________________________
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