Newbee / Cisco 7960 install help needed

I am a newbee to the Ip phone world. I have setup and am currently running FreePBX and I have a Cisco 7960 phone(s) that I am trying to register. I have read several threads and info on configuring the Tftp server etc.

My phone will see the PBX server and will read the config file. It is in a boot loop and I am not sure what is worng.

The PBX server sees the phone but it says that it is offline?

I know that i am new to this but I would really like to get this to work. Any help could be greatly appreciated!

Running this phone is very well documented. You did not tell us enough to help you.

Does the phone have SIP or SCCP software (it needs SIP). What version of FreePBX? Did you install by on your own Linux box? If so need all the particulars. If you used a distro need to know the details.

Also have you tried the End Point Manager?

Thanks for replying!!
I will try to give you all the details.

Asterisk 1.8.12.0
Free PBX 2.10.0.7
64 Bit system
8 GIG ram
160 GIG Solid State Drive
Cisco 7960

Not sure how to confirm SIP vs SCCP but I believe it is SIP due to the following:
Phone does see and recognize the firmware:

Here is the sequence of screens I see on phone as Booting.
Configuring VLAN
Configuring IP
TFTP POS3-8-12-00 loads
Verifying Load
Confguring VLAN
Defaulting CM to TFTP Server
Opening 10.33.10.254
Opening 10.33.10.20 (PBX Server)
switches back and forth
Resets and then Reboots

I have the Extension Built and configured

Yes I have tried to use the end point manager (to the best of my knowledge)
Any more help you can give me would be GREAT! :slight_smile:

Post the config file from tftp boot.

I would also turn up the verbosity on the tftp server.

cd /etc/xinetd.d
edit tftp with your favorite editor
change server argggs to contain a v like this "server_args = -sv /tftpboot"
save file
restart tftp ‘service xinetd restart’

You can now tail /var/log/messages and watch tftp activity

Thank you again for replying.
it is becoming apparent that I may be way over my head as I have very little to no experience working with Linux.

The above suggestions are greatly appreciated. . . However I have no idea as to how to execute the requested procedures at all.

I realize that it would not be lkiely fair to have someone “hold my hand” through the process. I may need to seek other help unless there are other suggestions that you can provide me in a “laymans” terms.

Once again thank you very much but my experience in Linux my be my down fall

If you proceed in trying to help me I will be VERY greatful, but if you have to excuse your self due to the situation. . . well, then I would understand that as well

Actually, that was my attempt at holding your hand. Those are the exact commands.

If you don’t understand files and directories you are way over your head and you should sell the Cisco’s on eBay and buy an Aastra that auto configures from the FreePBX extension.

Realize there is always a need to have some basic command line skills to manage a Linux based system of any type.

Once again, THANK YOU! I truely appreciate your trying to help me. I was able to FIX my issue :slight_smile: I found out that I was not getting the firmware update to work correctly so I worked on that and was able to fix!

THANKS!

Great, that had to be hard to find without turning to down the debug.

Do me a favor, so I understand where the confusion is with instruction, below is a screen capture of me setting tftp debug on a FreePBX distro. The one thing that might not be clear is the last command displays the tftp log (requests) live until you press the break key (^c).

[[email protected] /]# #
[[email protected] /]# # Everything starting with a # is a comment
[[email protected] /]# #
[[email protected] /]# # First we navigate to the configuration directory
[[email protected] /]# #
[[email protected] /]# cd /etc/xinetd.d
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# # Notice the prompt changes to show where we are
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# # If you ever get lost this command Prints Working Directory
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# pwd
/etc/xinetd.d
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# # now we LiSt the files in the directory
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# ls
chargen-dgram   daytime-stream  echo-dgram   ekrb5-telnet  krb5-telnet  tcpmux-server  time-stream
chargen-stream  discard-dgram   echo-stream  gssftp        kshell       tftp
daytime-dgram   discard-stream  eklogin      klogin        rsync        time-dgram
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# # The one called tftp is of interest to us
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# cat tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
#       protocol.  The tftp protocol is often used to boot diskless \
#       workstations, download configuration files to network-aware printers, \
#       and to start the installation process for some operating systems.
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
}
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# # Notice the only command line switch is -s and the dirctory, we are going to change that
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# # nano is a popular editor
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# # The commands to save the file are on the bottom of the page
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# nano tftp
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# # now the file is changed
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# # the cat command ConcATanates the file to the standard output
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# cat tftp
# default: off
# description: The tftp server serves files using the trivial file transfer \
#       protocol.  The tftp protocol is often used to boot diskless \
#       workstations, download configuration files to network-aware printers, \
#       and to start the installation process for some operating systems.
service tftp
{
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -sv /tftpboot
        disable                 = no
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# # now we restart the service to effect our change
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# service xinetd restart
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# # and go watch the tftp !!!
[[email protected] xinetd.d]# #
[[email protected] xinetd.d]# tail -f /var/log/messages
May 26 15:36:23 pioneer dhcpd: DHCPACK on 10.222.6.182 to 00:08:5d:2c:30:fe (57i00085D2C30FE) via eth0
May 26 15:40:47 pioneer dhcpd: Unable to add forward map from 57i00085D2C30D3.pioneer.local to 10.222.6.198: timed out
May 26 15:40:47 pioneer dhcpd: Wrote 0 deleted host decls to leases file.
May 26 15:40:47 pioneer dhcpd: Wrote 0 new dynamic host decls to leases file.
May 26 15:40:47 pioneer dhcpd: Wrote 76 leases to leases file.
May 26 15:40:47 pioneer dhcpd: DHCPREQUEST for 10.222.6.198 from 00:08:5d:2c:30:d3 (57i00085D2C30D3) via eth0
May 26 15:40:47 pioneer dhcpd: DHCPACK on 10.222.6.198 to 00:08:5d:2c:30:d3 (57i00085D2C30D3) via eth0
May 26 15:50:10 pioneer xinetd[2654]: Exiting...
May 26 15:50:10 pioneer xinetd[30788]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
May 26 15:50:10 pioneer xinetd[30788]: Started working: 1 available service

The messages file also contains other useful system related stuff.

The same technique can be used to view the Asterisk log file in real time /var/log/asterisk

Let me know if these kind of instructions take the mystery off of the Linux shell.