Block call and create log entry

parkley
Joined: Mon 05 of Mar, 2007

Block call and create log entry

Posted:Thu 29 of Jan, 2009 (18:40 UTC)
Hi.

I'm blocking incoming calls based on caller-id (exten => s/'caller-id',2,Hangup().

I'd like to do that but also create a log entry of the clal in a text file. My linux skills or Asterisk scripting skills are low so any help is appreciated.

Rgds

Payman