Im Using Asterisk 1.8 on Ubuntu 12.04 with FreePBX 2.10.
I edited /etc/asterisk/extensions_custom.conf and added the following:
[macro-auto-blkvm-custom] exten => s,n,NoOp(Execute Script) exten => s,n,System(/bin/echo "`date "+%Y-%m-%d %H:%M:%S"` - foo bar" >> /var/log/asterisk/call.log)
Unfortunately this does not work, when somebody answers the call.
I cant see it in the asterisk log and the call.log file is not written.
It seems only macro-auto-blkvm is used but the custom part is ignored.
I dont had this problem in Asterisk 1.4 with FreePBX 2.8.
Does something chaged in FreePBX 2.10 i need to know?