VOIP_Xfer_Stat

The VOIP_Xfer_Stat state table encapsulates the actions necessary to use the GetUserStatus custom server function. It is used by the incoming state table to receive the user-specified status values returned by the outbound state table after the make call. This call must be made after the TransferCall action and before the TerminateCall or ReconnectCall actions. 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.
Number user_status
The status of the call to get the user status information. The possible values are:
0
User status data is present.
1
Request to get user status is not valid at this time.
2
No user status data is available.
char user_status1[64]
User-defined status field that was sent by the outbound state table during a transfer after the outbound call was made.
char user_status2[16]
User-defined status field that was sent by the outbound state table during a transfer after the outbound call was made.
char user_status3[16]
User-defined status field that was sent by the outbound state table during a transfer after the outbound call was made.
char user_status4[16]
User-defined status field that was sent by the outbound state table during a transfer after the outbound call was made.
char user_status5[16]
User-defined status field that was sent by the outbound state table during a transfer after the outbound call was made.
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.
3
The ReceiveData failed with a Timeout edge.
4
The ReceiveData failed with a No More Data edge.
5
The ReceiveData failed with a Data Not Found edge.
6
The ReceiveData failed with a Host Problem edge.
7
The ReceiveData failed with a Host Not Open edge.