I want to call a number in the below format using platformRequest:
platformRequest("tel:number,number#number#");
But i'm getting an invalid number error , is it possible to do that?
I want to call a number in the below format using platformRequest:
platformRequest("tel:number,number#number#");
But i'm getting an invalid number error , is it possible to do that?
I'm just going to put my comment as an answer here, so you can mark the question as answered.
You're getting an invalid number error because there's no comma in a telephone number. When looking at your address book, there may be a comma as a visual representation of a pause in the number. But when using
platformRequest("tel:<number>);you have to use the character "p" to get a pause.So, a number like
080099330,7495692664036#0096255455#in your phone-book will have to be entered likeplatformRequest("tel:080099330p7495692664036#0096255455#");In other words, the comma is replaced with a p.