i am new in ringcentral . any one help me integrate ringcentral with my crm for click to call process my crm is develop in php , i have already setup php sdk , but how can integrate crm with ring for click to call
crm integration with php sdk
First, allow me to welcome you to the RingCentral Developer Community!
We have useful resources available to explain and demonstrate with code how to use Click to Call using either the URI Scheme or RingOut functionality:
- The PHP SDK contains a "demo" directory which provides sample code for many frequently used actions with RingCentral. If you want to create a click to call using the RingOut portion of the PHP SDK, you can find example code here: https://github.com/ringcentral/ringcentral-php/blob/master/demo/ringout.php
- This Developer Tutorial shows how to do this using the URI scheme: http://ringcentral.github.io/tutorial/?http#making-calls-uri-scheme
- This Developer Tutorial shows how to do this using the RingOut functionality: http://ringcentral.github.io/tutorial/?http#making-calls-ringout
- Grokify created a CTI integration demo app which you can use as a playground: http://grokify.github.io/cti-demo/index.html
The first thing you'll need to do is to create an interface within your CRM to permit a RingCentral user the ability to authenticate (you'll want to use the 3-Legged OAuth). Once the operator has authenticated (via your CRM) into their RingCentral account, your application will have obtained a valid access token which can be used to execute calls (such as RingOut) from within your CRM application to the RingCentral API of your choosing.
Does this answer your question?
Thanks,
Benjamin
Hi Benjamin , I have the question Its running for localhost with sandbox api?
I got error like this Exception: Unauthorized for this grant type SDK HTTP Error at https://platform.devtest.ringcentral.com/restapi/oauth/token Response text: { "error" : "unauthorized_client", "errors" : [ { "errorCode" : "OAU-251", "message" : "Unauthorized for this grant type" } ], "error_description" : "Unauthorized for this grant type" } Previous: Response has unsuccessful status #0 C:xampp3htdocs
ingcentralvendor
ingcentral
ingcentral-phpsrcPlatformPlatform.php(310): RingCentralSDKHttpClient->send(Object(GuzzleHttpPsr7Request)) #1 C:xampp3htdocs
ingcentralvendor
ingcentral
ingcentral-phpsrcPlatformPlatform.php(434): RingCentralSDKPlatformPlatform->sendRequest(Object(GuzzleHttpPsr7Request), Array) #2 C:xampp3htdocs
ingcentralvendor
ingcentral
ingcentral-phpsrcPlatformPlatform.php(212): RingCentralSDKPlatformPlatform->requestToken('/restapi/oauth/...', Array) #3 C:xampp3htdocs
ingcentraldemoindex.php(18): RingCentralSDKPlatformPlatform->login(Array, '101', 'GodlovesUs143') #4 {main}
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.