[asterisk-users] blacklist/V* - using wildcard

Joseph syscon780 at gmail.com
Sat Apr 6 13:09:50 CDT 2013

On 04/06/13 11:59, Joseph wrote:
>Does wildcard "*" character works in asterisk "blacklist"?
>I have a telemarketing caller who is rotating caller id but they usually start with "V4-something" eg. V40611320600265
>I've tried to block using whildcard "*" :
>/blacklist/V4*           : advertising
>but it doesn't work.

If I use in dialplan:
exten => s,4,GotoIf($["${CALLERIDNUM}" = "V4*"]?blacklisted,s,1 

will it work?


More information about the asterisk-users mailing list