Get User Data

This block waits for data to arrive at the specified line during the time out interval and receives the data if it arrives within that interval.

Properties

Values

Description

Line

String

Inbound or outbound line from which you want to get the data.

Termination Digits

0‑9 # and *

Enter a digit, #, or * that terminates this command.

Timeout 

Integer

Optional. If greater than 0, the number of seconds to wait for information.

-1

Infinite.

0

Zero timeout (do not block).

No value

Zero timeout (do not block).

Result Variable

String

Variable name to store value returned from this command. The returned value is the body of the received INFO message.

The GetUserData block parses a SIP INFO message to retrieve its content values.

Build the SIP INFO message, as follows:

  • The content type is application/ccu-integration.
  • Format the content this way:

<ParameterName1>=<ParameterValue1> [Return]

<ParameterName2>=<ParameterValue2> [Return]

.

< ParameterNamen>=<ParameterValuen> [Return]

 

Retrieved values are recorded in the Result Variable of the block, as follows:

<ReturnVariableName>.<ParameterName1>

<ReturnVariableName>.<ParameterName2>

.

<ReturnVariableName>.<ParameterNamen>