How do you know it's not wokring?
what is the CLI output?
On 8/16/06, Adam Collard <acollard@dtmi.net>
wrote:> I'm stuck.
> GoToIfTime isn't working right. Relevent extensions.conf sections
posted below. All calls just continue on down to the closed context.
>
> [incoming]
> exten => s,1,NoOp(${CALLERID})
> exten => s,2,GoToIfTime(9:00-17:00|mon-fri|*|*?open,s,1)
> exten => s,3,GoTo(closed,s,1)
>
> [closed]
> exten => s,1,Answer
> exten => s,2,Wait(2)
> exten => s,3,PlayBack(closed-dtmi)
> exten => s,4,VoiceMail(u1000@queue)
>
> [open]
> exten => s,1,Wait,1
> exten => s,2,Answer
> exten => s,3,NoOp(${CALLERID})
> exten => s,3,DigitTimeout(5)
> exten => s,4,ResponseTimeout(10)
> exten => s,5,Background(custom/dtaa)
> exten => 1,1,Playback(sales)
> exten => 1,2,GoTo(queue,1000,1)
> exten => 2,1,Playback(support)
> exten => 2,2,GoTo(queue,1001,1)
> exten => #,1,Directory(dtmi|from-internal|f)
> exten => 0,1,Playback(reception)
> exten => 0,2,WaitMusicOnHold(20)
> exten => 0,3,VoiceMail(u1002@queue)
> exten => i,1,Playback(sorry-youre-having-problems)
> exten => i,2,Voicemail(u1000@queue)
> exten => t,1,Playback(sorry-youre-having-problems)
> exten => t,2,Voicemail(u1000@queue)
> include => ext
>
>
>
>
>
> Adam Collard
> President
> Digital Telecom of Michigan, Inc.
> acollard@dtmi.net
> (517) 233-1072 Direct Office
> (800) 420-3803 x4101 Office
> (517) 766-5902 Fax
>
> This email may be confidential. Any distribution, use or copying of this
email or the information it contains by other than an intended recipient is
unauthorized. If you received this email in error, please advise me (by return
email or otherwise) immediately.
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>