Skip to content

Instantly share code, notes, and snippets.

@jdgregson
Last active September 15, 2023 06:03
Show Gist options
  • Save jdgregson/a16b3dc069d2e85bca1c5f218ba25083 to your computer and use it in GitHub Desktop.
Save jdgregson/a16b3dc069d2e85bca1c5f218ba25083 to your computer and use it in GitHub Desktop.
Call MMI code from iOS Shortcut - MMI or SSD is not supported

When trying to create an iOS Shortcut which calls an MMI code, such as the forwarding interrogation code *#21#, you may find that Shortcuts refuses to place the call and shows the error message MMI or SSD is not supported.

You can work around this in some circumstances by opening a tel: URL to the MMI code. To do so:

  1. Create an action to "Open URLs"
  2. For the URL, enter tel: followed by the MMI code you want to dial, replacing * (asterisk) with %2a and # (pound sign) with %23

To dial *#21#, your shortcut action would say the following:

Open tel:%2a%2321%23

Failing to percent-encoded * and # will result in another error saying Open URLs failed because Shortcuts couldn't convert from Rich text to URL.

The result of this is that when the shortcut is executed, you'll see a button pop up on the bottom of the screen asking if you want to call *#21#. Clicking on this button will place the call successfully.

@Sutonline
Copy link

It's not working on my phone, which ios version is 16.3
When then shortcuts run, the result is "mmi or ssd is not supported"

I tried a lot, finally got a solution.

  1. Edit a safari bookmark, type then encoded url. For example: %2a3939
  2. Add a Open Bookmark action, select the bookmark we edited.

@eem-mam-git
Copy link

Hallo,

First, thx for this solution. But i cant get it ready to work without the URL Popup. Last Example with Open Bookmark is not working for me and get the same result. Maybe i do it wrong but i cant find the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment