Topics in RingCentral 1970-01-01T00:00:00Z 888 481 105 262 0 85 7692713 Can I subscript to other extension's SMS event? 2018-02-23T17:12:46Z 2018-02-23T16:11:06Z Arnold Mo arnold_mo I have an urgent question about subscript to SMS message-store event. If I am an administrator, can I subscript to other extension's SMS event so that I receive the SMS that&nbsp;<u>belongs to their number</u>?<br /><br /><br />I found the following two links about the present event, but I am just not sure about the SMS event and if it will work for the direct number of other extensions.&nbsp;<br /><a href="" rel="nofollow" target="_blank" title="Link:"></a><br /><a href="" rel="nofollow" target="_blank" title="Link:"></a><br /><br /><br />Can you please confirm? question 1 2 1 comment 7385582 Implementing the reauthentication flow 2018-02-23T12:38:23Z 2016-12-13T01:32:43Z Shauna Minning shauna_minning We are trying to implement the&nbsp;reauthentication&nbsp;flow.&nbsp;<br /><br /><br />I am attempting to use the Refresh Token Flow documented here - <a href="!%23RefRefreshTokenFlow" rel="nofollow" target="_blank" title="Link https//developerringcentralcom/api-docs/latest/indexhtml23RefRefreshTokenFlow">!#RefRefreshTokenFlow</a><br /><br />I am hitting the following endpoint to refresh my access token - POST /restapi/oauth/token HTTP/1.1<br /><br /><br />My headers are the following - <b>headers={"User-Agent"=&gt;"Faraday v0.9.2", "Content-Type"=&gt;"application/x-www-form-urlencoded", "Authorization"=&gt;"Basic {{API_KEYS_HIDDEN_FOR_SECURITY_CONCERNS}}", "Application"=&gt;"application/json"}</b><br /><br /><br />&nbsp;My body is the following -<b>body={:client_id=&gt;"{{CLIENT_ID_HIDDEN_FOR_SECURITY_CONCERNS}}", :client_secret=&gt;"{{CLIENT_SECRET_HIDDEN_FOR_SECURITY_CONCERNS}}", :grant_type=&gt;"refresh_token", :refresh_token=&gt;"{{REFRESH_TOKEN_HIDDEN_FOR_SECURITY_CONCERNS}}"}<br /></b>&nbsp;<br />However when I make a request I receive the following error - <br /><br />&nbsp;API Error: invalid_client: Invalid client: <b>{ "error" : "invalid_client", "errors" : [ { "errorCode" : "OAU-153", "message" : "Invalid client: ", "parameters" : [ { "parameterName" : "client_id", "parameterValue" : "" } ] } ], "error_description" : "Invalid client: "}</b><br /><br /><br />Can you please advise as to what the error code "OAU-153" means and what the issue might be? The client_id is not blank, and the headers appear to be correct per the documentation linked to above. problem rejected 6 3 1 comment 7551976 Exchange Code to Token Failed 2018-02-23T12:26:57Z 2017-07-09T14:06:35Z Tayyab Sajjad tayyab_sajjad This is my Code for getting token.<br />$code=$_REQUEST['code'];<br />$APPKEY="u8hj81KeQ9uQDyA1PBTTgw";<br />$req='<a href=";" rel="nofollow" target="_blank" title="Link https//platformdevtestringcentralcom/restapi/oauth/token">'</a>; <br />$post = array (<br />'grant_type' =&gt; 'authorization_code',<br />'code' =&gt; $code ,<br />'redirect_uri' =&gt; '<a href="http://localhost/token.php&#39;)" rel="nofollow" target="_blank" title="Link http//localhost/tokenphpclient_idu8hj81KeQ9uQDyA1PBTTgw">http://localhost/token.php')</a>;<br /><br />$ch = curl_init($req);<br /><br />curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);<br /><br />$apiKey = base64_encode($APPKEY);<br />curl_setopt($ch, CURLOPT_HTTPHEADER, array(<br />'Authorization: Basic ' . $apiKey,<br />'Accept: application/json',<br />'Content-Type: application/x-www-form-urlencoded'));<br /><br />curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post));<br />curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);<br /><br /><br />$response = curl_exec($ch);<br />curl_close($ch);<br />$r=json_decode($response, true);<br /><br /><br /><br /><br /><br />And the Response is&nbsp;<br /><pre><b>array</b> <i>(size=3)</i> 'error' =&gt; string 'invalid_client' <i>(length=14)</i> 'error_description' =&gt; string 'Invalid client: ' <i>(length=16)</i> 'errors' =&gt; <b>array</b> <i>(size=1)</i> 0 =&gt; <b>array</b> <i>(size=3)</i> 'errorCode' =&gt; string 'OAU-153' <i>(length=7)</i>&nbsp;</pre>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'message' =&gt; string 'Invalid client: ' <i>(length=16)</i><br /><br /><br /><br />I am using the same Client ID for getting authorized Code.<br />Please Help me what is Wrong. problem 12 3 1 comment 7544584 RingCentral Integration for Daylite 2018-02-22T19:59:23Z 2017-06-26T16:03:32Z Taye taye_bennett Integration for Daylite CRM &amp; project management.&nbsp; idea 2 3 1 comment 7692063 Is it possible to deflect a call through the API? 2018-02-22T15:22:11Z 2018-02-22T15:22:11Z Dan Goodson dan_goodson Using ringcentral-js SDK. Is it possible to deflect a call to another extension? question 0 1 1 create 7691919 Access Expired using Sdk 2018-02-22T10:23:06Z 2018-02-22T10:23:06Z Etam Singh etam_singh Dictionary&lt;string, string&gt; obj = new Dictionary&lt;string, string&gt;();&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;obj.Add("refresh_token", CurrentUser.RCRefreshToken);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;obj.Add("grant_type", "refresh_token");&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var request = new Request("/restapi/oauth/token/", obj);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;var responseToken = sdk.Platform.Post(request); question 0 1 1 create 7691496 Not receiving SMS message recently 2018-02-21T18:56:06Z 2018-02-21T18:56:06Z Scott Malinoski scott_malinoski Good afternoon,<br />We have integrated with the sandbox environment and receiving text messages no problem for the past few months.&nbsp; Since this morning, we have not been able to send a message, even directly through the Swagger test.&nbsp; Not sure what could be affecting this but any assistance would be appreciated:<br /><br />{<br />&nbsp; "uri": "<a href=";" rel="nofollow" target="_blank" title="Link https//platformdevtestringcentralcom/restapi/v10/account/xxx/extension/xxx/message-store/4056154004"></a>;,<br />&nbsp; "id": 4056154004,<br />&nbsp; "to": [<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; "phoneNumber": "+xxx"<br />&nbsp; &nbsp; }<br />&nbsp; ],<br />&nbsp; "from": {<br />&nbsp; &nbsp; "phoneNumber": "+xxx"<br />&nbsp; },<br />&nbsp; "type": "SMS",<br />&nbsp; "creationTime": "2018-02-21T18:47:36.000Z",<br />&nbsp; "readStatus": "Read",<br />&nbsp; "priority": "Normal",<br />&nbsp; "attachments": [<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; "id": 4056154004,<br />&nbsp; &nbsp; &nbsp; "uri": "<a href=";" rel="nofollow" target="_blank" title="Link https//platformdevtestringcentralcom/restapi/v10/account/xxx/extension/xxx/message-store/4056154004/content/4056154004"></a>;,<br />&nbsp; &nbsp; &nbsp; "type": "Text",<br />&nbsp; &nbsp; &nbsp; "contentType": "text/plain"<br />&nbsp; &nbsp; }<br />&nbsp; ],<br />&nbsp; "direction": "Outbound",<br />&nbsp; "availability": "Alive",<br />&nbsp; "subject": "Test SMS using a RingCentral Developer account - test",<br />&nbsp; "messageStatus": "Queued",<br />&nbsp; "smsSendingAttemptsCount": 1,<br />&nbsp; "conversationId": 4905502763407868000,<br />&nbsp; "conversation": {<br />&nbsp; &nbsp; "id": "4905502763407867532",<br />&nbsp; &nbsp; "uri": "<a href=";" rel="nofollow" target="_blank" title="Link https//platformdevtestringcentralcom/restapi/v10/conversation/4905502763407867532">"</a>;<br />&nbsp; },<br />&nbsp; "lastModifiedTime": "2018-02-21T18:47:37.189Z"<br />} problem 0 1 1 create 7687092 Test "Add to Glip" button via external URL? 2018-02-21T18:55:55Z 2018-02-14T15:34:24Z IA ia_7374gkv6zd3gt Is there any way to have "Add to Glip" button on external website in sandbox for testing without publishing the app. I do not want to publish my test/dev/staging app just for testing the button. question 5 2 1 comment 7684462 RingOut problem 2018-02-21T18:27:36Z 2018-02-09T21:53:47Z Bill Love bill_love_18katakc2pvdr We developed all features with RingOut API in sandbox for our web application. Yesterday it worked perfectly.Today strange things happened. When made call, somehow the "to" phone became first leg and "from" phone the second leg. The response after RingOut request was as something like&nbsp;<br /><pre>{<br /> "id": "Y3MxNjk2MTIzOTgyNDMyMTUyMDlAMTAuMjguMjAuMTEw",<br /> "uri": "https:&#47;&#47;platform&#46;devtest&#46;ringcentral&#46;com/restapi/v1&#46;0/account/~/extension/~/ringout/Y3MxNjk2MTIzOTgyNDMyMTUyMDlAMTAuMjguMjAuMTEw",<br /> "status": {<br /> "callStatus": "Invalid",<br /> "callerStatus": "Invalid",<br /> "calleeStatus": "Invalid"<br /> }<br />}Can someone let me know what went wrong?</pre> problem 11 6 2 comment 7691358 Azure AD SSO 2018-02-21T15:01:32Z 2018-02-21T15:01:32Z Alex alex_7225481 I am aware that RingCentral already has means of integrating SSO, is there currently any movement towards adding SAML 2.0 SSO to the RingCentral Azure AD application? question 0 1 1 create 7690892 ringout.asp behaving differently starting around 13th of February 2018-02-20T22:56:17Z 2018-02-20T19:46:21Z Brian Kleinfall brian_kleinfall_9yl357yuvddp9 doing an http post to the ringout.asp page used to ring the extension of the caller (internal) they would pick up and then the system would ring the callee (external).&nbsp; Starting last Monday the 13th, it now calls the callee then rings the caller.&nbsp; Doing the process backward and the callee sits on the phone in silence while the system rings the internal caller.&nbsp; Makes no sense.&nbsp; Anyone else experiencing this?&nbsp; Have you found a work around?&nbsp; RingCentral knows about this issue - but I need a fix ASAP - our outbound call productivity is way down since this change happened. problem 1 2 1 comment 7629103 Cannot Fetch Access Token 2018-02-20T14:59:08Z 2017-11-10T16:58:57Z Jordan Seanor jordan_seanor I have tried requesting the access token via both the Postman library found here:&nbsp;<a href="" rel="nofollow" target="_blank" title="Link https//devcommunityringcentralcom/ringcentraldev/topics/postman-collection"></a><br />as well as via a CURL request. In each case I get a different error but still cannot generate an access token.&nbsp;<br /><br />I am using my Client ID and Client Secret found under the credentials area (Are these right?).&nbsp;<br /><br />Any who,&nbsp;<br /><br />CURL Request:<br /><br /><pre>curl -X POST "<a href=";" rel="nofollow" title="Link:;">https:&#47;&#47;platform&#46;devtest&#46;ringcentral&#46;com/restapi/oauth/token"</a>; \<br />-H "Accept: application/json" \<br />-H "Content-Type: application/x-www-form-urlencoded" \<br />-u "ClientKey:ClientSecret" \<br />-d "username=PhoneNumber&amp;password=Password&amp;extension=101&amp;grant_type=password"</pre><pre></pre>The error with the CURL request is I receive an error: Unsupported Grant Type - OAU-250<br />What is wrong with this call? <br /><br />Via Postman I keep getting the error that the client invalid.&nbsp;<br /><br />Any help is appreciated.&nbsp; question 7 3 1 comment 7688310 Authorization Code Flow.Geting Error (401) Unauthorized. 2018-02-20T06:56:23Z 2018-02-16T10:57:18Z Etam Singh etam_singh This is my code.I made a public sandbox account.Geting an error 401 unauthorized.<br /><br />&nbsp; var httpWebRequest = (HttpWebRequest)WebRequest.Create("<a href=";)" rel="nofollow" target="_blank" title="Link https//platformdevtestringcentralcom/restapi/oauth/authorize">")</a>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; httpWebRequest.Method = "GET";<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; httpWebRequest.Headers.Add("client_id", "DShb1**********2DlM5xoA");<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; httpWebRequest.Headers.Add("redirect_uri", "<a href="http://localhost:505471/&quot;)" rel="nofollow" target="_blank" title="Link http//localhost50391/">http://localhost:505471/")</a>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; httpWebRequest.Headers.Add("response_type", "code");<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; httpWebRequest.Headers.Add("state", "Client state");<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; httpWebRequest.Headers.Add("prompt", "login");<br /><br /><br />var httpresponse = httpWebRequest.GetResponse(); problem 2 2 1 comment 7620707 How to make a call with Sandbox 2018-02-19T23:03:50Z 2017-10-27T22:29:17Z Stephanie sunny_paris I have a Sandbox account configured.<br />I am trying to make an outbound call to see if my webhooks are working properly but cannot make one.<br />I tried with the Softphone. I switch the softphone to Sandbox, can connect but I cannot make any outbound call and I read on the community that it is not working on MAC. I don't know if it is still the case.<br />Then from the Sandbox account, from the Call log page, I tried to click on my phone number. The RingOut popup is always asking me for a Custom phone number otherwise I cannot make any call. I tried to make my phone number or any phone number and the calls are not working.<br />So can someone point me out how to make a call from the Sandbox? I am fine if there are some specific number I can call. I just want to make a call, receive it and read the recording associated.<br />Thanks for your help.<br />Stephanie question complete 8 4 1 comment 7677042 SMS API for sending text to customers and get reply against SMS 2018-02-17T00:20:29Z 2018-01-29T12:22:24Z Test RE2QA test_re2qa we have created an application which sends SMS to customer through Rest API (curl) hit.<br />SMS is Sending Successfully, but the issue is, when any customer reply against any (or specific) Message.<br />we are not identify the reply of Message.<br /><br />can we use any event or webhooks? for reply of message, which we have sent to customers and we want to store that reply against<br />specific message. how we can do this in PHP.<br /><br />if any body have done such type of work, pleas share your response on it. we don't want to use Message store method or with message Id.<br /><br /><br />Thanks question 11 4 1 comment