Skip to main content
Question

FromNumber parameter is not detected


  • New Participant
  • 2 replies

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
Forum|alt.badge.img
  • Community Manager
  • 2310 replies
  • March 15, 2023

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


  • Author
  • New Participant
  • 2 replies
  • 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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings