My RingCentral phone account has both an extension and a direct phone number.
I use the RingCentral app.
I do not have a hard phone.
I am using RingCentral SDK for PHP.
Issue:
When I set the "from" phoneNumber to my direct phone number, I get
Status: {"callStatus":"Error","callerStatus":"GenericError","calleeStatus":"InProgress"} Done.
If I install and have the RC Phone Desktop App open, it will succeed.
If I close the RC Phone Desktop App, I either get the GenericError again OR
Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"Invalid","callerStatus":"Invalid","calleeStatus":"InProgress"} Done.
NOTE: the RingCentral App has been open the entire time. The error or success appears to be tied directly to the RC Phone App
Confusing [to me anyway] Solution:
If I set the from phoneNumber to the main phone number & my extension (EX: +15555555555x123), it will succeed.
Is this expected behavior? Should I be using the main phone number & my extension for the from phone numbers instead of direct lines?
I don't want the RC Phone Desktop App to be installed.
Problem 2 (can only test with the RC Phone Desktop App due to the direct line issue above):
RingOut doesn't know about statuses if I dial the main line & extension.
If I install and keep the RC Phone App open, set the from phone number to my direct phone number, and change the RC Phone App Statuses, I will get:
Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"CannotReach","callerStatus":"Busy","calleeStatus":"InProgress"} Done.
when set to "Busy" and I ignore the call
Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"CannotReach","callerStatus":"Busy","calleeStatus":"InProgress"} Done.
when set to "Do not disturb"
The trouble is that if I set the status to "Do not disturb" in the RC Phone App and dial the main phone number & my extension, (I also tried setting the RingCentral App to "Do not disturb" at the same time - didn't help) It goes to voicemail instead of returning a "CannotReach" status.
Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"InProgress","callerStatus":"InProgress","calleeStatus":"InProgress"} Status: {"callStatus":"Success","callerStatus":"Finished","calleeStatus":"InProgress"} Done.