tags:

views:

31

answers:

1

Hello! I need to make call to a number, that start with #. For example phone number in Russia looks like +79123817711 and I need to call #79123817711. I'm trying this:

NSURL *url = [NSURL URLWithString:@"tel://#79123817711"];
[[UIApplication sharedLibrary] openURL:url];

But it's replaced # with %23, and sure, not make a call.

Is there any way to make such calls.

I know, that is not a call, it's USSD request. But function of this ussd looks like a call.

+1  A: 

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

So, no luck.

Nickolay O.
I read it before, but may be there are another way to get access to gsm module...
Demand
If there is one (actually, it should be), it should be from 'private sdk' and will not be allowed on AppStore.
Nickolay O.