My incoming calls land in the context from-trunk
[from-trunk]
...
same => n,GotoIf($[${DB(blockcaller/${CALLERID(num)})} = 1 ]?blocked)
same => n(blocked),Hangup
...
pbx*CLI> database put blockcaller +18669103178 1
pbx*CLI> database del blockcaller +17038675309
pbx*CLI> databse show blockcaller
Hi warewolf,
Can you tell me where exactly you place this in your dialplan ?