API Description for Extended Web Services
Get Adobe Reader |
The following sections provide detailed information about the Call User InterAction service capability:
The call user interaction Web Service provides an application with functions for callbased user interaction session. This allows an application to perform dialogue handling with one or several end user using IVRs and DTMF as a means of communication.
A call user interaction session depends on an existing call session, which means that a call session must be created before any call user interaction sessions can be created.
When a call user interaction session has been created, a callUiTicket is returned. The callUiTicket is used to identify a call user interaction session.
Abort a previously started sendInfo or sendInfoAndCollect request. Invocations of sendInfoWait and sendInfoAndCollectWait can not be aborted using this method.
Identifier for the call user interaction session retrieved when createCallUserInteraction was invoked. |
||
Identifier of the request to be aborted. The assignmentmentID was returned when sendInfo or sendInfoAndCollect was invoked. |
||
See CallUIException. |
||
See GeneralException. |
Closes a call user interaction session. The CallUITicket is destroyed and all resources in the network are released.
Identifier for the call user interaction session retrieved when createCallUserInteraction was invoked. |
||
See CallUIException. |
||
See GeneralException. |
Creates a call user interaction session. Only the session is created, which means that no announcements will be played, nor will no information be collected from the end user until additional methods are invoked.
A call user interaction session uses an ongoing call session, created by the call control Web Service. To connect a call user interaction session with an ongoing call session, the callTicket identifying the call session is used as inparameter when creating a call user interaction session.
Note that some network equipment may only allow CallUserInteraction sessions to be created under certain circumstances, for example with only one participant in the call.
The call user interaction session is identified by the returned callUiTicket.
Ticket that identifies the call session to establish a call user interaction session on. |
||
Address, in URI format (tel:<address>), to the end user, which also must be a participant in the call session, to establish a call user interaction session with. Use "*" to establish call user interaction sessions with all participants in the call. See Address expressions for information on format. |
||
A ticket identifying the call user interaction session. Both this identifier and the ticket identifying the login session, see applicationLogin, (supplied in the security header of the call) must be synchronized in subsequent calls. |
||
See CallUIException. This exception is raised if the participant could not be added. |
||
See GeneralException. |
Sends an announcement to an end user. The response is reported back to the application using the call user interaction listener interface.
Identifier for the call user interaction session retrieved when createCallUserInteraction was invoked. |
||
The URL to the Web Service that implements the listener interface. See Listener interface. An example is |
||
See UserInformation for information on format. The information to send to the IVR. Depends on the IVR equipment used to play announcements. For example, this may be the ID of a prerecorded announcement or a text to be announced. |
||
Indicator for language to be used in the announcement. Depends on the IVR equipment used. |
||
Id for this unique request in the call user interaction session. Also referred to as assignmentID. |
||
See CallUIException. This exception is raised if the participant could not be added. |
||
See GeneralException. |
Plays an announcement to and collects information from an end user. The application execution continues without waiting for the participant to enter information. The information collected from the user is returned using the Web Service defined and registered by the application, see sendInfoResult.
Identifier for the call user interaction session retrieved when createCallUserInteraction was invoked. |
||
The URL to the Web Service that implements the listener interface. See Listener interface. An example is |
||
See UserInformation for information on format. The information to send to the IVR. Depends on the IVR equipment used to play announcements. For example, this may be the ID of a prerecorded announcement or a the text to be announced. |
||
The minimum length of input given by the end user for this request to be considered successful. If a timeout or endSequence is encountered before the minimum length is met, it is considered an error. |
||
The maximum length of input allowed for the end user. When maximumLength digits have been collected, the request is considered successful and the result is sent back to the application. |
||
The character or characters that will terminate a variable length input (for example a phone number). When this sequence is encountered in the input, and the total number of characters (including end sequence) is greater or equal to minimum length, the request is considered successful and sent back to the application. If the total length is less than minimum length it is considered an error. |
||
The first character timeout timer. If no information has been collected from the end user before this timer releases, the input is considered to be faulty. |
||
The timeout timer between characters collected from the end user. If this timer releases, the input is considered to be faulty if the total length of the input is less than minimum length, otherwise it is considered to be valid. |
||
Indicator for language to be used in the announcement. Depends on the IVR equipment used. |
||
Id for this unique request in the call user interaction session. Also referred to as assignmentID. |
||
See CallUIException. This exception is raised if the participant could not be added. |
||
See GeneralException. |
Plays an announcement to and collects information from an end user. The application execution holds until the information is collected from the end user or a timeout is triggered.
Identifier for the call user interaction session retrieved when createCallUserInteraction was invoked. |
||
See UserInformation for information on format. The information to send to the IVR. Depends on the IVR equipment used to play announcements. For example, this may be the ID of a prerecorded announcement or a the text to be announced. |
||
The minimum length of input given by the end user for this request to be considered successful. If a timeout or endSequence is encountered before the minimum length is met, it is considered an error. |
||
The maximum length of input allowed for the end user. When maximumLength digits have been collected, the request is considered successful and the result is sent back to the application. |
||
The character or characters that will terminate a variable length input (for example a phone number). When this sequence is encountered in the input, and the total number of characters (including end sequence) is greater or equal to minimum length, the request is considered successful and sent back to the application. If the total length is less than minimum length it is considered an error. |
||
The first character timeout timer. If no information has been collected from the end user before this timer releases, the input is considered to be faulty. |
||
The timeout timer between characters collected from the end user. If this timer releases, the input is considered to be faulty if the total length of the input is less than minimum length, otherwise it is considered to be valid. |
||
Indicator for language to be used in the announcement. Depends on the IVR equipment used. |
||
The time to wait for end user input to complete. If this time expires, a CallUIException with error code RESOURCE_TIMEOUT will be thrown. |
||
See CallUIException. |
||
See GeneralException. |
Plays an announcement to an end user. The application execution holds until the end user the announcement is played to terminates the call, the announcement has been played (including repeats), or a timer expires.
Identifier for the call user interaction session retrieved when createCallUserInteraction was invoked. |
||
See UserInformation for information on format. The information to send to the IVR. Depends on the IVR equipment used to play announcements. For example, this may be the ID of a prerecorded announcement or a the text to be announced. |
||
The number of times the announcement shall be repeated. Zero (0) indicates that the announcement shall be repeated until the end user terminates the call or the timer expires. |
||
The time to wait for and end user to terminate the call user interaction session. If this time expires, a CallUIException with error code RESOURCE_TIMEOUT will be thrown. |
||
Indicator for language to be used in the announcement. Depends on the IVR equipment used. |
||
See CallUIException. |
||
See GeneralException. |
Exceptions of this type are raised when there are error conditions related to the call user interaction Web Service. Other error conditions are reported using the exception GeneralExcepetion.
This exception is raised when the applications session has expired or there are communication problems with the underlying platform.
Name-value pair, defining the type of user interaction resource to be used. This data is operator defined. Defines which type of information to send to the IVR.
Name part of the name-value pair. See UserInformationType. |
||
User information types. Defines the type of data defined in UserInformation. Enumeration (xsd:string) with the following values.
Use parameter value in datatype UserInformation as an ID of a message defined in an underlying network node. Parameter value in UserInformation shall be xsd:string. |
|
Use parameter value in datatype UserInformationData as data to be distributed to an underlying network node. |
|
Use parameter value in datatype UserInformation as an address to a message defined in an underlying network node. Parameter value in UserInformation shall be xsd:string. |
|
Use parameter value in datatype UserInformation as binary data to be sent to and underlying network node. Parameter value in UserInformation shall be xsd:string. |
Holder of data to send to an underlying network node.
The call user interaction listener interface defines the methods that the underlying platform invokes on a Web Service that is implemented by an application. When an application performs asynchronous requests from the call user interaction Web Service, the responses are delivered according to this interface.
Used by the underlying system to inform the application that the call user interaction session identified by callUITicket is no longer valid. The application can not use the call user interaction session no more.
Identifier for the call user interaction session retrieved when createCallUserInteraction was invoked. |
||
Errors related to call user interaction sessions are reported using this method.
Identifier for the call user interaction session retrieved when createCallUserInteraction was invoked. |
||
The ID identifying the request. This ID was retrieved when the application invoked sendInfo or sendInfoAndCollect in the call user interaction Web Service. |
||
See CallUIErrorCode. Type of error. |
||
Results of call user interaction dialogues initiated by invocation of the asynchronous methods sendInfo and sendInfoAndCollect are reported using this method.
Identifier for the call user interaction session retrieved when createCallUserInteraction was invoked. |
||
The ID identifying the request. This ID was retrieved when the application invoked sendInfo or sendInfoAndCollect in the call user interaction Web Service. |
||
See CallUIResultCode. Type of result. |
||
The user input if it was a sendInfoAndCollect request and result code is INFO_COLLECTED, otherwise empty string. The format of this string is determined by the criteria given to the sendInfoAndCollect method. |
||
Array of call error codes, see CallUIErrorCode for information on the individual records in the array.
Enumeration with one of the following values: