Jump to: navigation, search

CTIC Application Errors

The following example uses a CTIC operation, which throws an error event to indicate that the operation is not supported in the case of CTI using SIP Server.

Example:

eval_cond:{AppState.g_CTICCall == 'false'}=true event error.com.genesyslab.composer.unsupported:1|AccessNumGet is not supported in case of CTI using SIPServer event_handler_enter:error.|http://10.10.10.97:8080/JavaVoiceProj_CTIC/src-gen/AccessNum GetApp.vxml log com.genesyslab.quality.failure:error event terminated session

Scenarios:

  • Through InteractionData, you want to perform a userdata delete in CTI using SIPS scenario.
  • Through InteractionData, you want to perform a userdata deleteAll in CTI using SIPS scenario.
  • Through InteractionData, you want to perform a userdata replace in CTI using SIPS scenario.
  • You want to perform a Statistics PeekStatReq or GetStatReq in the CTI using SIPS scenario.
  • You want to perform an AccessNumGet in the CTI using SIPS scenario.
  • Through RouteRequest, you set a transfer type to consultation in the case of CTI using SIPS scenario.

A receive error event is thrown to indicate when a <receive> operation fails and an error is reported by CTIC.

<genesys:receive maxtime="10s"/> <if cond="isCTICResult(application.lastmessage$) == 'false'"> <throw event="error.com.genesyslab.composer.receiveerror" messageexpr="'The received message has invalid content-type.'" /> </if>

An operation timeout error event is thrown to indicate when a <receive> operation, which is executed in the context of a CTIC specific operation, times out.

<if cond="AccessNumGet1ResultReason == 'Timeout'"> <throw event="error.com.genesyslab.studio.operationtimeout" messageexpr="AccessNumGet1ResultReason" />

This page was last edited on August 3, 2018, at 08:52.
Comments or questions about this documentation? Contact us for support!