Re: [Asterisk-Users] wildcard matching in dialplan

2006-01-29 Thread Phil Blundell
On Sun, 2006-01-22 at 18:18 +0100, Wilson Pickett wrote: > You could also use a trick like *21* going to a new context and > waiting for digits (with a slighly longer timeout) and have it > "trigger" on the longest possible number. > > perhaps if local extension were of the form 2nnn or 2nn and yo

Re: [Asterisk-Users] wildcard matching in dialplan

2006-01-22 Thread Wilson Pickett
> This is a problem because many of my users are using GXP-2000s with > Early Dial enabled: I need Asterisk to go on rejecting the number with > "484 address incomplete" until it sees the final * digit. > > Can anybody give me a clue how to accomplish this? If the phone is even entry quality, it s

[Asterisk-Users] wildcard matching in dialplan

2006-01-22 Thread Phil Blundell
I'm trying to write some dialplan patterns to allow my users to control call forwarding from their handsets. Right now, I have this in extensions.conf: [forwarding] exten => _*21*X.X*,1,Macro(set-cfim,${CALLERIDNUM},${EXTEN:4}) I was hoping that this would match any string of the form *21*nnn*,