AWS Hosted System and Fanvil SBC Provisioning

Status
Not open for further replies.

metaldave

Customer
Joined
Dec 29, 2021
Messages
10
Reaction score
0
Hi, Community.

I'm using an AWS-hosted 3CX system which has been working great with the soft phones / apps. Now we're trying to put dedicated VoIP phones in place. I'm having nothing but challenges trying to provision a Fanvil V2 IP Phone (much less set it up as an SBC). I want to document the issues as I see them, get some feedback on my scenario, and confirmation if I’ve discovered a bug or missed a configuration step.

I've been over the various documents regarding the provisioning IP phones:
I have purchased a Fanvil X5U-V2 along with an X5U and an X3U (both Rev A / v1 units). The intention is to use the Fanvil X5U-V2 unit as the SBC for our office connecting to the AWS-hosted 3CX server.

My understanding of this scenario:
  • While it is technically hosted in the cloud, the AWS installation is considered a "Self-Hosted" installation.
  • Our office is considered a Remote Site in relation to the Self-Hosted installation on AWS.
  • As a Remote Site, we need to have a Session Border Controller (SBC) to appropriately provision the SIP sessions.
  • Configuring an IP Phone is done in the 3CX Management Console via the Users tab within the respective User's profile therein.
Please correct me if I”m wrong on any of these statements. WIth this information in-hand, I am attempting to provision the X5U-V2 to be our primary extension and SBC for the site.

In the 3CX Management Console, I have configured a new user and specified an extension number. Under that User’s Phone Provisioning tab, I've added the phone by entering the Make / Model (Fanvil X5U-V2) along with its MAC address.

Screenshot 2023-09-13 at 6.24.19 AM.png

When you complete this, the Phone Provisioning section completes and provides a link “For info on how to provision this phone.”

Screenshot 2023-09-13 at 6.25.13 AM.png

For the X5U-V2, the link takes you to the How to Configure Fanvil X and XU Series article. In that article, Step 3 attempts to detail how to setup the IP Phone section of the Phone Provisioning tab in the User’s profile.

Screenshot 2023-09-13 at 7.04.48 AM.png

In this scenario, we would follow the “3CX is on premise” steps (because the “3CX is in the cloud” steps would not pertain to our self-hosted instance on AWS). Unfortunately, these steps create a fork in the road we cannot get past.

While these instructions are a little dated compared to the current version of the 3CX Management Console, you can interpret that the current “Provisioning Method” field is where you would “Select where your phone will be located” (per Step 1). The provided options in the field relate to the documentation as follows:
  • The “Local LAN (in the office)” option is the same as “b. In the office (Local)” in the documentation
  • The “3CX SBC (remote)” option is the same as “a. Outside the office (Remote)” in the documentation
Depending upon the selection, different fields are revealed to specify the configuration for phone provisioning.

NOTE TO 3CX PERSONNEL: It would be very helpful if this Documentation was updated to match the actual selection options in the Provisioning Method field.

In our AWS self-hosted scenario, we SHOULD be selecting the “3CX SBC (remote)” option for Provisioning Method. At least, this is what the Documentation would seem to imply. Using this Provisioning Method, we see the following:

Screenshot 2023-09-13 at 6.55.18 AM.png

The MAC Address of the phone will already be filled-in from the earlier dialog in the Phone Provisioning section. We are also presented a field called 3CX Session Border Controller. This is a pull-down list, but there are no options to select. This seems to indicate we're to define an SBC elsewhere as a prior step, but that doesn't make sense. Per the Documentation, I expected to have an option presented to “make this phone a router phone” in this IP Phone section, but that's not available.

Because we cannot select an SBC from the pulldown menu, we need to make another selection in order to save the configuration (click “OK”). As a troubleshooting step, I have tried the selection of “Local LAN (in the office)” which does allow me to click “OK.”

Screenshot 2023-09-13 at 6.51.16 AM.png

Selecting this option again presents the Mac Address field and a Select Interface field. Again, the MAC Address field provided is pre-populated from the earlier step. The Select Interface field is a pull-down list populated with the available network interfaces from your server. Presumably, you’ll want to select the appropriate interface for your phone to request provisioning information.

In the case of our AWS install, the Select Interface field offers two choices: The FQDN of the external-facing interface or the IP address of the internal-facing interface. These are both configured as part of the AWS EC2 instance we’re running for our server. In our case, I selected the FQDN of the external-facing interface.

