question

sean-s12302 avatar image
sean-s12302 asked sean-s12302 commented

ringout chinese phone is not working

I am in china so I want to use the API to implement the function like RingMe


curl --request POST \    --url 'https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/ringout' \    --header 'accept: application/json' \    --header 'authorization: Bearer U0pDMTFQMDFQQVMwMHxBQUFmMF90YXV6TFB5czAtbkhNNXJtNUt5LUpldmRyODJaMXBCWHctZE9HNC1mQUNVbXZfM2dxbXBfYkZSQVRWYWMxNF9QWWRPMEVYNEV2UTBjM2U1NkM0bG00bV8tVEhZVDNIczcycTVONm13NnpEY1prenJmalhMMHY5ZkV3S01HeFZVZDJsdE56bHpxUWdXeXlfV0dHaHZzT0dCZ3MwSVFZaEpCMDRVeHpBY3V4dDczdWotaTYxdFBzWGFlMUhhTUZwWWlvSjRrRDBSUFBUdHdFRzVRSW18T3FTSzFRfHhPcFMyTlRMOERuc0t4QzExdkFjRVF8QUE' \    --header 'content-type: application/json' \ 

--data '{"from":{"phoneNumber":"8613964212705"},"to":{"phoneNumber":"(800) 2327145"},"playPrompt":false,"country":{"id":"86"}}'


but my phone is not calling my phone number is 13964212705

developer sandbox
1 |3000

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

Tyler Liu avatar image
Tyler Liu answered
Two things for you to try:

1. Format your Chinese number as 0118613964212705 

2. switch from and to

Let me know how it goes.
1 |3000

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

sean-s12302 avatar image
sean-s12302 answered sean-s12302 commented
it is not working    I get RingOut call status  :"id":1425053324363432


"status":{
"callStatus":"Success"
"callerStatus":"Finished"
"calleeStatus":"NotEnoughFunds"



Make RingOut Call   like this 
--data '{"from":{"phoneNumber":"0118613964212705 "},"to":{"phoneNumber":"1(408) 681-8999"},"playPrompt":true}'
3 comments
1 |3000

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

Tyler Liu avatar image Tyler Liu ♦ commented ·
"calleeStatus":"NotEnoughFunds"    Is the callee lack of funds?

Check both the from and to number, they should both be able to make and receive calls.
0 Likes 0 ·
sean-s12302 avatar image sean-s12302 commented ·
0 Likes 0 ·
sean-s12302 avatar image sean-s12302 commented ·
--data '{"from":{"phoneNumber":"1(408) 681-8999"},"to":{"phoneNumber":"0018613964212705"},"playPrompt":true,"country":{"id":"86"}}'

it is not working  too.
0 Likes 0 ·
sean-s12302 avatar image
sean-s12302 answered Tyler Liu commented
if  i use USA phone Number  it is working , but  Chinese Number  is not working    I do not know Why?      and   if  i use RingMe , Chinese Number  is working
4 comments
1 |3000

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

Tyler Liu avatar image Tyler Liu ♦ commented ·
What is RingMe? Could you please send a link or screenshot?
0 Likes 0 ·
sean-s12302 avatar image sean-s12302 commented ·

this is unable to call  my phone   13964212705 ...
0 Likes 0 ·
Tyler Liu avatar image Tyler Liu ♦ commented ·
I was going to ask you to try it. Download RingCentral desktop app and call your number from the app.  (Better to call both from and to mentioned above)

If the app call not all your number, then it is not the RingOut API's issue, it is RingCentral service's issue.

Could you please test and get back to me?
0 Likes 0 ·
Tyler Liu avatar image
Tyler Liu answered
I just tested calling your number from RingCentral App.   0118613964212705 

It said: ,,0

Then I tried 01186013964212705 and it worked

So the correct number format is 011860 + your mobile phone number


1 |3000

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

sean-s12302 avatar image
sean-s12302 answered
curl --request POST \    --url 'https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/ringout' \    --header 'accept: application/json' \    --header 'authorization: Bearer U0pDMTFQMDFQQVMwMHxBQUFmMF90YXV6TFB5czAtbkhNNXJtNUt5LUpldmRyODJaMXBCWHctZE9HNC1mQUNVbXZfM2dxbXBfYkZSQVRWYWMxNF9QWWRPMEVYNEV2UTBjM2U1NkM0OVc3MTdBTDAyZExIczcycTVONm13X0RDUHl1ajAtaWdNc2tJMnJELVVFbnJwbDRJcEd5YlNjb0lKRFhwTUI4dTllcXlNVkpfY2E0aEpCMDRVeHpBY29CanJlNi1BNmMtdFBzWGFlMUhhTUVfWEtXLXZ2VHpwZmhvVUxnNDdwcGZ8T3FTSzFRfG9ZaFdpZjZzVEhiRU5TSzNIZnduSmd8QUE' \    --header 'content-type: application/json' \ 
--data '{"from":{"phoneNumber":"1(408) 681-8999"},"to":{"phoneNumber":"01186013964212705"},"playPrompt":true}'  

API RingCentral phone
1 |3000

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

sean-s12302 avatar image
sean-s12302 answered Tyler Liu commented
Can you call me  please?     Thanks very much
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.

Tyler Liu avatar image Tyler Liu ♦ commented ·
I ringed your phone for quite a while but nobody picked up the phone.

Did your phone get my call? I called to  01186013964212705 

If the answer is no, there is no need to continue to test RingOut via API. Because even the official RingCentral App doesn't work.

Please get back to me when you have a second.
0 Likes 0 ·
sean-s12302 avatar image
sean-s12302 answered

I didn't receive your call
1 |3000

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

sean-s12302 avatar image
sean-s12302 answered Tyler Liu commented
I use the official RingCentral App  like this, 
my phone work
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.

Tyler Liu avatar image Tyler Liu ♦ commented ·
Like what?

But I tested your number with official RingCentral APP, and you said didn't received the call. If so, RingCentral cannot reach your phone at all. It's not API's issue.
0 Likes 0 ·
sean-s12302 avatar image
sean-s12302 answered Tyler Liu commented
But  I use API   it doesn't work.    like this
I donot know why?  please help me 
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.

Tyler Liu avatar image Tyler Liu ♦ commented ·
I'd like to help. You can elaborate. I am confused. Does RingCentral App work? Can you call your mobile phone with RingCentral App?

You can describe the issue in Chinese.
0 Likes 0 ·
sean-s12302 avatar image
sean-s12302 answered sean-s12302 commented
,,WebRingOut  ,
Mac RingCentral Phone  ,     ? , 
12 comments
1 |3000

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

Tyler Liu avatar image Tyler Liu ♦ commented ·
WebRingOut 

Mac RingCentral Phone app Windows Mac app


0 Likes 0 ·
Tyler Liu avatar image Tyler Liu ♦ commented ·
0 Likes 0 ·
Tyler Liu avatar image Tyler Liu ♦ commented ·


RingCentral desktop app

RingCentral desktop app




0 Likes 0 ·
Tyler Liu avatar image Tyler Liu ♦ commented ·
Web Web Ringout
0 Likes 0 ·
Tyler Liu avatar image Tyler Liu ♦ commented ·
, RingCentral desktop app , Ringout Ringout ,
0 Likes 0 ·
Show more comments

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