ringout chinese phone is not working
Tags: developer sandbox
Oct 18, 2018 at 1:51am • 10 replies • 0 likes
sean-s
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
10 Answers
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
0
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}'
"status":{
"callStatus":"Success"
"callerStatus":"Finished"
"calleeStatus":"NotEnoughFunds"
}
Make RingOut Call like this
--data '{"from":{"phoneNumber":"0118613964212705 "},"to":{"phoneNumber":"1(408) 681-8999"},"playPrompt":true}'
0
A new Community is coming to RingCentral!
Posts are currently read-only as we transition into our new platform.We thank you for your patience
during this downtime.
Try Workflow Builder
Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!Try RingCentral Workflow Builder