cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2954
Views
0
Helpful
24
Replies

Cisco 7970 phone on Asterisk

bruc3
Level 1
Level 1

Hi guys,

 

Apologies first as I am using a not using Cisco Call Manager or Cisco DHCP server.

 

I have got a Cisco 7970 phone I am trying to setup on Asterisk freepbx. Currently got Opnsense DHCP server connected to a Cisco 3750 switch and the 7970 phone connected to same switch.

 

Just to complicate things a bit, both my Opnsense server and Asterisk servers are virtual sitting on same physical box. Opnsense is also used as my NAT firewall to connect to the internet. Asterisk server connects to Opnsense which is its Default GW (and is Default GW for entire network).

 

Asterisk Server IP is 10.0.50.10. My TFTP server is install on this same box /tftpboot folder with SEP and firmware files inside.

 

Opnsense DHCP server is connected to port FastEthernet1/0/1

Data scope: 10.0.10.0/24 - VLAN 10

Voice scope: 10.0.50.0/24 - VLAN 50

 

Connect phone to port interface FastEthernet1/0/2

 

For some weird reason, the phone just sits at upgrading...for ever and does nothing. I checked DHCP logs, and the phone sends DHCPDiscover and DHCP server sends DHCPoffer from correct IP scope 10.0.50.0 but it stops there and continuously loops from Discover to Offer.

 

Here is parts of my config:

interface Vlan10
ip address 10.0.10.2 255.255.255.0
!
interface Vlan50
description Voice
ip address 10.0.50.2 255.255.255.0

 

interface FastEthernet1/0/1
switchport access vlan 10
switchport mode access
switchport voice vlan 50
!
interface FastEthernet1/0/2
switchport access vlan 10
switchport mode access
switchport voice vlan 50
spanning-tree portfast

 

I thought it was a routing issue causing the DORA loop, but I tried connecting a laptop to the same port was able to get DHCP range 10.0.50.0 address by changing config to below:

 

interface FastEthernet1/0/2
switchport access vlan 50
switchport mode access
spanning-tree portfast

 

So what do you think the issue is and do you have any suggestions?

 

24 Replies 24


@bruc3 wrote:

DHCP option 150 is set to point to my Asterisk server IP 10.0.50.10.


Do you have the phone firmware?

Yep firmware is in /tftpboot folder and now accessible (after I discovered it was blocked by my firewall).

 

 

So now the phone works? If not, check tftp server log files to see if the phone communicates with the tftp and what files it tries to download

Thanks for all the help so far guys, I am starting to make some progress and feeling really happy about it so far.

 

So now I managed to get DHCP working properly from Opnsense box, option 150 was incorrect which caused the DHCPoffer loop I had earlier.

 

In case someone comes across this problem, before I used the "Additional options" section which does not work:

Option:    150      text       10.0.50.10

 

You actually simply need to use the provided "TFTP server" setting and just put your TFTP IP address i.e. 10.0.50.10.

 

 

Now the phone gets an IP address from correct VLAN and I can see it trying to download the "term75.default" file, unfortunately it seems to hang during the download at 0K and just restarts after a while then tries to download the same file again and restart loops again.

 

I tested to copy the same term75.default file from the Cisco switch to flash dir and it worked, so not sure why the phone cant download the same file. 


@bruc3 wrote:

Now the phone gets an IP address from correct VLAN and I can see it trying to download the "term75.default" file, unfortunately it seems to hang during the download at 0kb and just restarts after a while then tries to download the same file again and restart loops again.


"term75.default" is a file meant for the 7975 phone. 

"term70.default" is a file meant for the 7970 phone. 


@Leo Laohoo wrote:

@bruc3 wrote:

Now the phone gets an IP address from correct VLAN and I can see it trying to download the "term75.default" file, unfortunately it seems to hang during the download at 0kb and just restarts after a while then tries to download the same file again and restart loops again.


"term75.default" is a file meant for the 7975 phone. 

"term70.default" is a file meant for the 7970 phone. 


Ahhh ok, thats pretty embarassing. Looks like all my firmware files are for the 7975 phone then. I will see if I can download the correct files and try again. Thanks for spotting that.


@bruc3 wrote:
I will see if I can download the correct files and try again. 

Good luck with that.  Firmware for 7970 is no longer available (for download from the Cisco website).

Try removing the load information from the config file and see if the phone connects

Thanks everyone for all the help. I have finally got it all working, everyone's suggestions have helped me get there. Cant really mark any single comment as solution, since most of them assisted me to get to the final goal.

 

Biggest issues I had was really getting phones to pick up TFTP server, all along it was a simple option I missed in the settings of Opnsense (please read my previous comment for details).

 

Thanks again.

Good to know and glad finally it was working, You can mark as many as solution, so it will be useful for the community members to refer in the Future.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking products for a $25 gift card