I am using ring central API to make a call. I want to change from phone number while calling using API. I am passing fromPhoneNumber in array, But it still showing default CallerID CNAM to recipient.
$rcsdk = new RingCentral\SDK\SDK($credentials['clientId'], $credentials['clientSecret'], $credentials['server']);
$platform = $rcsdk->platform();
$platform->login($credentials['username'], $credentials['extension'], $credentials['password']);
$resp = $platform->post("/account/~/extension/~/ring-out",
'from' => array('phoneNumber' => '+1xxxxxxxxxx'),
'to' => array('phoneNumber' => $RECIPIENT),
'playPrompt' => false
Is there a way so I can alter this code and display a different number for a caller?
Thanks in advance