Question

Is it possible to dial a USSD code via URL on iPhone using Safari or email (via hyperlink).

I am able to dial a normal phone number but it seems apple doesn't allow us to use * or # in the url? is it really like this?

This is what I am dialing via URL (hyperlink):

<a href="tel:*325#">Dial</a>
Was it helpful?

Solution

Apparently it is not possible without the use of private API in the objective c code (which apple won't accept on Apple store).

Please see the below mentioned URL:

http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/PhoneLinks.html

This is what they have mentioned: "Specifically, if a URL contains the * or # characters, the Phone application does not attempt to dial the corresponding phone number".

Hope it helps someone else.

Regards,

Reno Jones

OTHER TIPS

Try to

replace:   #     to     %23

this one:
<a href="tel:*325%23">Dial</a>

or this one:
<a href="tel://*325%23">Dial</a>

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top