Saturday, August 31, 2013

Auto-provision Yealink IP Phones

Auto-provisioning allows us to conveniently mass deploy IP phones.  Generally, we put a set of configuration files containing the sip credentials and other phone settings on a tftp server.  When the IP phones boot, they download the configuration from the tftp server and self configure to work with the IP PBX.

This blog describes the steps taken to auto-provision Yealink T20P and T28P.

When Yealink phone boots, it looks for auto provision information in order of PnP, DHCP option 150 and DHCP option 66.  We therefore could configure our DHCP server to supply the tftp server address via option 66.

For illustration, below shows how to specify tftp server address in /etc/dhcpd.conf in CentOS.

subnet 192.168.2.0 netmask 255.255.255.0 {
        option routers                  192.168.2.1;
        option subnet-mask              255.255.255.0;
        option nis-domain               "pbx";
        option domain-name              "bx";
        option domain-name-servers      192.168.0.20;
        option time-offset              28800; # Asia/Hong_Kong
        option ntp-servers              192.168.2.1;
        option tftp-server-name         "192.168.2.1";


Yealink phones expect two types of XML configuration files: model-oriented cfg and mac-oriented cfg.  A full list of the configuration parameters could be found here.

The model-oriented.cfg for T20 and T28 are given below.

T20 y000000000007.cfg
T28 y000000000000.cfg

A mac-oriented.cfg would look like  0015652e9af6.cfg.

By preparing a set of cfg, we could easily deploy a large number of Yealink phones.





8 comments:

  1. Technical support representatives should be wary of provisioning. I like the term that you used, to conveniently deploy mass IP phones. Proper setup would lead to efficient deployment. The emergence of plug and play devices made other tech rely to much on them and forget the basics.

    ReplyDelete
  2. Your blog is too much amazing. I have found with ease what I was looking. Moreover, the content quality is awesome. Thanks for the nudge! https://192-168-i-i.com

    ReplyDelete

  3. Thank you very much for your information.
    Australia ETA/eVisitor Visa
    is quiet easy to apply online from Singapore,
    Malaysia, United Kingdom, United States, Canada, France and including all others ETA Eligible Countries from our website.

    ReplyDelete
  4. Very good article and I like it. Thank you for giving me information

    Please Visit to mboplay888.com Slot gambling agent, ball, live casino Indonesia

    Nikmati bonus menarik dari MBOPLAY :

    Welcome Bonus New Member 20% ALL GAMES [ BOLA, POKER, LIVE CASINO, SLOT, IDN LIVE ]

    Promo Cashback Mingguan BOLA UP TO 7.5%
    Promo Cashback Mingguan BOLA UP TO SLOT 1%
    Promo Cashback Mingguan BOLA UP TO LIVE CASINO 1%
    Bonus Next Deposit 5% [ BOLA, LIVE CASINO, SLOT, IDN LIVE ]
    Komisi IDNPOKER 0.5%

    MBOPLAY
    SPBO BOLA
    AGEN SBOBET
    BANDAR JUDI
    AGEN IDN SPORTS
    BURSA TARUHAN BOLA
    JUDI BOLA TERPERCAYA
    BANDAR SPORTS ONLINE TERPERCAYA

    Contact us MBOPLAY.COM :
    Livechat : https://mboplay88b.com/?ref=daftar
    Whatsapp : +6282117858228

    Link Alternatif MBOPLAY :

    https://mboplay88b.com/?ref=daftar
    https://mboplay88c.com/?ref=daftar
    https://mboplay888.com/?ref=daftar

    ReplyDelete
  5. We love to read this article and look forward to your other articles to be published. Thanks.
    hasta yatağı

    ReplyDelete