Skip to main content

Suppose the user calls to a directory number, i.e., the one that prompts the user to press more keys to continue. The question is how we can do that with RingCentral Web Phone API.

Our current WebRTC implementation (Web Phone) for voice, has been developed for outbound calling use cases.

If you mean you wish to send directory number services (such as information directory number, 411) the key signals (DTMF tones), the agent/operator of the call can use the dial pad interface of your implementation to send these tones.

Is this the use case you are describing?
I'm sorry. As I am not a field expert, I'm not sure whether any technical terms would mean what I want to say. So, let me get started with an example.

Suppose I call 1-234-567-8901 via web phone. Once the call is connected, I was prompted to press 123 to continue. (I may be prompted to press more keys to continue during the course of call duration.)

Here are the questions.
  1. How can we use the web phone API to allow the user to press 123 to continue in this case?
  2. If we can do that, could you please tell us how to do that?

For outbound calls, this can be done by providing a dialpad UI to your agent for use.

As stated before, WebPhone is not in a state currently to support inbound calling (since the end-user is unable to authenticate and obtain a registration).
Hi Benjamin,

Is it possible to use DTMF tones via the web phone? If so, where can I find an example of this?

Thanks
Hi Benjamin,

I found the documentation now. Thank you for your help. :D

For the record,
http://sipjs.com/guides/send-dtmf/
https://github.com/ringcentral/ringcentral-web-phone#dtmf
Good job locating the docs. While you were finding those docs, I created this DTMF dialpad demo branch (of my slightly outdated fork of Vyshakh Babji's 3-Legged OAuth version of WebPhone) here: https://github.com/bdeanindy/ringcentral-web-phone/tree/dialpadWithDTMF

It is simple in its construction, and it just outputs the DTMF event to the browser's console, but should suffice as an example for you to use.

Reply