[asterisk-users] Just got defrauded - how do I block calls which contain a dash (RegEx noob question)

Markus universe at truemetal.org
Fri Oct 28 12:20:20 CDT 2016


Am 28.10.2016 um 17:58 schrieb Max Grobecker:
> why not using FILTER() in your dialplan to eleminate all chars that are not numeric?
> Like
>
>    Set(VAR=${FILTER(0-9+),${EXTEN}})
>
> That would eleminate all characters you're not expecting.

That's great! Didn't know FILTER. Thanks!





More information about the asterisk-users mailing list