On Tue, Feb 16, 2010 at 6:28 PM, meetmecall <i...@meetmecall.nl> wrote:

> I didn't know about the function but from what I understand from the "show
> function FILTER"  output it doesn't validate a string but it cleans the
> string from not allowed characters. So TRIM(1234567890,01243567&505) results
> in  01243567505. If the length of the output string is shorter then the
> input string the call setup should stop because not allowed characters were
> stripped.  With some extra lines TRIM() will do as good as the macro I
> guess.  You can add some lines so someone trying to perform  number
> injection will be connected with an answering machine and be  requested to
> leave name and phone number ;-)
>
>
> Erik
>
>
One thing FILTER() will allow though is variable length dial strings, which
are needed in some parts of the world (as evidenced by earlier posts in this
thread).


-- 
Thanks,
--Warren Selby
http://www.selbytech.com
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Reply via email to