this is because of wrong Smart Dialing settings
Phone -> Options -> Smart Dialing.
Make sure you set the correct values here, and it should work for you

Note: Disregard some of the menu options at the screenshots, they are just previos taken screenshots.