While the Provisioning Method of “Local LAN (in the office)” is clearly not the appropriate method for provisioning the phone, it does have the effect of allowing a configuration to be downloaded to the phone from the AWS-hosted server (including Timezone, Date and Time, Web Page Password, etc.). Unfortunately, the phone is unable to establish a SIP connection without having an SBC defined, so that's a non-starter.

It seems to me we have a bug here. I could swear that I had previously seen an option to indicate whether the phone we’re adding to the User profile is a Router Phone. If it was there, it's now nowhere to be found. If this field was moved, I cannot find it. Again, the Documentation seems to indicate it should be an option in the IP Phone section when you select “3CX SBC (remote).”

Part of my purpose for this post was to document the disparity between the provided guidance and the actual interface in the 3CX Management Console. My other goal is to note a potential bug. I’d really appreciate a solution as this seems to be preventing me from specifying our Fanvil X5U-V2 as a router phone for our site.

Thanks,

- Dave
 
Last edited:
You have to setup the router phone from the web client
 
You have to setup the router phone from the web client

Is there documentation to that effect? There doesn't seem to be an option in the Web Client settings to specify the extension as a Router Phone / SBC.

Incidentally, the available documentation does not indicate that Web Authentication is required for an IP Phone, so we ordinarily have this disabled.
 
I believe you have to either create a new ext and set as router phone or delete the current then redefine it.
 
I believe you have to either create a new ext and set as router phone or delete the current then redefine it.

I'd thought about that approach as well. I deleted the User (Extension) and created a new User with a different extension number, Added the Phone Model and MAC, selected 3CX SBC (remote) as the Provisioning Method, and still do not have an option to set the phone as a Router Phone / SBC. As I cannot select an SBC in the 3CX Session Border Controller field, I cannot save the User profile.

I deleted the phone in the profile and left "3CX App" as the selected phone. I then saved the profile and returned to add the phone again to the same result. It's just not giving us the option to indicate this is a Router Phone / SBC, and the 3CX Session Border Controller pull-down list is blank.
 
After a bit of collaboration with my friend, @fourrivers, these issues do indeed seem to be artifacts from the imminent V20 update and administration revision.

In order to add the IP Phone and have the ability to designate as a Router Phone / SBC, you need to do this through the Web Client. Unfortunately, the Web Client does not offer the Admin menu out-of-the-box, and there are a few steps you need to do in the 3CX Management Console to bridge this gap.

  1. Create the User (extension) in the 3CX Management Console. On the General tab, set the Extension Number, First and Last Name, and E-mail address. Under Web Authentication, check the "Enable Web Client/Desktop App" and set a password.
  2. On the Rights tab, set the Group Membership level to System administrator. This will enable the Admin gear icon on the Web Client. Hit "OK" to save the User (extension) profile.
  3. Login to the Web Client (https://<FQDN>/webclient) using the extension number as the Username and the Password you set up in step 1.
  4. Click on the Admin (gear) icon on the bottom left of the Web Client. Next, select the Users tab and select your user account.
  5. Similar to the 3CX Management Console, select the IP Phone tab. As there should be no IP Phone associated, you'll click the big "Configure a phone" button in the middle of the screen.Screenshot 2023-09-13 at 11.31.45 AM.png
  6. In this scenario, we'll select the "Outside the Office" option.Screenshot 2023-09-13 at 11.31.11 AM.png
  7. Now, we'll have the Type of Phone selection dialog (which is illustrated in the Configuring IP Phones document), and we can select "Router Phone" and then click the "Next" button.Screenshot 2023-09-13 at 11.33.44 AM.png
  8. The next dialog allows us to select our model and enter our MAC Address for the phone. It also gives us a warning to buy a phone that's capable of being a Router Phone / SBC.Screenshot 2023-09-13 at 11.36.48 AM.png
  9. If you click on the Voice & Chat tab on the left, you should see your new 3CX SBC listed with the model of the phone, extension, and "Router Phone" indicated in the listing.

I presume these steps will only be necessary until the V20 release of 3CX. I'm also guessing you need to make a designated Admin User account (perhaps update your own account's Rights) and use the Web Client for administration from here forward.

I haven't finished configuring the Router Phone, but I'll confirm when I've finished the setup.
 
Status
Not open for further replies.

Forum statistics

Threads
111,973
Messages
590,070
Members
164,890
Latest member
James Hacker