iOS Question Problem overriding caller ID barring

JackKirk

Well-Known Member
Licensed User
Longtime User
My app rings a phone number in the following fashion:
B4X:
Dim wrk_phone As String
'xxxxxxxxx is the mobile phone number sans leading 0
wrk_phone = "*31%23+61xxxxxxxxx"
If App.CanOpenUrl("telprompt:" & wrk_phone) = True Then
    App.OpenURL("telprompt:" & wrk_phone)
End If

The *31%23 or *31# is to override any caller ID barring the phone may have turned on.

The +61 is the country code (Australia).

When the app is launched I get the telprompt screen showing the number as *31#+61xxxxxxxxx and giving me options of [Cancel] and [Call].

If I tap [Call] I get no response.

The following does work:
  • wrk_phone = "+61xxxxxxxxx"
  • wrk_phone = "0xxxxxxxxx"
  • Dialing *31#+61xxxxxxxxx on the phone app keypad
Looks like I may have hit another iOS nannystate wall.

Does anyone have a solution?

BTW a similar construct works fine in the B4A version of the app.

Thanks in anticipation...
 
Last edited:

JackKirk

Well-Known Member
Licensed User
Longtime User
Last edited:
Upvote 0
Top