question

Ashish R avatar image
Ashish R asked Ashish R edited

For Password Flow APP , unable to make OutboundCalls

I created an "Other Non-UI" APP ( since it was providing Password Flow ) implemented in Angular Project ( using "@ringcentral/sdk" & "ringcentral-web-phone" npm ) , and using it's client_id and client_secret along with the login credentials ( username and password ) , I called the Auth Token API ( https://platform.devtest.ringcentral.com/restapi/oauth/token ). So I got the token as well as the extension info , then the SDK made the SIP Provisions API call ( https://platform.devtest.ringcentral.com/restapi/v1.0/client-info/sip-provision ) in which the flags response is like this -


which shows that "outboundCallsEnabled" is false......

So I am unable to make the voice call.

P.S - When I tried with WebBrowser ( Auth Flow ) APP ( client_id and client_secret ) , the above mentioned "outboundCallsEnabled" is true and I am able to make calls

phoneringout
capture.png (41.9 KiB)
1 |3000

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

1 Answer

Phong Vu avatar image
Phong Vu answered Ashish R edited

Do both apps have the same permissions? What is your app client id?

1 comment
1 |3000

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

Ashish R avatar image Ashish R commented ·

@Phong Vu
Client ID for -
Password Flow app - I8z25jRWTNCoujIx1QPIsA ( outboundCallEnabled - false )
Auth Flow (3Legged)- KIKWZxCvRkqGYuoxjewbQw ( outboundCallEnabled - true )

0 Likes 0 ·

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