question

Ashish R avatar image
Ashish R asked ·

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

ringoutcallpassword flowsipoutbound
capture.png (41.9 KiB)
1 |1000 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.

1 Answer

· Write an Answer
Phong Vu avatar image
Phong Vu answered ·

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

1 comment Share
1 |1000 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
Client ID for -
Password Flow app - I8z25jRWTNCoujIx1QPIsA ( outboundCallEnabled - false )
Auth Flow (3Legged)- KIKWZxCvRkqGYuoxjewbQw ( outboundCallEnabled - true )

0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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