Skip to main content

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



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


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


Bump

@Phong Vu any other recommendations?

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


Reply