Use the ADSI_FDM and ADSI_FDM_I state tables to download FDM functions to the ADSI telephone when the user calls a number that is answered by a voice application.
The two state tables are very similar, but ADSI_FDM_I is interrupted if the telephone user makes a call.
InvokeStateTable ("DIRECT", ADSI_FDM, mode, file, NameOfService, FDN, SecurityCode,VersionNumber, parms);
InvokeStateTable ("DIRECT", ADSI_FDM_I, mode, file, NameOfService, FDN, SecurityCode,VersionNumber, parms, interrupt);
switch_to_data;
information INSK=1;
This downloads only the main function and the overlays.
This downloads only the softkey definitions.
This downloads only the main function and the overlays.
This downloads only the softkey definitions.
You must include the file-name extension (.fdm).
We recommend that you store them in $CUR_DIR/ca/ADSI_dir, which is backed up using the standard save and restore tools.
The name can be a maximum of 18 bytes long.
This is the number of the position on the telephone's (FDN) page to which the feature should be downloaded.
This parameter is four bytes long. You can specify decimal values in the range 0 through 6, depending on the type of ADSI telephone being used.
If you try to download a feature to a specific feature download number, and the security codes for that service do not match the one you are downloading, you will not be authorized to download the feature.
This parameter is four bytes long.
For more information on feature downloads, see Bellcore specification SR-INS-002461 .
This parameter is one byte long.
If you want to pass multiple parameters, you must concatenate them into one string, and separate each parameter using a 001 (X'01') delimiter. You could use the ADSI_Parameters state table to do this (see ADSI_Parameters).
If you do not want to pass any parameters to the ADSI function, set the parms parameter to a null string.
This parameter is available on the ADSI_FDM_I state table only.
Specify one of the following values:
The InvokeStateTable action terminates with a result that indicates whether or not the operation was successful. If it was not, the result shows the reason for the failure:
InvokeStateTable("DIRECT", ADSI_FDM, voice_mode,
"sample.fdm",
"xyz",
"1",
"1",
"1",
parms)