Steve Davies wrote:
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
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Hi Steve,

The period is match 1 or more characters(can be a number or letter).
So in your example, you are saying first match a number 0-9, then match any one or more characters.

Dan
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to