DBRewrite is an Asterisk dialplan application for manipulating a remote MySQL database.
it you regular expression matching and substitution. It does support multiple keys, and for each key you can define as many regular expessions and substitution rules as you want. The regular expressions and substitution rules are stored in a table on a Mysql Server, which does get accessed using the Asterisk cmd MysqlPool Ressource.
Syntax
add here
Example
add here
Installation
DBRewrite is not distrubuted with the main Asterisk distribution, and needs to be downloaded from http://www.yosd.at/
add installation instructions.
Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