Legacy Dev Forum Posts

 View Only

Sign Up

Conversation Notification Doubt

  • 1.  Conversation Notification Doubt

    Posted 06-05-2025 18:04

    Twin_Engines | 2016-07-28 15:47:10 UTC | #1

    Hello,

    I am using the conversation Topic to get notifications of the changes so i can get some information whenever a conversation ends, i see in the schema in the documentation about this topic (Available Topics) that the wrap up field which is the one i need is in there so i was thinking on getting it from there instead of doing a request as if the notification has it there is no need to do any other request.

    But once i started using the notifications and i checked the eventBody of the notification i don't see the field (the field was not filled in the conversation when it finished), so my guess is that if the conversation-participant doesn't have a wrap up added then the field won't be part of the notification schema i get, am i right?, just making sure that if it actually has a wrap up added it will show then.


    tim.smith | 2016-07-28 20:04:36 UTC | #2

    Yes. I tested this and got this for the last participant:

    { "id": "b4e76f45-8b30-4e71-afe7-dac5d32d65e6", "connectedTime": "2016-07-28T19:57:45+0000", "endTime": "2016-07-28T19:58:08+0000", "userId": "9ed7d9f6-0c59-4360-ac54-40dd35eb9c2f", "queueId": "636f60d4-04d9-4715-9350-7125b9b553db", "purpose": "agent", "address": "sip:Hollywoo_1@10.145.27.104", "wrapupRequired": true, "wrapupExpected": true, "wrapupPrompt": "optional", "wrapup": { "code": "7fb334b0-0e9e-11e4-9191-0800200c9a66", "notes": "", "durationSeconds": 1, "endTime": "2016-07-28T19:58:10+0000", "additionalProperties": {} }, "attributes": {}, "calls": "removed for brevity", "additionalProperties": {} }

    Edit: Also, this was the only participant that had a property named wrapup.


    tim.smith | 2016-07-28 20:09:28 UTC | #3

    Just an FYI, I added a conversation subscription to the presence subscription tutorial. The code is in github but won't show on the dev center until the next time it's pushed to prod.


    Twin_Engines | 2016-07-28 20:13:53 UTC | #4

    Perfect, thanks for all the help, i will check that code you added.


    system | 2017-08-28 19:25:41 UTC | #5


    This post was migrated from the old Developer Forum.

    ref: 189