You have a digit conflict with your ARS.
You can try something, I'm not sure if this will work, but try creating a system speed dial of 9940* and point that number anywhere - it doesn't matter where. That may fix the problem. If it doesn't, then you have to 1) change the 9940 number to something that doesn't start with a 9 or 2) in ARS, be more specific with your call routing. Add in numbers 99401, 99402, 99403, etc.
Ralph