Search code examples
iosiphonegsmphone-call

Call a GSM Service #123*


I want to call a GSM-Servicenumber of my provider, but the iPhone won't give a reaction. When I try the same with a regular number it works.

[[UIApplication sharedApplication]
                openURL:[NSURL URLWithString:@"tel:#123*1*4#"]
];

Have anyone an idea to get the Phone dial the GSM-Code?


Solution

  • it is not possible to use gsm-codes with public methods

    See Apples Documentation about Phone Links:

    To prevent users from maliciously redirecting phone calls or changing the behavior of a phone or account, the Phone app supports most, but not all, of the special characters in the tel scheme. Specifically, if a URL contains the * or # characters, the Phone app does not attempt to dial the corresponding phone number.