[asterisk-dev] Better pattern matching

John Lange john.lange at open-it.ca
Wed Aug 1 11:44:47 CDT 2007


Searching the archives I can see that better pattern matching has been
discussed a number of times.

There have even been patches submitted and discussions about how there
are regexp libraries available under BSD style license that could be
incorporated into Asterisk.

Yet, nothing ever makes it into the released code.

The existing NXZ. system is adequate for most situations but falls down
where you need something a bit more complex.

A specific example is where you need to capture a variable length number
of digits from a caller using a terminator digit.

What you want is effectively:

_X.#

But this doesn't work in Asterisk because everything after the "." is
ignored.

So my question is, are there currently any efforts to improve pattern
matching going on for 1.6 (or possibly even 1.4)?

What has happened to the previous efforts to make them fail?

Regards,

John





More information about the asterisk-dev mailing list