[asterisk-users] Need help with my dial plan - general logic flaws

Steve Edwards asterisk.org at sedwards.com
Sat Mar 12 15:53:54 CST 2016


On Sat, 12 Mar 2016, Ivan Demkovitch wrote:

> I created very simple automated attendand (with a help of book), below is code.
> But logic is simple:
>
> Depending on time - I want:
> If during business hours - give them menu and handle extensions
> If after hours - give them message and take to voicemail.
>
> This dial plan accomplishes just that.
>
> What I don’t like is side behavior of this plan
> 	When after hours - I can still press 1/2/3 and go into Sales/Support queue or to operator, etc.
> It’s probably OK to allow dialing of extensions of actual users (101, 102, etc)
> But I don’t want them to dial operator (0) or 1,2,3 and such.

A new context is a great way to limit the scope of trouble after hours 
callers can get into.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST


More information about the asterisk-users mailing list