CISCO IP PHONES AND TFTP

Hi, I work for an ISP and we're starting to deploy CISCO IP phones (7940). We've been using Polycom 300/500/600 phones which use FTP so it's simple to create various user config-directories in a single server. Now these Cisco phones use TFTP, how can I separate configs for different customers on a same server? Any pointers would be greatly appreciated. Thanks,

Reply to
bvlmv
Loading thread data ...

Hi

7940 cisco phones request a different file per phone, based on the MAC address. If you setup a TFTP server, and you look at the logs you will see something like:

ul 21 18:40:58 embrace in.tftpd[1594]: RRQ from 10.103.188.20 filename CTLSEP0011BB0DE63F.tlv Jul 21 18:40:58 embrace in.tftpd[1594]: sending NAK (1, File not found) to 10.103.188.20 Jul 21 18:40:58 embrace in.tftpd[1595]: RRQ from 10.103.188.20 filename SEP0011BB0DE63F.cnf.xml Jul 21 18:40:58 embrace in.tftpd[1595]: sending NAK (1, File not found) to 10.103.188.20 Jul 21 18:40:58 embrace in.tftpd[1596]: RRQ from 10.103.188.20 filename SIP0011BB0DE63F.cnf Jul 21 18:40:58 embrace in.tftpd[1596]: sending NAK (1, File not found) to 10.103.188.20 Jul 21 18:40:58 embrace in.tftpd[1597]: RRQ from 10.103.188.20 filename MGC0011BB0DE63F.cnf Jul 21 18:40:58 embrace in.tftpd[1597]: sending NAK (1, File not found) to 10.103.188.20 Jul 21 18:40:58 embrace in.tftpd[1598]: RRQ from 10.103.188.20 filename XMLDefault.cnf.xml Jul 21 18:40:58 embrace in.tftpd[1598]: sending NAK (1, File not found) to 10.103.188.20 Jul 21 18:40:58 embrace in.tftpd[1599]: RRQ from 10.103.188.20 filename SIPDefault.cnf

My configuration for each phone is the same, since I have a very basic setup. The last resort for the phone is "SIPDefault.cnf", which contains my phone configuration. But eg for phone 1 I could create a file SIP0011BB0DE63F.cnf which contains the configuration for the phone with MAC address 00:11:bb:0d:e6:3f.

The only way I can think of to do this on a per customer basis is to symlink configuration files.

Reply to
Tozz

My only problem is the SIPDefault.cnf because some customers use an outbound proxy and some don't. When phones at different locations reboot "they all look for the same SIPDefault.cnf file" and all hell will break loose. At the moment we're blocking outbound tftp on the router but that's not very practical. Is there a way to rename the file on the phone, so that it requests ex. sipdefault1.cnf? I know there has to be a way, Thanks

Tozz wrote:

Reply to
bvlmv

Reply to
bvlmv

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.