Blocking Anonymous calls in vicidial
exten => _X.,1,Set(CALLERID(num)=${CALL
exten => _X.,2,NoOp(${CALLERID(num)})
exten => _X.,3,GotoIf($["${CALLERID(num
exten => _X.,4,GotoIf($["${CALLERID(num
exten => _X.,5,GotoIf($["foo${CALLERID(
exten => _X.,6,GotoIf($["${CALLERID(nam
exten => _X.,7,GotoIf($["${CALLERID(nam
exten => _X.,8,GotoIf($["${CALLERID(num
exten => _X.,9,GotoIf($["${CALLERID(nam
exten => _X.,10,GotoIf($["${CALLERID(nu
exten => _X.,11,GotoIf($["${CALLERID(nu
exten => _X.,12,AGI(agi-DID_route.agi)
[who-r-u]
exten => s,1,Background(privacy-unident
exten => s,2,Background(vm-rec-name)
exten => s,3,Wait(2)
exten => s,4,Record(/tmp/asterisk-stran
exten => s,5,Playback(goodbye)
exten => s,6,Hangup
======================