System.openURL - anonymous call

Thanks for your help

I tried to paste your code but it returns an error

unfortunately I am not an expert in encode.

I attach error photos

oops, change 

local finalTelephoneNumber = string.urlencode("#31#"..user\_tel)

to

local finalTelephoneNumber = urlencode("#31#"..user\_tel)

It works!!!

Thanks so much!

You really raised a problem!

Thanks again to everyone for the help

Best regards and good work

It might be worth checking what happens with telephone numbers that contain * or - . If those characters are not valid in Italian telephone numbers or you know for certain that your app will never use them then don’t worry about it.

Also, be aware that if Apple decide they don’t like you directing to a number with the # symbol, then they may reject the app. Hopefully they are ok with this though.

Yes, my App will make a call with # by typing a special button, because I have a GSM module that if it receives a call with an anonymous number makes a particular command.

For apple I will explain why # and see what happens

As soon as I get home I try to compile the app also on ios let’s see if it works there too

If something does not work I will write

Thank you so much again