News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Exercise WebSocket Subscriptions app scope
Tags: graduation
Sep 5, 2023 at 4:07pm   •   3 replies  •  0 likes
Total CX

I moved away from PubNub and using WebSockets with the Python SDK. Right now I am trying to graduate an app and I cannot exercise the WebSocket Subscriptions app scope. Here is my current application scope:

Call Control, Read Accounts, Read Call Log, Read Call Recordings, WebSocket Subscriptions


@Phong Vu

3 Answers
answered on Sep 7, 2023 at 9:55am  

Any ETA on a fix for this, I have the same issue when using websocket subs.

1694105706241.png


 0
on Sep 8, 2023 at 7:20am   •  0 likes

No ETA. Issue was reported though. Meanwhile, you can always post your app client id and I can help to graduate it manually.

on Sep 8, 2023 at 12:06pm   •  0 likes

here is the client id for the app, thanks.

YB1GGnhASdxdJ4tCWBuUKr

on Sep 9, 2023 at 9:11am   •  0 likes

Graduated.

answered on Sep 6, 2023 at 7:38am  

This is the app client id: fJISI3oBdtofUuxHor7oCO

but, is there any way to exercise that permission using the app? I am able to receive notifications in the sandbox just fine.

Look at the attached image Screenshot 2023-09-06 at 9.40.33 AM.png@Phong Vu



 0
on Sep 6, 2023 at 8:22am   •  0 likes

I believe that if you create, read and delete the subscription several times then it would pass the requirement. Otherwise, it is a bug.

Can you do that or confirm if you have done that.

What I can see from your app analytics is just 3 creations and 1 read subscription.

1694013883513.png

on Sep 6, 2023 at 2:54pm   •  0 likes

The subscription you are looking at is a REST subscription, I am creating the subscriptions using Web Sockets

on Sep 6, 2023 at 8:30am   •  0 likes

I will try that, but do you see my point with the graduation requirements? That is cumbersome and doesn't serve any purpose.

I will let you know the results.

on Sep 6, 2023 at 2:34pm   •  0 likes

It is a bug @Phong Vu . I created and destroyed the WebSocket subscription for telephony notifications six times, and still nothing.

on Sep 6, 2023 at 2:54pm   •  0 likes

Thanks for reporting! I manually graduate the app for you. I will report this bug to the team.

answered on Sep 6, 2023 at 7:17am  

What is the app client id?


 0
answered on Sep 6, 2023 at 2:28pm  

Well, @Phong Vu , it is a bug. I created and removed the web socket subscription more than 20 times, but I am still unable to graduate the app. Look at my logs for one run:


python -m ringcentral-graduate ...
Faking API Calls ...
...

2023-09-06 15:52:07 [INFO] totaltrack.core.commands.ringcentral_graduate:251 Make API calls, iterations #1-#6
2023-09-06 15:52:07 [INFO] totaltrack.core.commands.ringcentral_graduate:253     Getting Account Info, iteration: #1-#6
2023-09-06 15:52:07 [INFO] totaltrack.core.commands.ringcentral_graduate:256     Getting Current Extension, iteration: #1-#6
2023-09-06 15:52:07 [INFO] totaltrack.core.commands.ringcentral_graduate:259     Getting Extensions, iteration: #1-#6
2023-09-06 15:52:08 [INFO] totaltrack.core.commands.ringcentral_graduate:262     Getting Phone Numbers, iteration: #1-#6
2023-09-06 15:52:08 [INFO] totaltrack.core.commands.ringcentral_graduate:265     Getting Call Log, iteration: #1-#6

Faking subscriptions...
2023-09-06 15:52:30 [INFO] totaltrack.core.telephony.ringcentral_recorder_new.<lambda>:126 WebSocket connection created
2023-09-06 15:52:30 [INFO] totaltrack.core.commands.add_subs:217 Creating new subscription #1
2023-09-06 15:52:31 [INFO] totaltrack.core.commands.add_subs:217 Creating new subscription #2
2023-09-06 15:52:31 [INFO] totaltrack.core.commands.add_subs:217 Creating new subscription #3
2023-09-06 15:52:31 [INFO] totaltrack.core.commands.add_subs:217 Creating new subscription #4
2023-09-06 15:52:31 [INFO] totaltrack.core.commands.add_subs:217 Creating new subscription #5
2023-09-06 15:52:31 [INFO] totaltrack.core.commands.add_subs:217 Creating new subscription #6

2023-09-06 15:52:32 [INFO] totaltrack.core.commands.remove_subs:226 Removing subscription: <ringcentral.websocket.web_socket_subscription.WebSocketSubscription object at 0x10a8fb450>
2023-09-06 15:52:32 [INFO] totaltrack.core.commands.remove_subs:226 Removing subscription: <ringcentral.websocket.web_socket_subscription.WebSocketSubscription object at 0x10a8fb510>
2023-09-06 15:52:32 [INFO] totaltrack.core.commands.remove_subs:226 Removing subscription: <ringcentral.websocket.web_socket_subscription.WebSocketSubscription object at 0x10a8fb310>
2023-09-06 15:52:32 [INFO] totaltrack.core.commands.remove_subs:226 Removing subscription: <ringcentral.websocket.web_socket_subscription.WebSocketSubscription object at 0x10a8fb150>
2023-09-06 15:52:32 [INFO] totaltrack.core.commands.remove_subs:226 Removing subscription: <ringcentral.websocket.web_socket_subscription.WebSocketSubscription object at 0x10a8fb550>
2023-09-06 15:52:32 [INFO] totaltrack.core.commands.remove_subs:226 Removing subscription: <ringcentral.websocket.web_socket_subscription.WebSocketSubscription object at 0x10a8fb390>

2023-09-06 15:52:33 [INFO] totaltrack.core.commands.ringcentral_graduate:273 Make at least 6 calls to: +19293998327, extension: 102 to graduate the app. Recordings: /var/folders/m6/4pn_p6311xjgpqw5v51wd_x00000gn/T/tmp24iaprv6
2023-09-06 15:52:33 [INFO] totaltrack.core.telephony.ringcentral_recorder_new.<lambda>:126 WebSocket connection created

 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us