Send Data Block
Contents
Use the Send Data block (a wrapper around the <send namelist> tag) for sending a list of variables as SIP INFO to the other end point. The data is sent in the form-url-encoded format, in the BODY of the SIP INFO.
Typically, Send Data can be used by VXML applications to send data to a CCXML application or to CTI applications.
For example, CCXML use cases that use Composer External Messaging Blocks (such as Send Data, Send Info, and Send Event), see the Genesys Voice Platform 8.1 CCXML Reference Manual. See the Features chapter, Dialogs section.
When using either the Send Data or Send Info block, the result on the CCXML side is to create a dialog.user. * event. The name of the event is set to dialog.<event name>.
Dialog User Event Example
The VoiceXML dialog may send a user event to the CCXML application by using the <send namelist="name type uri"/> tag. Here is an example of the VoiceXML <send> block:
<var name="name" expr="'transfer'"/>
<var name="type" expr="'bridge'"/>
<var name="uri" expr="'1111@205.150.90.19'"/>
<gvp:send namelist="name type uri"/>
The CCXML session receives the following:
15:02:04.416 Int 51030 F9187A00-E558-44C6-61AE-FFA9A066180C-FF326086-ECB5 dlg_event
7|dialog.user.transfer|DD92E8B2-51AD-4F3F-8C8D-
40AFA169EA9B|values.name="transfer";values.type="bridge";values.uri="1111@205.150.90
.19
This raises a dialog.user.transfer event to the CCXML application that owns the dialog. The event itself contains the following properties:
event$.values.name=transfer
event$.values.type=bridge
event$.values.uri=1111@205.150.90.19
Note: The event$ is a generic name for CCXML events, and in the preceding example, it is dialog.user.transfer. The contenttype attribute is not supported by the <send> tag if the namelist is used.
The Send Data block has the following properties:
The Send Data block has no page exceptions.
Name Property
Find this property's details under Common Properties.
Block Notes Property
Can be used for both callflow and workflow blocks to add comments.
Values Property
The Values property holds the list of variables to be sent.
To select values:
- Click the Values row in the block's property table.
- Click the button to open the Values dialog box.
- Select individual variables, or click Select all or Deselect all.
- Click OK.
Wait For Response Property
The Wait For Response property allows a message to be sent synchronously (when set to true). By default, data is sent asynchronously for all the Send [xxx] blocks (when this property is set to false).
To assign a value to the Wait For Response property:
- Select the Wait For Response row in the block's property table.
- In the Value field, select true or false from the drop-down list.
Condition Property
Find this property's details under CommonPropertiesforCallflowBlocks.
Logging Details Property
Find this property's details under CommonPropertiesforCallflowBlocks.
Log Level Property
Find this property's details under CommonPropertiesforCallflowBlocks.
Enable Status Property
Find this property's details under CommonPropertiesforCallflowBlocks.