Executing commands from DTMF

Doesn’t the shell script line need “.sh” on the end?
999=cmd,/etc/asterisk/newsline.sh