[Asterisk-Dev] extension pattern should recognize regular expression syntax

Olle E. Johansson oej at edvina.net
Mon May 30 23:48:02 MST 2005


Maxim Litnitsky wrote:
> Hello dear developers!
> I had a task to match number  sent to me as customerid#called.
> I could not use
> exten => _.#. because . eats all till the end.
> If only I could use:
> exten => _[0-9]+#[0-9]+ it would solve the issue.
> 
> Why not introduce regular extenions in dialplan ? Like in Mera MVTS softswitch.
> Looking forward to your comments!
Looking forward to your comments on:

http://edvina.net/asterisk/alphanumericextensions.pdf

/O ;-)



More information about the asterisk-dev mailing list