Legacy Dev Forum Posts

 View Only

Sign Up

Inbound call - Detect Reject vs Timeout

  • 1.  Inbound call - Detect Reject vs Timeout

    Posted 06-05-2025 18:14

    BrechtVanden_Bosch | 2019-01-25 09:22:08 UTC | #1

    Hello,

    Is there any way I can detect if an inbound call has been rejected or timed-out?

    When I reject a call via the Purecloud web interface, the interaction is closed and I receive a CallConversationNotification. For my participant, I get : "disconnectType: client"

    When I do not answer the call and it is removed by timeout, I receive an identical CallConversationNotification (also with "disconnectType: client").

    There seem to be no difference in Notification for the two scenarios. Is there another way to detect?

    Example of a notification:

    [details="Summary"] CallConversationNotification { id: 2a2b2320-ab0d-4172-8ef9-cfc35f477bbe name: null participants: [class CallConversationNotificationParticipants { id: 1b3b7705-5fd6-4425-8c6d-e62bcc3e1923 name: Mobile Number, Belgium address: tel:+32 startTime: null connectedTime: Fri Jan 25 09:59:29 CET 2019 endTime: null startHoldTime: null purpose: customer state: connected direction: inbound disconnectType: null held: false wrapupRequired: false wrapupPrompt: null user: null queue: class CallConversationNotificationUriReference { id: aae61b59-58c9-454a-82b8-9fd0f012d0ba name: null } attributes: {AccountNr=1234, Subject=Credit card, Location=Brussels} errorInfo: null script: null wrapupTimeoutMs: null wrapupSkipped: null provider: Edge externalContact: class CallConversationNotificationUriReference { id: 23e7aed6-6ffe-48cd-b012-43e0d3330b0e name: null } externalOrganization: null wrapup: null peer: null screenRecordingState: null flaggedReason: null muted: false confined: false recording: true recordingState: active group: null ani: null dnis: null documentId: null monitoredParticipantId: null consultParticipantId: null faxStatus: null }, class CallConversationNotificationParticipants { id: 7842188f-e0c2-4bd9-b94b-67d93c5934c3 name: Brussels, Belgium address: sip:214d7cf8-ab58-4b20-a3ca-8593b55527ca@ 127.0.0.1;language=en-US;user=ivr startTime: null connectedTime: Fri Jan 25 09:59:29 CET 2019 endTime: Fri Jan 25 09:59:32 CET 2019 startHoldTime: null purpose: ivr state: terminated direction: inbound disconnectType: transfer held: false wrapupRequired: false wrapupPrompt: null user: null queue: null attributes: {} errorInfo: null script: null wrapupTimeoutMs: null wrapupSkipped: null provider: Edge externalContact: null externalOrganization: null wrapup: null peer: 54fee3ff-536f-436a-b009-f5a9096699c6 screenRecordingState: null flaggedReason: null muted: false confined: false recording: false recordingState: none group: null ani: null dnis: null documentId: null monitoredParticipantId: null consultParticipantId: null faxStatus: null }, class CallConversationNotificationParticipants { id: 2eaec7c9-a70c-4b78-b468-cdd6c90c4489 name: Credit Card Applications address: sip:aae61b59-58c9-454a-82b8-9fd0f012d0ba@ 127.0.0.1;language=en-GB;user=acd startTime: null connectedTime: Fri Jan 25 09:59:32 CET 2019 endTime: null startHoldTime: null purpose: acd state: connected direction: inbound disconnectType: null held: false wrapupRequired: false wrapupPrompt: null user: null queue: class CallConversationNotificationUriReference { id: aae61b59-58c9-454a-82b8-9fd0f012d0ba name: null } attributes: {} errorInfo: null script: null wrapupTimeoutMs: null wrapupSkipped: null provider: Edge externalContact: null externalOrganization: null wrapup: null peer: 54fee3ff-536f-436a-b009-f5a9096699c6 screenRecordingState: null flaggedReason: null muted: false confined: false recording: false recordingState: none group: null ani: null dnis: null documentId: null monitoredParticipantId: null consultParticipantId: null faxStatus: null }, class CallConversationNotificationParticipants { id: c9ebec1e-cc41-452f-8ef1-a7535af6b70f name: null address: sip:5aeaf8c2d83fcc14c8752291+idealsystemsdemo.orgspan. com;tgrp=bdf2c620-d90b-4393-b829-c8adcd56d18c;trunk-context=idealSystemsDemo@ localhost startTime: null connectedTime: null endTime: Fri Jan 25 09:59:48 CET 2019 startHoldTime: null purpose: agent state: terminated direction: inbound disconnectType: client held: false wrapupRequired: false wrapupPrompt: timeout user: class DocumentDataV2NotificationCreatedBy { id: be0bd47e-8478-4fe4-a4ff-a19751eb3608 name: null } queue: class CallConversationNotificationUriReference { id: aae61b59-58c9-454a-82b8-9fd0f012d0ba name: null } attributes: {} errorInfo: null script: null wrapupTimeoutMs: 15000 wrapupSkipped: null provider: Edge externalContact: class CallConversationNotificationUriReference { id: 23e7aed6-6ffe-48cd-b012-43e0d3330b0e name: null } externalOrganization: null wrapup: null peer: 54fee3ff-536f-436a-b009-f5a9096699c6 screenRecordingState: null flaggedReason: null muted: false confined: false recording: false recordingState: none group: null ani: null dnis: null documentId: null monitoredParticipantId: null consultParticipantId: null faxStatus: null }] otherMediaUris: [] recordingState: active } [/details]

    Thank you in advance

    Brecht


    tim.smith | 2019-01-25 14:16:16 UTC | #2

    I don't believe there's any additional granularity available to indicate how the client, or which one, ended the segment. You can request new features at https://purecloud.ideas.aha.io/ideas.


    system | 2019-02-25 14:16:18 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 4428