[asterisk-users] Need help/suggestions for DialPlan

Alec Davis sivad.a at paradise.net.nz
Wed Dec 9 15:45:12 CST 2009


Watch out for 'Dial by name' missing first digit, there's a bug in
app_directory, at least with 1.6.1 branches and newer.

Not sure of what release you're testing on.

See:
https://issues.asterisk.org/view.php?id=16409
First DTMF digit is missed if pressed during "using your touch tone
keypad..." announcement 
 
Alec Davis

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Edwards
Sent: Thursday, 10 December 2009 9:30 a.m.
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Need help/suggestions for DialPlan

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       sedwards at 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




More information about the asterisk-users mailing list