Saturday, September 6, 2008

How to send DMTF tone?

During an active voice call, if you click the following link, the phone will send touch tones (a.k.a. DTMF tones) for the keys 1#23*456 over the voice line:
          Send tone

This can be very useful for interacting with automated answering services, which ask you to press keys to navigate menus. You can also capture the return status of the operation in a WML variable. The following is the complete syntax of the "send DTMF" URL link.

         wtai://wp/sd;[tone sequence]![variable name]

Table. The status codes after the "send DTMF" operation

Status code

Description

0

Success

-1

Unspecified error

-108

There is no active voice connection


The corresponding WMLScript function for sending DTMF tones is as follows:

     var flag = WTAPublic.sendDTMF ("1#23*456");

No comments: