If you dial the directory and do not press any key, it keeps repeating on and on the message...
"If this is the person you are looking for Press 1 now otherwise please press * now."
Looks like it does not honor the MAX_REPEAT value.
I found that the comparison operator is mistyped as !== on lines 308 and 375. If you change it to != it should stop after 2 tries.