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       [email protected]      Voice: +1-760-468-3867 PST
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to