Open zxdong262 opened 3 years ago
Hi, @zxdong262.
Happy to take a closer look. I have two clarifying questions:
@IsaacTakushi Thank you for the reply.
Calling SDK could NOT init
, in my code there is something like this:
init = () => {
this.cti = new CallingExtensions({
debugMode: false,
eventHandlers: {
onReady: () => {
console.debug('CallingExtensions ready')
, that is why I think the SDK not init properly, I can not see the log info.
Thank you for sharing this information, @zxdong262. I'll take a closer look and attempt to replicate in the new UI.
As I understand it, you are also not seeing any errors in the Network tab or Console?
Hey, @zxdong262.
I confirmed that in the v2 calling widget, users must click Open call options and select RingCentral as the Calling Provider if the last call was not made using RingCentral.
This screen capture shows what I am seeing in my own account:
Can you confirm whether you are seeing the calling extension initiate after taking these steps?
If you are not seeing the Calling Provider dropdown populate in the widget, try updating your localStorage
with this new path:
localStorage.setItem(
"LocalSettings:Calling:CallingExtensions",
'{"name": "RingCentral", "url": "https://XXXXXXX.execute-api.us-east-1.amazonaws.com/prod/app"}'
)
@IsaacTakushi
I do not have a UI like this in my test account.
Do you mean user select RingCentral once, then the calling SDK will init properly and show the log 'CallingExtensions ready', can you confirm that you can see the log 'CallingExtensions ready' in console?
Hey, @zxdong262.
Apologies, I forgot to mention how to get this UI in your test account:
To opt into the beta:
See the screenshot below:
To opt out of the beta:
See the screenshot below:
If you are not seeing the beta button in the lower-left corner, please let me know.
I don't see the exact message CallingExtensions ready
in my console but I was able to make a successful call to my own phone number via the new calling widget. Here are some of the messages which appeared in my console:
@IsaacTakushi I think I know it now, when switch to beta UI, calling info provide subjectId
instead of objectId
in common UI
For most user, the call provider they see is like this:
But for some user they see this, in this situation, calling sdk could not init, so can not get calling info for the iframe