[asterisk-users] "!" in dial-pattern not work with overlap dialing
mjordan at digium.com
Mon Nov 24 13:16:47 CST 2014
On Mon, Nov 24, 2014 at 5:45 AM, s m <sam.gh1986 at gmail.com> wrote:
> hello all
> i want to have overlap dialing in asterisk. it works fine if i don't have
> "!" in my pattern. for example pattern "07." works fine and i can call
> 07122 by overlap dialing via it. but if i define "07!" i can't call 07122
> because it doesn't wait to collect all digits and therefore call 07. if i
> define "07.!" it works fine again and wait to collect all digits and hence
> 07122 rings.
> what is wrong with my patterns? how should i use "!" in my pattern in order
> to have overlap dialing?
A "!" instructs Asterisk to match *0 or more* characters . Since
you have already provided all the digits to match that pattern,
Asterisk correctly detects that it has matched the extension and
If you want to tell dialplan execution to wait for more digits, you
can use the Incomplete dialplan application . It exists
specifically for this purpose.
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
More information about the asterisk-users