News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
How to use Ring out with my phone number
Tags: rest api
Jan 25, 2021 at 9:51am   •   2 replies  •  0 likes
Carl Miller


RingOut occurs errors.

I used my number instead of the main company number,

error says

" status: {callStatus: "Error", callerStatus: "GenericError", calleeStatus: "InProgress"} "

How can I call with my number?


IF I used company number when callee picked up it then rang company's line.

In other words when the recipient answers it then calls back into the user.

2 Answers
answered on Jan 25, 2021 at 11:56am  

1. => Try to use the Main company number with your extension number. E.g. +12092345678*102

I tried calling using the Main company number with my extension number(102), but the same. (when callee picks up it, then rang super admin's line(101).

2. Can you make a direct call to this number. E.g. from your cell phone?

Everything it's ok,

The Main company number rings the sales group.

The My RingCentral number rings my line directly.


If I use the super admin's number, rang back.

Why can't call normally?


 0
answered on Jan 25, 2021 at 11:43am  

How do you call the ring-out API? Always post a few line of codes would help people understand what and how you try. don't need to reveal sensitive info and dash out the last 4 digits of any real phone number.


 0
on Jan 25, 2021 at 4:00pm   •  0 likes

$resp = $platform->post('/account/~/extension/~/ring-out',

array(

'from' => array('phoneNumber' => $COMPANY_NUMBER), // OR MY NUMBER

'to' => array('phoneNumber' => $RECIPIENT_NUMBER),

'playPrompt' => false,

));


$json = $resp->json();

$lastStatus = $json->status->callStatus;


$index = 0;

while ($lastStatus == 'InProgress') {

$current = $platform->get($json->uri);

$currentJson = $current->json();

$lastStatus = $currentJson->status->callStatus;

sleep(1);

$index++;

if($index>28)

return response()->json(["status"=>$currentJson->status,'index'=>$index]);

}

return response()->json(["status"=>$currentJson->status,'ringout_id'=>$json->id]);

on Jan 25, 2021 at 5:55pm   •  0 likes

So the $COMPANY_NUMBER is the main company number and the "OR MY NUMBER" is your mobile number?

Can you make direct call to the $COMPANY_NUMBER and does that phone ring?

on Jan 25, 2021 at 6:14pm   •  0 likes

$COMPANY_NUMBER is the main company number

$MY NUMBER" is My RingCentral number(user name)

If I call with main company number when callee picked up it then rang super admin's phone.(extension 101)

If I call with my username of RingCentral(number), GenericError is occurring


on Jan 25, 2021 at 6:49pm   •  0 likes

1. If I call with main company number when callee picked up it then rang super admin's phone.(extension 101)

=> Try to use the Main company number with your extension number. E.g. +12092345678*102

2. If I call with my username of RingCentral(number), GenericError is occurring

=> Can you make a direct call to this number. E.g. from your cell phone?

on Jan 25, 2021 at 3:59pm   •  0 likes

Please help me



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

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us