<div><br></div><div>Ok but this is available today and works fine, so it can be used as a zero day replacement. Any syntax change is welcome but will take time until it gets in a public release  and does not save you the hassle to change the dialplans anyway - unless you implement it as a default behaviour at the SIP driver level. And I got a feeling that most people will simply not bother learning regexps....<br>
</div><div>You could just as reasonably write a script to do the check, or run a check in the dialplan itself, or change Asterisk. </div><div>l.</div><div><br></div><div><br></div><br><div class="gmail_quote">2010/2/15 Steve Murphy <span dir="ltr">&lt;<a href="mailto:murf@parsetree.com">murf@parsetree.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br><br><div class="gmail_quote"><div class="im">On Mon, Feb 15, 2010 at 8:25 AM, Lenz Emilitri <span dir="ltr">&lt;<a href="mailto:lenz.loway@gmail.com" target="_blank">lenz.loway@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
<div>Yes but in any case you can enter all of the strings that reasonably match - even if you have variable-length numbers, you will be able to determine that a valid number be between 5 and 15 characters - or likely 2 to 20, all numbers. A number of 156 characters is very likely to be a problem.<br>

</div></blockquote></div><div><br>This is probably a stupid idea, because it could only be implemented in trunk, and won&#39;t help with current implementations,<br>and I suggested it a long time ago already when I did the fast pattern matching code, but I don&#39;t THINK it would be all that<br>

hard to offer SOME regex syntax in patterns to help reduce the impact of these kinds of problems.<br><br></div></div></blockquote><div><br></div><div><br></div><div> </div></div><br>-- <br>Loway - home of QueueMetrics - <a href="http://queuemetrics.com">http://queuemetrics.com</a><br>
<br>