Virtual Extension ring before voicemail

On a FreePBX install I had a time condition that ended with going to a virtual extension voicemail box capturing callerid, and I have a script that looks up the callerid number in our CRM.

On a new PBXact install, everything works right until the time condition kicks in, then the call goes straight to voicemail and I’m not capturing callerid for my script.

Config Edit>extensions_custom.conf

exten => s,1,System(wget -q “http://someserver/somescript.php?callerid=${CALLERID(number)}&callname=${CALLERID(name)}&datetime=${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)}” -O /dev/null)
exten => s,n,hangup()

Do I need to add something that .conf?