question

Don Kitchen avatar image
Don Kitchen asked Ram Sher answered

Embedded widget dropps call on page reload

I'm trying to find out why the embedded widget drops a call when the page reloads. We have the code to load the widget via JavaScript in the footer. So, when the user is navigating on the site, that footer will reload with each page request. Why is that dropping the call that was active on the widget prior to the refresh?

sdk
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Don Kitchen avatar image
Don Kitchen answered

I'm wondering if it has to do with this?


It was browser before when it seemed to drop the call. Should this be something else?


1582564935345.png (8.5 KiB)
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered

I think that it is the limitation of the embeddable. When you reload the page, the JavaScript will be reloaded and the embeddable is launched again. The embeddable instance was killed when the page was unload.

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Ram Sher avatar image
Ram Sher answered Ram Sher edited

@Don Kitchen, were you able to solve the issue ?


@Phong Vu any suggestion on how this can be achieved ?


1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Embbnux Ji avatar image
Embbnux Ji answered

hi @Ram Sher, @Don Kitchen, In calling mode 'Browser', calls are on Browser web page based on JS. So when reloaded web page, it will clean all JS instances including calls. In calling mode RingCentral for Desktop, calls are on RingCentral Phone desktop app, so calls will be ongoing when you refresh web page.

To keep calls on Browser mode, we can make the widget as a standalone popup page.

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Ram Sher avatar image
Ram Sher answered

@Embbnux Ji Thansk for the response. Now able to create widget as popup page.

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys