Page 121 - Asterisk™: The Future of Telephony
P. 121

Gotchas.  Settings that are configured directly on the telephone will be stored on the
               filesystem of the set, and may take precedence over parameters passed in config files.
               If you are having any problems applying changes to a set, try reformatting the phone.
               This will force the set to accept the parameters contained in the config files.


               Cisco 7960 Telephone
               The venerable old C7960 is now a part of VoIP history. One of the first SIP telephones
               that could actually be taken seriously, the only real complaint one can have about this
               phone is the price: they are the Cadillac of SIP phones (meaning that they have all the
               bells and whistles but are tough to justify at the price, and are a little out of date
               sometimes).
               If you can get one of these, you are getting an excellent SIP telephone. If you buy one
               new, be prepared to pay.
               One of the ways this phone is out of date is the lack of remote provisioning from any-
               thing other than TFTP. TFTP has lost favor with networking professionals due to the
               lack of authentication and encryption, but since it is the only method of remotely pro-
               visioning the phone, we are going to have to use the tftp-server daemon. We can install
               tftp-server with the following command:
                   # yum install -y tftp-server
               Once installed, we need to enable the server by modifying the /etc/xinetd.d/tftp file. To
               enable the TFTP server, change the disable=yes line to disable=no.

                   service tftp
                   {
                       socket_type             = dgram
                       protocol                = udp
                       wait                    = yes
                       user                    = root
                       server                  = /usr/sbin/in.tftpd
                       server_args             = -s /tftpboot
                       disable                 = no
                       per_source              = 11
                       cps                     = 100 2
                       flags                   = IPv4
                   }
               Then start the TFTP server by running:
                   # service xinetd restart
               We can verify the server is running with the following command:
                   # chkconfig --list | grep tftp
                     tftp:   on
               As long as tftp: on was returned, the server is up and running.




                                                                   Configuring SIP Telephones | 93
   116   117   118   119   120   121   122   123   124   125   126