How to make calls from ionic/cordova?


Do you know if is possible make calls from ionic/cordova? My App must launch the dialer when users press a button and can control the info of the call (duration for example).

I’ve been researching but I haven’t found any plugin for launching the dialer from ionic/cordova. The closest thing I found was: but it’s only for iOS.

Do you know any plugin or alternative method?

Thanks in advance.

1 Like

Hmm, you should be able to use the html tel attribute for this.

<a class="item item-icon-left" href="tel:{{employee.cellPhone}}">
  <i class="icon ion-ios7-telephone"></i>
  Call Cell

You may not be able to launch the dialer app and be able to enter the phone number, but you can at least start the call and get the functionality of the in-call dialer. if that makes sense…

For never versions of cordova (3.6.3+ I believe), you need to do some additional config to make this work.

In config.xml, add this line

<access origin="tel:*" launch-external="yes"/>

without this line you can press the call button all you want, it won’t work. Same special access is required for sms, email, etc.

Also see