[Asterisk-Users] Dialplan pattern match discrepancy

Steve Davies davies147 at gmail.com
Fri Nov 25 09:47:29 MST 2005


Hi,

This is probably just me mis-reading the documentation, but I have
been led to believe that the '.' in extensions.conf means zero or more
digits, such that

exten => _X.,1,NoOp()

Would trigger for either a single digit, or for a longer number (as
long as it starts with a digit)

In practice (I am using 1.0.7 and 1.0.9) the '.' seems to match *one*
or more digits, so in the above example, a single digit is not matched
as expected.

Is this correct? A bug? Fixed in 1.2 ;-) ?

Thanks for any feedback on this.

Regards,
Steve



More information about the asterisk-users mailing list