Some dialers don't allow you to dial hashtags or numbers with stars. In most cases, these codes are USSD ones which means that it requires a special module to be loaded before you can dial them. You might need to check with the developers or support from carrier to check if the USSD codes are supported or allowed.