Legacy Dev Forum Posts

 View Only

Sign Up

Conversation Notification no working anymore

  • 1.  Conversation Notification no working anymore

    Posted 06-05-2025 18:10

    Twin_Engines | 2016-08-18 19:50:25 UTC | #1

    Hello, I created a windows service application that was receiving the notifications from pure cloud, the conversation ones to be specific but now all of the sudden I am not getting any notification, only hearth beats, is there something different in the SDK that could be causing this?.

    Also I would like to know what determinates what an available user is, because I am using the method GetUsers() to track all their conversations but a user I am using to test is not part of the list so I hardcoded the id, I would like to know what it would need to have to be part of the available users list.

    Thanks.


    chuck.pulfer | 2016-08-18 20:05:20 UTC | #2

    Did you subscribe 24 hours ago? Subscriptions last for 24 hours. You need to resubscribe if you want to continue listening to the topic. Check out the usage guidelines for more info about the expiration.


    tim.smith | 2016-08-18 20:05:42 UTC | #3

    all of the sudden I am not getting any notification

    My guess is that the timestamp on "all of the sudden" is 24 hours after you made the subscription. :) Under Usage Guidelines in the Use the Notification Service guide, it states that subscriptions will expire 24 hours from when they are made. If your application needs to have notifications for more than 24 hours, it will need to resubscribe.

    Twin_Engines, post:1, topic:307
    Also I would like to know what determinates what an available user is, because I am using the method GetUsers() to track all their conversations but a user I am using to test is not part of the list so I hardcoded the id, I would like to know what it would need to have to be part of the available users list.

    Are you retrieving users from all of the pages? I'm not aware of a reason a user wouldn't show up. If you are getting all of the pages and have done your due diligence that it's not a bug in your code somewhere, go ahead and open a ticket with PureCloud Support to investigate.


    Twin_Engines | 2016-08-18 20:14:35 UTC | #4

    haha no, its been running for a few days and it always renewed the subscription, or creates a new channel if my token expired, the thing is even new channels are not getting the notifications.


    Twin_Engines | 2016-08-22 14:37:11 UTC | #5

    Hello,

    I am still not being able to get the notifications,, i am wondering something, each time the client token expires i have to get a new one, it means the token changes so i have to create a channel again and subscribe the users as well, what happens with the channel that i was using before the token expired? i find odd that now i am only getting hearth beats when i was working fine before, any thoughts about what could be happening, is not the 24h thing as the application resubscribes.

    Edit: When i say get a new one means using this method: Configuration.Default.ApiClient.PostToken


    system | 2017-08-28 19:26:33 UTC | #6


    This post was migrated from the old Developer Forum.

    ref: 307