On Wed, 9 Dec 2009, Myles Wakeham wrote: > I have an ACD menu that gives the caller the options as follows: > > - Press 1 for sales > - Press 2 for support > - Press 3 for customer service > - Press 8 for a 'Dial by Name' list > > or enter the extension number at anytime to directly dial that extension. > > I am setting up extensions to be 3 digits long, all starting with 6 (ie. > 601, 602, 603, etc.)
Patterns and wildcards are your friend. Maybe something like: [example] exten = _!,1, verbose(1,[${CONTEXT}:${EXTEN}]) exten = _!,2, answer() exten = 1,3, goto(sales,s,1) exten = 2,3, goto(support,s,1) exten = 3,3, goto(customer-service,s,1) exten = 8,3, goto(directory,s,1) exten = _x,3, hangup() exten = _6xx,3, goto(dial-by-extension,s,1) -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwa...@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users