CallScripter 4.5.53 for Interactive Intelligence

Please email training@callscripter.com for omissions or errors.
×
Menu

Custom Notifications

CustomNotification is a class in IceLib that allows the initiation of custom handlers by SendServer Request and by SendApplicationRequest.  The CallScripter integration subscribes to the CustomNotificationReceived event and will react when the event ID is CallScripterNotification. 
 
Custom notifications can fire csCommands on an agent's toolbar to allow 3rd party applications to control calls and toolbar related function via the active CallScripter session.  When creating the notification it should have the following:
 
ObjectID
CIC username
EventID
"CallScripterNotification" Anything else will be ignored by the integration
Request
List of csCommands(s) to fire.  The request must be in the following format:
[
["csCommand", "hangup"],
["csCommand", "setoutcome","Success"],
["csCommand", "closescript"],
["csCommand", "setuserstatus","Available"],
]
callID
Optional parameter to specify the call ID on to which the csCommand payload will apply, for example to control a call which is not the current active interaction.  If omitted, it will apply to the current active interaction.
 
Examples
 
ObjectID:          AUser
EventID:            CallScripterNotification
Request:          [
["csCommand","Toast", "Call Waiting", "A call has been transferred to you, please close the current script and call to receive this interaction","0"]
   ]