Defining FDM softkeys

You define an FDM softkey in a similar way to how you define an SDC softkey. You can define optional parameters by using the softkeyparms statement. You should insert this statement in the FDM script source file before the softkey definition statements. For information about the softkey statement, see Defining SDC softkeys .

For more information, see softkeyparms.

The following is an example of an FDM softkey statement:

softkeyparms test1 test2;
softkey dial : "Dial Fred" : "DIAL"
{
display 1 "$test2";
go_offhook;
send_dtmf"$test2";
}

In this example, the existing values of parameters test1 and test2 are substituted at download time. When the softkey definition that is called dial is installed by the main function or an overlay, the label DIAL is displayed on a softkey that is assigned this definition. When the user presses this softkey, the value of test2 is displayed on the ADSI telephone display, and the DTMF tone for the value of test2 is sent down the telephone line.