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
Receiving events from PubNub without SDK
Tags: rest api
Jul 15, 2020 at 3:15pm   •   3 replies  •  0 likes
Owain Price

Hello,

I am developing in a sandboxed c# environment which will not allow me to use either the RingCentral or PubNub SDKs.

I am able to make calls from my softphone and have used the create subscription command successfully, it returns the sub_key, address, etc.

I am struggling with how to receive those events from PubNub. The documentation I have found on your site references using this command to subscribe for notifications: GET http://pubsub.pubnub.com/subscribe/{subscriberKey}/{address}/{callback}/{timetoken} . Although I had to due a lot of digging, my understanding is that request should open a sustained connection which will push the notifications to me.

That command is referenced on their site: https://www.pubnub.com/docs/pubnub-rest-api-documentation#publish-subscribe-subscribe-get

I have had no success with that subscribe request with my program, curl, or postman.

Documentation outside of the SDK's is very limited. Can you please help.


Thanks,

Owain Price



3 Answers
answered on Jul 17, 2020 at 8:53am  

Bump

@Phong Vu any other recommendations?

I need to be able to receive these notifications without using either sdk.


 0
answered on Jul 15, 2020 at 4:10pm  

I have already had a look at that code. Unfortunately you are utilizing the PubNub SDK which I cannot.

Your developer site does reference an alternative method which is described at the very bottom of this page:

https://developers.ringcentral.com/guide/notifications/manual/pubnub

It uses the PubNub REST API. Are you familiar with that? I cannot seem to make it work.


Thank you


 0
answered on Jul 15, 2020 at 4:00pm  

Can you look at the code how the RingCentral SDK implement PubNub notification and do the same?


 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