4.12.1.2 :: Phonecall

Description


The <phonecallChunk> element allows you to place a WTAI click-to-call link onto your site. When the link is clicked, it invokes a WTAI function on the device and will initiate a call to the number specified in the WAPL. For devices that do not support this functionality, the number is displayed as plain text.

Quick Example


  1.  <?xml version="1.0" encoding="UTF-8" ?>
  2.  <wapl xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://wapl.wapple.net/wapl.xsd">
  3.   <layout>
  4.   <row>
  5.   <cell>
  6.   <chars>
  7.   <value>Hello World</value>
  8.   </chars>
  9.   </cell>
  10.   </row>
  11.   <phonecallChunk>
  12.   <phone_number>441234567890</phone_number>
  13.   </phonecallChunk>
  14.   </layout>
  15.  </wapl>

Child Elements


phone_number


The phone number that you want the device to call.

Example:

<phone_number>441234567890</phone_number>

show_label


A label to display instead of the phone number. If not specified, this will default to the speficied phone number.

Example:

<phone_number>441234567890</phone_number>
<show_label>Call Me!</show_label>

Contents