Asterisk bash script read digit

Pray tell, what is wrong?

(Thinking to myself I should have taken up dentistry…)