Forum Archive

tel: with ## does not work

dashorty

I tried at first this code:

import webbrowser
telnumer = '1234567890'
webbrowser.open('tel:' + telnumber)

This works, but when i add the code #31# like this

import webbrowser
telnumer = '1234567890'
webbrowser.open('tel:#31#' + telnumber)

it doesn't.

#31# block caller id

What can i do?

omz

I don't think there's anything you can do about this. From Apple's documentation about the tel URL scheme support:

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.

dashorty

ahh, ok.
thanks @omz