question

sean-s avatar image
sean-s asked ·

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    
topic-default
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.

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.
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.

sean-s avatar image
sean-s answered ·
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 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.

"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 · ·
0 Likes 0 · ·
--data '{"from":{"phoneNumber":"1(408) 681-8999"},"to":{"phoneNumber":"0018613964212705"},"playPrompt":true,"country":{"id":"86"}}'

it is not working  too.
0 Likes 0 · ·
sean-s avatar image
sean-s answered ·
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 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.

What is RingMe? Could you please send a link or screenshot?
0 Likes 0 · ·

this is unable to call  my phone   13964212705 ...
0 Likes 0 · ·
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


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.

sean-s avatar image
sean-s 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
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.

sean-s avatar image
sean-s answered ·
Can you call me  please?     Thanks very much
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.

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-s avatar image
sean-s answered ·

I didn't receive your call
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.

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

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-s avatar image
sean-s answered ·
But  I use API   it doesn't work.    like this
I donot know why?  please help me 
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.

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-s avatar image
sean-s answered ·
,,WebRingOut  ,
Mac RingCentral Phone  ,     ? , 
12 comments 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.

WebRingOut 

Mac RingCentral Phone app Windows Mac app


0 Likes 0 · ·


RingCentral desktop app

RingCentral desktop app




0 Likes 0 · ·
Web Web Ringout
0 Likes 0 · ·
, RingCentral desktop app , Ringout Ringout ,
0 Likes 0 · ·
Show more comments

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.