CosmoCall object
This object is available to all call types.
|
Property name |
Type |
Description |
|---|---|---|
|
cosmocall.CallID |
String |
CosmoCall call identifier |
|
cosmocall.LastError |
String |
This parameter is available as read only in the CallRejected Script where it represents the CMS reject reason:
|
|
cosmocall.MarkAsAbandoned |
String |
If true, sets abandoned calls in rejected script to be reported as abandoned. If false, sets abandoned calls in rejected script to be reported as rejected (the default). |
CosmoCall.CallbackData object
This object is available only for outgoing VoIP calls. All properties are Read only.
|
Property name |
Type |
Description |
|---|---|---|
|
cosmocall.callBackData.DirectRouteAgentId |
Integer |
Returns the agent ID where the originating callback was routed to. Can be 0 if the originating callback call was routed via ACD rules. |
|
cosmocall.callBackData.OutDialingAddress |
String |
Returns the designated callback address (usually phone number). |
|
cosmocall.callBackData.ImmediateDialing |
Boolean |
Returns the immediate dialing flag. If set to true, this callout started automatically when the originating callback arrived at the agent. |
|
cosmocall.callBackData.OriginatingCallID |
String |
Returns the call ID of the originating callback call. |
|
cosmocall.callBackData.OriginatingAgentID |
Integer |
Returns the agent ID of the agent scheduling the originating callback call. Can be 0 if the callback was scheduled from a script. |
|
cosmocall.callBackData.AttachmentUrl |
String |
Returns the attachment's URL of the originating callback call. Previously known as CallerURL. |
|
cosmocall.callBackData.Message |
String |
Returns the message of the originating callback call. Previously known as CallerMessage. |
|
cosmocall.callBackData.OriginatingQueueName |
String |
Returns the name of the queue of the originating callback call. |
|
cosmocall.callBackData.RescheduleCount |
Integer |
Returns the reschedule count of the originating callback call. |
|
cosmocall.callBackData.MaxRescheduleCount |
Integer |
Returns the maximum reschedule count of the originating callback call. |
CosmoCall.TtsInfo object
This object is available only for VoIP and chat calls during TTS (Transfer to System) flow, if the selected EntryPoint includes a script. All properties are Read only.
|
Property name |
Type |
Description |
|---|---|---|
|
CosmoCall.TtsInfo.blockName |
String |
Returns the block name used during the TTS (only if set via selected EntryPoint). |
|
cosmocall.ttsInfo.ParamName |
String |
Returns the parameter name used during the TTS (only if set via selected EntryPoint). |
|
cosmocall.ttsInfo.ScriptName |
String |
Returns the script name used during the TTS (only if set via selected EntryPoint). |
|
cosmocall.ttsInfo.ApplicationID |
Integer |
Returns the application ID used during the TTS (only if set via selected EntryPoint). |
|
cosmocall.ttsInfo.CallType |
Integer |
Returns the TTS call type - one of the following values:
|
|
cosmocall.ttsInfo.ParentCallId |
String |
Returns the TTS parent call ID. |