The VOIP_Xfer_Data state table encapsulates the actions necessary to use
the SetUserData custom server function. It is called by the incoming state
table to set up some user-defined data to be supplied to the outbound state
table during a transfer. This call must be made before the TransferCall action
is performed. You can customize the application, but you must not change the
basic functions.
Parameters
- String log_filename (maximum of 64 characters)
- If this parameter is blank, no event logging is performed. If you specify
a file name, event logging of the supplied data is performed and the results
are logged in the file you specify. The logging is performed by the VOIP_Xfer_Log
state table.
- String user_data1 (maximum of 64 characters), (this value is returned)
- User data supplied to the SetUserData custom server call.
- String user_data2 (maximum of 16 characters), (this value is returned)
- User data supplied to the SetUserData custom server call.
- String user_data3 (maximum of 16 characters), (this value is returned)
- User data supplied to the SetUserData custom server call.
- String user_data4 (maximum of 16 characters), (this value is returned)
- User data supplied to the SetUserData custom server call.
- String user_data5 (maximum of 16 characters), (this value is returned)
- User data supplied to the SetUserData custom server call.
- Number return_code, (this value is returned)
- This value is returned to indicate whether or not the call to the VOIP_Xfer_Data
state table was successful. The possible return values are:
- 0
- The state table ran successfully
- 1
- The OHSL to the VOIP_Call_Transfer custom server failed.
- 2
- The SendData to the VOIP_Call_Transfer custom server failed.