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
Hey there is there away into blocking outgoing not incoming phone calls.