[Asterisk-Users] extension dialing resistivity

Damian Funnell damian.funnell at fff.co.nz
Sun Apr 17 16:59:59 MST 2005


Hi Joseph,

Let me take a guess - the problem only occurs when dialling four digit 
extensions?

I think you will find that your dial plan is matching the three digit 
extension and then dialling it straight away - Asterisk won't wait for a 
timeout before trying to follow the dial plan, as soon as it finds a 
match it will try and dial whatever you've told it to (whether an 
extension context exists or not).  This means, for example, that if you 
dialed extension '1234' then Asterisk will try and dial '123' if it 
finds a matching pattern in the dial plan - even if the extension '123' 
is invalid.

There are two ways around this - either re-configure your dial plan so 
Asterisk won't get confused between three digit and four digit 
extensions (starting them in different numbers is a good idea) or 
configure your SIP phones (assuming you are using SIP phones) not to use 
forward dialling (i.e. to dial after a pre-set delay.

We usually do the latter, as most SIP phones allow you to use the hash 
key to tell the phone to 'hurry up and dial now'.

If you want to get really funky you can also write your dial plan so 
that it waits for 'n' seconds between each digit, but who could be bothered?

FFF Managed Technology Ltd
60 Cook St
P.O. 6368 Wellesley St
Auckland
t +64 9 356 2911
f +64 9 358 9070
m +64 21 415 297
w www.fff.co.nz



Joseph wrote:

>Which file control extension dialing responsivity / timing?
>
>When someone dial my extension, and is not fast enough, asterisk
>announces that the extension is not valid (it happened to me too).
>
>I have a mixed of two and three digit extensions in dial plan.
>
>Which setting controls this behavior.
> - 
>  
>



More information about the asterisk-users mailing list