Voice Callback Details

Call Summary Details

CloudAgent provides the following call summary details after each call:

ParameterDescriptionReturn TypeSizeExample
AgentIDAgent Login IDString255XXXXXX
AgentNameName of the agentString255XXXXXXX
AgentPhone
Number
Phone number with which Agent is logged inString20XXXXXXX
AgentStatusStatus of the AgentString50answered / not_answered / NotDialed / user_disconnected
AgentUniqu eIDUnique Number assigned to the agent at the time of creationBigInt20XXXXXXX
ApikeyAuthentication key of the accountString250KKXXXXXXXXXXXX
AudioFileRecording file of that particular callString500http://recordings.xxx/xxx/xxx.mp3
CallDurationDuration of that particular calltimeHH:MM:SS00:01:20
CallerConfAudioFileRecording file of conference call (if any)String500http://xxxxx.xxx/xxx/xxx.mp3
CallerIDCustomer Phone numberString255Customer’s Phone number
CampaignN ameName of the campaign through which the call is routedString255XXXXX_XXXXX
CampaignStatusWhether the Campaign is ONLINE or OFFLINEString20ONLINE / OFFLINE
CommentsComments by agent (if any)text-XXXXXXX
ConfDurationDuration of the conference within the calltimeHH:MM:SS00:00:00
CustomerStatusStatus whether the customer Answered or Unanswered the callString50InvalidNumber / Congestion / answered / not_answered / NoRouteDestination / Dialing / NoResponse / ISDDisabled / ring / exception / SubcriberAbsent / InvalidNumberFormat /Busy
DialStatusTelephony response of the call like Answered, UnAnswered, DND, etc.,String100not_answered / answered / ring / invalid_number / exception
Dialed
Number
Phone number connected to customerString20XXXXXXX
dIdDID is the predefined number in a campaign through which the agent calls route.String3091XXXXXXXXXX
DispositionDisposition set by the agent in ACW(after-call work) modeString100xxxxx
DurationTotal call durationtimeHH:MM:SS00:45:00
EndTimeTime at which the call endedtimeYYYY:MM:DD HH:MM:SS2019-07-20 17:41:26
FallBackRuleFallback rule configured at campaign level when call is not answeredString255Queue -> SkillXFR
-> AgentDial
HangupByCall hang up from the customer or agent's endString100UserHangup / Agent Hangup / SystemHangup
LocationLocation defined in the skillString255Hyderabad
monitorUCIDUnique caller ID used for monitoring call detailsBigInt2043XXXXXXXX
PhoneNameName configured to that particular agent Phone numberString20XXXXXXX
SkillSkill through which the call is routedString255XXXXXX
StartTimeTime at which the call startedDate TimeYYYY:MM:DD HH:MM:SS2018-04-26 17:51:36
StatusCall statusStringAnswered / NotAnswered
TimeToAnswerTime taken by the agent to answer the callTimeHH:MM:SS00:00:15
TransferTypeType of transfer
agent initiated
String30Agent / Skill / Phone Number
Transferred ToMode to which the call is transferred. Agent or Skill or Phone transfer.String30agent_name / skillName / transfer_number
TypeCall type whether it is an Inbound, Manual, Preview, Progressive, etc.,String20Progressive, Inbound, Manual, Preview, Mail, IVR, Chat, Predictive
UserNameAccount nameString50XXXXXX
UUIUser to User call informationString500XXXXXX

👍

Sample CURL Request, if it's a direct call between agent and costomer

curl -X POST http://yourdomain.com/callDetails -H 'content-type: application/x-www-form-urlencoded;’-F 'data=
{"AgentID":"xxxx","AgentName":"xxxx","AgentPhoneNumber":"xxxx","AgentStatus":"NotDialed","AgentUniqueID":"xxxx","Apikey":"xxxxx","AudioFile":"","CallDuration":"00:00:52","CallerConfAudioFile":"","CallerID":"xxxx","CampaignName":"xxxx","CampaignStatus":"ONLINE","Comments":"","ConfDuration":"00:00:00","CustomerStatus":"NormalUnspecified","DataUniqueId":"xxxx","DialStatus":"NormalUnspecified","DialedNumber":"xxxx","Did":"xxxx","Disposition":"","Duration":"00:00:00","EndTime":"2024-05-20 09:36:07","FallBackRule":"CustDial","HangupBy":"AgentHangup","HoldDuration":"00:00:00","Location":"xxx","PhoneName":"xxxx","Skill":"xxxx","StartTime":"2024-05-20 09:35:15","Status":"NotAnswered","TimeToAnswer":"","TransferType":"No Transfers","TransferredTo":"","Type":"Predictive","UUI":"xxxx","UserName":"xxxx","WrapUpDuration":"00:00:00","monitorUCID":"xxxxxx"}

👍

For conference calls, the sample request is as follows:

curl -X POST http://yourdomain.com/callDetails -H 'content-type: application/x-www-form-urlencoded;’-F 'data=[{"CallID":"xxxxxxx","UCID":"xxxxxxxx","CreatorAgentId":xxxx,"CreatorAgentName":xxxx,"CreatorPhoneNo":"xxxxxxx","ParticipantAgentId":xxxx,"ParticipantAgentName":xxxxx,"CreatorAgentPhoneNo":"xxxxxxx","CreatorPhoneName":"xxxxxx","ParticipantPhoneNo":"xxxxxxx","ParticipantAgentPhoneNo":xxxx,"ParticipantPhoneName":xxxx,"ConfStartTime":"YEAR-MM-DD HH:MM:SS","ConfPickupTime":"YEAR-MM-DD HH:MM:SS","ConfEndTime":"YEAR-MM-DD HH:MM:SS","ConfUCID":"xxxxxxxx","DID":"xxxxxxxx"}]

❗️

To receive callbacks for conference calls, ensure that the super admin setting "Conference CallBacks" is enabled.

👍

For conference call, sample request in the case of 'AdvancedCallBacks'

curl -X POST http://yourdomain.com/callDetails -H 'content-type: application/x-www-form-urlencoded;’-F 'data=[{"AgentID":"xxxx","AgentName":"xxxx","AgentPhoneNumber":"xxxxx","AgentStatus":"answered","AgentUniqueID":5,"Apikey":"xxxxxx","AudioFile":"","CallDuration":"00:01:05","CallID":xxxxx,"CallerConfAudioFile":"","CallerID":"xxxx","CampaignName":"test","CampaignStatus":"ONLINE","Comments":"","ConfDuration":"00:00:00","CustomerStatus":"answered","DID":"xxxx","DataUniqueId":"","DialStatus":"answered","DialedNumber":"xxxx","Disposition":"xxxx","Duration":"00:01:27","EndTime":"2024-04-19 15:13:08","FallBackRule":"AgentDial","HangupBy":"AgentHangup","HoldDuration":"00:00:00","Location":"","PhoneName":"xxxx","Skill":"","StartTime":"2024-04-19 15:11:41","Status":"Answered","TimeToAnswer":"00:00:22","TransferType":"No Transfers","TransferredTo":"","Type":"Manual","UCID":xxxx,"UUI":"","UserName":"xxxx","WrapUpDuration":"00:00:05"},{"AgentName":"xxx","Audio":null,"CallID":xxxxxx,"DID":"xxxx","DialStatus":"SUCCESS","EndTime":null,"ExitStatus":"xxxx","ParticipantNumber":"xxxx","PickupTime":"2024-04-19 15:12:54","StartTime":"2024-04-19 15:12:53","UCID":xxxx}]

❗️

To receive the advanced callbacks, ensure that the super admin setting "AdvancedCallBacks" is enabled.