Plug and Play for snom phones

From Vodia PBX Wiki
(Redirected from Plug and Play)
Jump to: navigation, search

The goal of plug and play is for the phone to be able to find snom ONE and download its configuration settings with little or no configuration. In many cases, this can be done without actually touching the phone. Plug and play gives the phone accessibility to many system settings and features that can be configured by the system, making it unnecessary to configure these settings on the phone itself. When plug and play is done properly, setting up a group of IP phones is as easy as setting up a series of analog phones, removing the need to manually configure each and every phone.

Note: For snom 300-series provisioning check if you have to open the extension for provisioning (see below, Pairing the phone with snom ONE).

Note: For snom m9 provisioning, a few extra steps are required.

The information on this page related to version 5.0.10 or higher.

Contents

Finding snom ONE

In most environments, the phone will find its IP settings automatically via a DHCP server. Once DHCP is found, it will learn its IP address, subnet mask, default gateway, and DNS server. Once the phone can access the network, it can start looking for snom ONE and begin provisioning its configuration files. How the phone actually finds snom ONE is governed by whether the snom ONE is local or remote. Following are the possible scenarios and the protocols that are used to facilitate each.

Method IP Address Locator LAN WAN Requirements
DHCP, option 66 DHCP X DHCP server must support option 66.
SIP SUBSCRIBE (multicast) Multicast X Limited to a single snom ONE.
Mass deployment snom XML RPC X X snom must have your server info and MAC address.
Manual setup snom web interface X X All settings must be configured manually.

Each method of plug and play is described below. Before doing Plug and Plug though, take a look at the pre-requisite steps.

  • DHCP, option 66: This method can be used to provision in both LAN (internal) and WAN (remote) environments as long as you can control the local DHCP server and the DHCP server supports option 66. The phone retrieves its IP address and other configuration information through dynamic host configuration protocol (DHCP). In order to use this method, you need to put in the address of the PBX, either the IP-address or the DNS-address, along with the HTTP transport scheme (for example, "http://192.168.1.2" or "http://pbx.abc.com").
PnP1.png
  • SIP SUBSCRIBE (multicast): Multicast plug and play is generally used when the DHCP server does not support option 66. Since multicast packets cannot be routed over the public Internet, this method cannot be used if the phone is connected remotely. With this method, the phone gets its IP address from the DHCP server and multicasts the SUBSCRIBE message with its MAC address, vendor information, model information, and the version number. This method requires no configuration on the phone, but the Listen to sip.mcast.net setting will need to be turned on and the MAC address for the desired extension account will need to be set up.
  • Mass deployment (“auto provisioning”): This method, known as redirection service, allows for touch-free, WAN-based plug and play and can be used for a large deployment of phones. You can arrange to have the MAC addresses of your phones provisioned to a setting URL that reflects your snom ONE. This way, when the phone boots up, the DHCP server will tell the phone your snom ONE’s IP address, as well as other information. The redirection service requires a special arrangement with snom. The mass deployment can be controlled from snom ONE (see below, supported since version 5.0.3).
  • Manual setup: This method is done by accessing the phone through a web browser. You will need to configure the phone’s Settings URL setting so that the phone knows where the snom ONE is.
The settings URL on the phone for different snom phones are as follows:

Pairing the phone with snom ONE

When the phone contacts the PBX, the PBX needs to know if the request really comes from the phone or from another potentially malicious source. The pairing is done using the MAC address, which serves as identifier for the phone. The MAC address must be assigned to the extension that is being provisioned (or a wildcard character assigned to the MAC field for the extension).

The authentication can be done in three ways:

  • The snom 700 and 800-series and the snom m9 include a client certificate. This certificate is presented to the PBX during the setup process and it certifies that the MAC address is really from the phone.
  • The administrator can temporarily open the account for provisioning (usually ten minutes). This means that during that time, the PBX trusts the MAC address without further authentication information. This must be done from the PBX web interface for the domain. This is necessary for provisioning snom 300-series.
  • If the phone can present the extension username and password, it is also authenticated. This is the case for older installations that used this authentication method.

Provisioning Server Redirection through XMLRPC

With this PBX feature you can easily redirect your snom phones to your snom ONE PBX for provisioning. It makes provisioning of snom phones very easy. Ideally, all the user has to do is plug in his/her phone and he/she should be good to go. The phone should get all the settings, be registered and its buttons set, according to how they had been set up in the PBX. The user need not do a thing. This feature is also very easy to set up.

All you have to do is:

  • Go to snom ONE PBX web interface, Admin mode.
  • Go to PnP Settings page.
  • Enter your username and password as well as your snom ONE PBX address (where your snom phones should be redirected).
  • Press Save.

Your credentials are now saved. The username and password are obtained from snom for provisioning server redirection, with an agreement.

Redirecting a phone

After you have done the above step, you can redirect your snom phones. To redirect a snom phone to your snomONE PBX for provisioning, just add the MAC address of the phone (found on the phone label at the back) to the PBX:

  • Go to your selected domain in snomONE PBX web interface.
  • Go to the extension to which you want to bind your snom phone.
  • Go to the "Registration" tab of the extension found at the top.
  • Enter the MAC address of your snom phone in setting "Bind to MAC Address:"
  • Press Save.

This will not only bind the extension to that phone’s MAC address, it will also redirect that phone to your PBX when it requests for provisioning and will be provisioned by the PBX accordingly.

Changing or removing MAC for redirection

If you want to change the mac address that needs to be redirected, simply change the mac address in the setting "Bind to MAC Address:" and press Save. That will not only change the MAC binding, but also change the MAC address at snom provisioning server for redirection to your PBX.

To remove a mac address that you don’t want redirected anymore, just remove it from the "Bind to MAC Address:" setting and leave it blank when you press Save.

Syncing all MACs on the system

Generally, you won’t need this because when you add a MAC address for binding, it also automatically registers it with the snom provisioning server for redirection, according to the credentials and PBX address you have provided in the PnP Settings.

But if there were any MAC’s present on the system before you entered the PnP Settings for the Provisioning Server, those MAC’s would not have been redirected. For that or any other reason that some mac addresses are not redirected, you can redirect all the MAC’s on the system with a single press of the "Sync" button. It is found on the same page where you entered the provisioning server credentials.

Defining which Firmware should be used

There has been many enhancements in version 5.0.6 one of them was to subsidize the PNP section into text only. Today if you would like to change the firmware version , you will have to switch to admin-mode then navigate to Templates, on the Type box choose Phone PnP the page you should edit is snom_3xx_fs.xml. You can see the URLs that correspond to each phone, you can change the link there or change the version number for example 8.4.35 to 8.5.36

Firmware2014.png

Snom 3xx series Provisioning.

  • 1. Reset the phone to factory default.
  • 2. Add the MAC address of the extension into an account.
  • 3. Log into the phone and navigate to Advance--->Update
  • 4. Under Update Policy Set to Always
  • 5. Under the Setting URL: add the snom ONE IP address.
  • 6. Turn off PNP config to off, in case you have a PBX on the LAN.
  • 7. Before you reboot the unit, select an extension you would like to provision the unit too.
  • 8. Click on the "More Actions" drop-down and select to open the accounts that you have selected for provisioning. You will see that the devices are open for provisioning for the next ten minutes.

Mac888.jpg

After you have activate the "Open account for MAC-based provisioning" Reboot the phone.

NOTE: Provisioning might take up to 2-5 minutes.