Skip to main content
Answer

Help with ringcentral-web-phone methods that are not documented

  • December 15, 2022
  • 1 reply
  • 335 views

Good afternoon, I need help with some methods I need and I can't find, there are 2 methods.

1) The first method would be for when you create a call (webPhone.userAgent.invite) and you are waiting for the sender to answer, let's say you want to cancel the invitation, I can't find this method anywhere.

2) The other would be to cancel the call when it is active, that is to say that you are already talking to the sender and vice versa, I want to hang up but I can't find the corresponding method.

I looked for the information in many places and even in the documentation at: https://github.com/ringcentral/ringcentral-web-phone

Best answer by Tyler850957020

I found it in demo application. https://github.com/ringcentral/ringcentral-web-phone/blob/master/demo/index.js#L527

Both of them should be "session.dispose();"

1 reply

  • Employee
  • Answer
  • December 15, 2022

I found it in demo application. https://github.com/ringcentral/ringcentral-web-phone/blob/master/demo/index.js#L527

Both of them should be "session.dispose();"