What does the state table have to do?

The CallPath_SigProc commands are documented in the Blueworx Voice Response for AIX: Application Development using State Tables information. The commands are used to read or set the program data. In addition, the state table also has access to information about an incoming call in the following system variables:

System : Call Info : Called Number (SV185)
The called number (the number to which the call has been transferred).
System : Call Info : Calling Number (SV186)
The number from which the call has been transferred.
System : Call Info : User 1 (SV187)
The dialed number (the number the caller originally dialed).
System : Call Info : User 2 (SV188)
The length of the program data.

Receiving Data From Another Number (Read_Program_Data)

Use the EvaluateData action to test the System : Call Info : User 2 system variable (SV188). If the value is 0, there is no program data to be read. Otherwise, use a SendData to send the Read_Program_Data command to CallPath_SigProc, followed by a ReceiveData to receive two parameters: the program data itself and the length of the string. These steps are shown in Figure 1.

Transferring Data To Another Number (Set_Program_Data)

Pass the data you want to associate with the transfer as a parameter when you use the SendData action to send the Set_Program_Data command to CallPath_SigProc. Use a ReceiveData action following the SendData, and check the return code. If the Set_Program_Data appears to have been successful, use the TransferCall action to make the call transfer. These steps are shown in Figure 2.