ZTP

From sailpbx
Revision as of 08:25, 9 May 2011 by Adminwiki (talk | contribs) (PnP/ZTP logic)
Jump to: navigation, search

PnP and Zero Touch Provisioning (ZTP)

SARK V3 has on-board PnP and ZTP provisioning using a SIP Multicast listener/builder. This gives two large benefits for users of SIP phone models which are SIP PnP aware:-

  * There is no need to run DHCP options or a modified DHCP server 
  * Phones can be configured on-the-fly by the listener/builder

Supported phone types

In the initial delivery SARK V3 has support for both Snom and Yealink phones. Support for Gigaset phones is planned but likely only for the Intel based platforms.

Set-up

Set-up requires only two variables to be enabled. They are in Globals-> Services and they are called:-

  * PnP Provisioning
  * Zero Touch Provisioning.



PnpZtp.png

PnP

PnP (or SIP Plug 'n Play) turns on the SIP Multicast listener. This allows SARK to asynchronously tell a SIP phone where its provisioning file is located without the need to modify the DHCP server or to run an on-board DHCP server.

ZTP

Zero Touch Provisioning works in tandem with PnP. When ZTP is enabled then SARK will not only inform a phone where its provisioning data is but it will also build the data on-the-fly and update Asterisk at the time the phone first requests it. What this means is that you can simply power up a PnP aware phone and SARK will automatically create an extension for it in the SARK database, inform the phone where the provisioning data is and finally, regenerate Asterisk so that it is aware of the new extension. Thus the phone will come up, be automatically provisioned, register with Asterisk and be immediately ready to make and receive calls. This is very useful for medium to large roll-outs because it needs no prior set-up. It is normal to only run ZTP during intial system installation or when you have new phones to roll-out. The remainder of the time it should be switched off.

PnP/ZTP logic

In order to be able to run multiple PBX servers in the same subnet, the Multicast listener must be able to selectively reply to only those PnP aware phones which it "owns" (i.e. are defined to it). For this reason, unless ZTP is enabled, SARK will only respond to requests from phones for which it already has an entry in its database. It recognises individual phones by their MAC addresses. This mode of operation is much the same as regular DHCP 66 type provisioning; i.e. only phones which have been predefined to the system will be provisioned. In this way, multiple servers may all be listening for Multicasts and each can respond to its own group of phones without disrupting the other listeners.