Skip to main content
The First Step
March 15, 2023
Question

FromNumber parameter is not detected

I am working with the library ringcentral-web-phone
and I am trying to use the fromNumber parameter to initialize a call with a specific number, but it only dials with the company number.

const session = this.webPhone.userAgent.invite(this.numberValue, {
fromNumber: `${this.selectedNumber}`,
homeCountryId: "1", // Optional, the value of,
});


2 replies

PhongVu
Community Manager
Community Manager
March 15, 2023

Print out the value of that "fromNumber" to see what is the number. Where do you get that "selectedNumber" from?

tehrigThe First StepAuthor
The First Step
March 17, 2023

I'm using Vue.js so the command "this.selectedNumber" it's taking the value from the state, but yes the number is a company number and it waa asigned to my user (the one that was logged in RingCentral web phone app). The issue I'm having is that I'm not able to make call from any number in my company aside as the delfault one