Hi, we're using the Voice API through the .Net SDK. We'd like to find out how to fetch the user's current set RingOut destination/telephone number. I mean the value that is configured in the RingCentral desktop client (Settings->Phone->Outgoing calls). Is it possible to get this value, please?
Page 1 / 1
Call this API and detect the "AdditionalSoftPhone" within the byFeature object to get the default caller id set by the RC app.
RestClient rc = new RestClient(RINGCENTRAL_CLIENTID, RINGCENTRAL_CLIENTSECRET, true);
await rc.Authorize(RINGCENTRAL_USERNAME, RINGCENTRAL_EXTENSION, RINGCENTRAL_PASSWORD);
var resp = await rc.Restapi().Account().Extension().CallerId().Get();
foreach (var feature in resp.byFeature)
{
Console.WriteLine("-----");
Console.WriteLine("Feature: " + JsonConvert.SerializeObject(feature));
}
This is the number that I'm hoping to get. I didn't see it in any of the "Features" that you mentioned above:
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.