
PeriProducer CTI Toolkit User’s Guide for M1
Page 46
Nortel Networks Confidential
# P0606089 Ver: 1.1
The following is important information pertaining to the use of the
User Data
block:
•
The
User Data
block requires several prerequisite blocks. The
CTI Initialize
block (see
page 32
) should be used to obtain the CTI resource. The IVR
application has to be Logged In to the Queue or CDN on DMS systems (but
not on M1 systems). Also the
Set Event Handling
block (see
page 37
) should
be used to wait for the
Established
state to guarantee that the data is
available to retrieve.
•
For the
User Data
block to perform read-only operations, no special input
values need to be assigned in any part of the CTI folder structure. To use the
block to get a specific key, place the fieldname of that item in the
Key(1)
array position.
User Data returns the value of the first key it encounters. In
environments where you need to retrieve values of duplicate keys, do not
specify a value in the Key(1) array position. This tells the User Data
block to return all key-value pairs, including duplicate keys.
•
CTI.EventData.Calldata
(a structured array[folder] that includes datakey
and datavalue in each of 40 elements) and
CTI.EventData.tlinkdata
(a
structured array[folder] that includes datakey, datavalue in each of 40
elements) are the two places where the data is returned.
•
If data is being removed or added, the
CTI.AVCalldata.Avpairs.Key()
and
CTI.AVCalldata.Avpairs.Value()
cards have to be populated accordingly. In
either case, use the
Key()
array to name the data items to delete or add.
•
Call data can be added to by either the IVR application or SCCS. Telephony
link data (tlink data) can only be added to by the switch (or SCCS as a front
end for the switch). Data can always be obtained from either; but can only be
removed from the CallData. The Call Data and Tlink data are both discarded
after the call expires. Thus the application does not have to maintain it on it's
own.
•
The
CTI.status
parameter is set to 0 if the request was successful and set to 1
if the request failed.
•
For examples of applications that use this block, see Appendix
Example
Applications
—
User Data on page 68
.
•
For example log files showing the internal functions of this block, see
Appendix
Example Log Files
—
User Data CSVAPI Log File on page 83
.
Содержание CTI ToolKit
Страница 5: ...Preface...
Страница 20: ...PeriProducer CTI Toolkit User s Guide for M1 Page 20 Nortel Networks Confidential P0606089 Ver 1 1...
Страница 55: ...Example Applications...
Страница 73: ...Example Log Files...
Страница 99: ...Index...
Страница 101: ...Glossary of CTI Terminology...