[Asterisk-Users] Pattern-matching in the dial-plan

2004-12-12 Thread The Traveller
Hey all, I'm trying to add some logic to a dial-plan to allow the caller to terminate a number with a #, but also accept it without this terminator. While trying this, I noticed that, for example, extension _[*0-9]XXX.# always seems to match, whether the last digit dialled is a # or not. It's

Re: [Asterisk-Users] Pattern-matching in the dial-plan

2004-12-12 Thread Wilson Pickett
dialled is a # or not. It's as if the parser assumes everything after the . will match and doesn't look any further. Is this expected behaviour? Yes, the dot says match ANYTHING from here on AFAIK ___ Asterisk-Users mailing list [EMAIL PROTECTED]

Re: [Asterisk-Users] Pattern-matching in the dial-plan

2004-12-12 Thread Peter Svensson
On Sun, 12 Dec 2004, Wilson Pickett wrote: dialled is a # or not. It's as if the parser assumes everything after the . will match and doesn't look any further. Is this expected behaviour? Yes, the dot says match ANYTHING from here on AFAIK To be precise it will match one or more