Question

FromNumber parameter is not detected

  • 15 March 2023
  • 2 replies
  • 178 views

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

Userlevel 1

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

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

Reply