LinuxMCE Forums

General => Users => Topic started by: John991 on January 09, 2010, 07:11:54 pm

Title: Cisco 7970 and Error Message
Post by: John991 on January 09, 2010, 07:11:54 pm
Hi Guy's

I've error message on my xml service :

Invalid IP Phone XX.XX.XX.XX

I can't use DHCP Orbiter. Have you do a Workaround ?


Regards

Serge CARPENTIER
Asterisk France Founder
Title: Re: Cisco 7970 and Error Message
Post by: _if_ on January 09, 2010, 11:16:59 pm
I have problems with the 7970 as well, but I believe it's a problem with freepbx. It says: Failed to connect to the Asterisk manager through port: 5038(retrieve_conf.FATAL)

Do you have the same error?

greetz
IF
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 10, 2010, 12:31:17 am
Hi,

No for me its just on XML Services ORBITER. I think if i'm not in the same server's subnet then it doesn't work. I will try tomorow in the same subnet.

I will advise you tomorow.


Regards
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 10, 2010, 06:01:35 pm
Hi Guy's,

Please Help Me :(

http://www.asterisk-france.net/InvalidIPAddress.jpg (http://www.asterisk-france.net/InvalidIPAddress.jpg)

Serge CARPENTIER
Asterisk France Founder
Title: Re: Cisco 7970 and Error Message
Post by: _if_ on January 10, 2010, 06:37:25 pm
are you now in the right subnet (internal network) ? do other devices get the proper ip from the dhcp server?
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 10, 2010, 06:44:34 pm
I'm on the same subnet.

My DCE eth0 : 172.26.27.10
My DCE eth0:0 : 172.26.27.11

My Ip Phone : 172.26.27.20

Regards
Title: Re: Cisco 7970 and Error Message
Post by: _if_ on January 10, 2010, 06:52:29 pm
your core has 2 nics right?
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 10, 2010, 06:53:31 pm
No Just one.
Title: Re: Cisco 7970 and Error Message
Post by: _if_ on January 10, 2010, 06:56:31 pm
this is your problem!
do some research on the wiki pages, it's meant to have 2 nics - one is connected to a external network (internet) and the other nic to your internal linuxmce network...
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 10, 2010, 07:01:52 pm
Could you please see my screenshot.

(http://www.asterisk-france.net/NetworkSettings.jpg)
Title: Re: Cisco 7970 and Error Message
Post by: _if_ on January 10, 2010, 07:07:16 pm
you absolutely NEED 2 nics!

http://wiki.linuxmce.org/index.php/Network_Setup (http://wiki.linuxmce.org/index.php/Network_Setup)
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 11, 2010, 09:02:08 pm
Hi,

My problem is not network card but a version problem. My IP Phone is a 7971. Do you  have a workaround. Because i buy 3 Cisco 7971 for Linux MCE :(.


Regards.
Title: Re: Cisco 7970 and Error Message
Post by: tschak909 on January 11, 2010, 09:43:49 pm
hmm.

dude, I use 7971G's as orbiters. That is not the problem.

Please follow the bloody FAQs and listen to those of us on here who know how to configure the system.

Thanks,
-Thom
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 11, 2010, 09:52:14 pm
Thx a lot for your response. I executed howto in Wiki Page.

What do you want to do for you help me ?

Regards.
Title: Re: Cisco 7970 and Error Message
Post by: tschak909 on January 11, 2010, 09:56:18 pm
do you have two network cards, segmenting off external and internal networks? with the internal network being 192.168.80.1?

-Thom
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 11, 2010, 10:02:16 pm
Yes i installed today two network Card.

Eth0 : 172.26.27.0/24 (Internal Network)
Eth1: 172.26.28.0/24 (External Network)

Title: Re: Cisco 7970 and Error Message
Post by: tschak909 on January 11, 2010, 10:03:41 pm
there may still be hard coded bits that expect the internal network to be 192.168.80.1.

Please install according to the factory settings.

-Thom
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 11, 2010, 10:48:14 pm
:) Ok, Now i've Two Interface :

Eth0: 192.168.80.1 /24
Eth1: 172.26.28.1 /24

My Ip phone has IP Adress 192.168.80.254

:(

No Work same error message.


Title: Re: Cisco 7970 and Error Message
Post by: tschak909 on January 11, 2010, 10:50:10 pm
try making eth1 your internal card.
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 11, 2010, 10:58:28 pm
I've a question, Why Orbietr work correctly on My PC on different VLAN or Subnet but that dosen't work with IP Phone ? :)

My server reboot.

Thank lot for your help.
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 11, 2010, 11:03:39 pm
Same message.

I've too convert mac for Cisco 7970 & 7970 Orbiter.

:s

Regards
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 12, 2010, 12:59:10 am
I've applyed all how to and that don't work :( I don't undestand :(


Syslog messages :

192.168.80.253 - - [11/Jan/2010:15:53:57 -0800] "GET /pluto-admin/index.php?address=192.168.80.1&port=3451&deviceID=45&section=proxySocket&command=XML HTTP/1.1" 200 430 "-" "Allegro-Software-WebClient/4.20"
192.168.80.253 - - [11/Jan/2010:15:53:58 -0800] "GET /pluto-admin/security_images/generic_xml_error.png HTTP/1.1" 200 20309 "-" "Allegro-Software-WebClient/4.20"


Regard's
Title: Re: Cisco 7970 and Error Message
Post by: tschak909 on January 12, 2010, 01:19:23 am
did the system display a message on an orbiter that it detected the phone?

-Thom
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 12, 2010, 11:49:33 am
Yes Orbiter has been detected my phone. "Would you like add cisco 7970 IP Phone Orbiter ?"
A account has been created in Asterisk and Orbiter. My Ip Phone account is 201. No Problem.
The Orbiter Service is on my service Button. No Problem.

Just when i want press Service i've this message :
(http://www.asterisk-france.net/InvalidIPAddress.jpg)

Title: Re: Cisco 7970 and Error Message
Post by: tschak909 on January 12, 2010, 12:58:53 pm
THe phone should be in the 192.168.80. network along with the rest of the LinuxMCE devices... Asterisk is not connecting because you did not follow directions, exactly.

delete the phone from the web admin and try again.

Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 12, 2010, 01:36:00 pm
Hi,

The picture is old screenshot. My Ip Phone have ip address: 192.168.80.253.
Asterisk Work correctly.

It's same error but with ip address 192.168.80.253

Regard's
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 12, 2010, 05:51:21 pm
Please Help Me.

Regards
Title: Re: Cisco 7970 and Error Message
Post by: tschak909 on January 12, 2010, 05:52:46 pm
Did you delete the phone from the web admin section, and reload the router?

-Thom
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 12, 2010, 05:55:33 pm
OK and ?
Title: Re: Cisco 7970 and Error Message
Post by: tschak909 on January 12, 2010, 05:56:40 pm
the phone should detect, and the system should do the right work of adding the relevant configuration information. This is all you should ever have to do.

-Thom
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 12, 2010, 05:58:45 pm
Could you explain what security is applied on IP Phone ?

It's Done and Same Message.
Title: Re: Cisco 7970 and Error Message
Post by: tschak909 on January 12, 2010, 06:01:14 pm
it's entirely host based. The phone is added to the asterisk extensions and sccp conf file. Is your 7971G running the SCCP firmware?

-Thom
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 12, 2010, 06:02:26 pm
Yes. It's the firmware hosted on the TFTP where is the Core.
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 12, 2010, 06:07:07 pm
It's not a bug with XML Language ?
Title: Re: Cisco 7970 and Error Message
Post by: tschak909 on January 12, 2010, 06:16:56 pm
No. That much I can promise you. The Proxy Orbiter code has not had any filed bugs this entire development cycle, and I use my 7971G regularly.

-Thom
Title: Re: Cisco 7970 and Error Message
Post by: John991 on January 12, 2010, 06:19:49 pm
OK. It's very Strange. What the SCCP version on your IP Phone ?
Title: Re: Cisco 7970 and Error Message
Post by: felpouse on January 12, 2010, 10:17:54 pm
Hi John,

please verify that on the sccp.conf file in the /etc/asterisk you had the correct bind ip addres based on your internal network address and the references on the lines and devices are based on the correct mac address of your phone. Then verify both the SEPDefault7970.cnf.xml file located in the tftpboot directory and also the link based on the mac of your phone that had the correct ip of your core and the correct URLs (authenticationURL and servicesURL.

And finaly did you use VLAN env also on the phone? And how many dhcp server did you have in your env?

Best regards

Luke
Title: Re: Cisco 7970 and Error Message
Post by: nite_man on January 12, 2010, 11:52:23 pm
I didn't find LinuxMCE version which you use. I installed several Cisco 7970 phones under LMCE 0710 and they worked from the box as phones and Orbiters. Not sure about that but I suppose that the IP of your phone should be something like 192.168.80.2 or so. But your phone has 192.168.80.253, which doesn't belong to IP range for LinuxMCE devices. Maybe this is a problem?
Title: Re: Cisco 7970 and Error Message
Post by: tschak909 on January 13, 2010, 12:01:46 am
phones do not get assigned in the same host group as media directors.

-Thom
Title: Re: Cisco 7970 and Error Message (solved for me)
Post by: sedgington on March 19, 2010, 04:47:46 pm
I started getting this error as well on 2 of my 3 cisco 7970 phones. Since it was working on one, I knew that something must have changed on the other two but I didn't know where to look. I logged into the terminal and ran

tail -f /var/log/pluto/DCERouter.log

as I tried to get the orbiter to connect. This gave me the cisco orbitor device number that was trying to log in but not much more.

I then went to Wizard \ Devices \Orbiters in the web admin and found the device number (which is listed next to the description field). Then clicked on advanced and near the bottom of the page found

Remote Phone IP

For some reason I do not understand, it was off by one digit: 192.168.80.14 instead of 192.168.80.13
I corrected this field. Saved the page and then did a Wizard \Restart \Quick Reload Router from inside the web admin.

Exiting the orbiter on the phone and then reinitializing it under the Services Menu while the DCERouter.log was running, I no longer got the invalid ip message (who would of thought that it actually was telling you the truth) and saw from the log that the orbiter was actually loading.

My suspicion is that this ip gets coded into that field the first time the phone is loaded and when you change your subnet or for some other reason restart the system after a catastrophe, the DHCP server gives the device a new ip but the old ip is still in that field. Just guessing.

Hope this helps someone who has run into a dead end with this problem.
Title: Re: Cisco 7970 and Error Message
Post by: pw44 on March 19, 2010, 06:08:50 pm
phones do not get assigned in the same host group as media directors.

-Thom

Ok, where can i get these group ranges? Because i've assigned my spa-3102 and pap2t-na as 192.168.80.30 and 192.168.80.31 respectively (forcing this at webadmin -> phones - mac adress and ip address, which created the entries at /etc/dhcp3/dhcpd.conf, having the devices with static addresses on it's configurations. They are working fine (well, sometimes extensions get busy tone when dialing to them or when calling out nothing happens), but after a complete reboot, works fine again...
And as i'm getting a 7091G the next weeks, will be good to know...
Title: Re: Cisco 7970 and Error Message
Post by: sedgington on March 20, 2010, 06:21:11 pm
I'm not sure what you mean by group ranges for the 7970(1). The template has to have a range based on your cisco phone's mac address which you must convert as per the instructions in the wiki. If by ranges you mean ip addresses, my understanding is that the initialization of the cisco phone is supposed to be pnp and that the dhcp server will assign and (hopefully) remember the correct ip for your phone.

In case pnp doesn't completely finish, as was my case,  and the cisco extension fails to register in freepbx (Advanced \Configurations \Phones Setup) you cut to the chase and go to my solution at the end of this thread:

http://forum.linuxmce.org/index.php?topic=8029.0

This also provides you links to what you are supposed to do to make the phone pnp.

Good luck with your new phone.