LinuxMCE Forums

General => Installation issues => Topic started by: brononius on September 24, 2009, 11:15:00 am

Title: Cisco 7940
Post by: brononius on September 24, 2009, 11:15:00 am
Hey,

I'm trying to have a cisco phone 7940 working on LinuxMCE 710...

I follow this article  (http://wiki.linuxmce.org/index.php/Cisco_7970) as a guide line.
I think that the article is for an older release, possible?

For the MAC's, i tried to insert 00:15:13:00:00:00 till 00:15:14:00:00:00. After i apply, it change towards 151? Any suggestion what could go wrong?
Is it necessary to use the dhcp? Can't i fix the phone? If so, must i put in a tftp, cm...?


ps will i have problems when i try to use the 7970 template for a 7940?  :-[
Title: Re: Cisco 7940
Post by: hari on September 24, 2009, 11:26:35 am
use the /usr/pluto/bin/convert_mac tool to convert the start/end mac addresss from the range to an integer value.

br, Hari
Title: Re: Cisco 7940
Post by: tschak909 on September 24, 2009, 12:20:22 pm
You should make a new device template for the 7940, instead of making the 7970 template work. Just don't add the child orbiter device, as the 7940 can not be used as an orbiter.

-Thom
Title: Re: Cisco 7940
Post by: brononius on September 24, 2009, 01:39:42 pm
the 7940 can not be used as an orbiter.

Are you for real?  ???
Damned, and i've got about 7 of those phones. I want them to use as a multifunctional device (phone, intercom, inputter...). Can I confirm some buttons to do some basic stuf (like turning on lights, deactivate an alarm...

Is there somewhere a good guideline to setup a template for this typ of phone?

ps i'm a newbie with linuxmce, so didn't find the time (or nerves) to go through all setups/manuals...
Title: Re: Cisco 7940
Post by: tschak909 on September 24, 2009, 02:29:49 pm
No, the 7940 can not currently be used as an orbiter. Only the 7970 has enough capabilities to do so.

Seriously? get rid of those phones, replace them with Phoenix Solo USB mics attached to media directors, and use the media director's built in phone.

-Thom
Title: Re: Cisco 7940
Post by: hari on September 24, 2009, 05:26:07 pm
the 7940 has not the same capabilities as the 7970, you would need to adjust the proxy orbiter and do a new design variation. The resolution is smaller, no colors and no touchscreen.

best regards,
Hari
Title: Re: Cisco 7940
Post by: tschak909 on September 24, 2009, 05:29:53 pm
it also can't accept graphics in png, so the proxy orbiter render would have to be processed via imagemagick into... gosh, I forget the format that the b/w phones use....

-Thom
Title: Re: Cisco 7940
Post by: dlewis on September 24, 2009, 05:35:58 pm
honestly, I would suggest just getting a 7970...
Title: Re: Cisco 7940
Post by: brononius on October 05, 2009, 08:12:38 pm

I first want to get some phones up and ready (that i can use as normal phones) before i decide to buy a 7970 (those things are expensive!)...

I'm almost there, I think...
The phone gets apperantly an ip and so from the server. The server asks me if i want to add the phone (so naturally i say yes)...
I do a 'quick reload' of the router and the phone.
The phone boots but gives me following errors:
   - File not found: XMLDefaul....
   - Registration rejected

Any idea what i've done wrong?
Title: Re: Cisco 7940
Post by: dlewis on October 05, 2009, 08:18:02 pm
can you print the exact error? You seem to have truncated it.
Title: Re: Cisco 7940
Post by: brononius on October 06, 2009, 07:24:43 am
The error is on the display on the phone. So more information than that i can't provide (i think).  :-\

   ...File not found: XMLDefaul...     (for a few seconds)
   ...Registration rejected...     (for maybe a minute, and then he reboots)


Title: Re: Cisco 7940
Post by: dlewis on October 06, 2009, 03:01:45 pm
It seems to be looking for the xmlDefault.CNF.XML and XMLDefault.cnf.xml files. They need to be in the tftpboot folders. See if you can find the correct files for that phone (or maybe you can use the 7970 files). Here are some links to help:

http://lists.digium.com/pipermail/asterisk-users/2003-September/013921.html
http://www.trixbox.org/forums/trixbox-forums/help/tftp-cisco-7940
http://www.velocityreviews.com/forums/t34667-changing-ip-phone-79x0-from-sccp-to-sip.html
http://puck.nether.net/pipermail/cisco-voip/2006-October/016005.html
Title: Re: Cisco 7940
Post by: tschak909 on October 06, 2009, 03:03:09 pm
Those scripts are generated by the configure_cisco7970.pl script. This needs to be adapted for the 7940.

-Thom
Title: Re: Cisco 7940
Post by: brononius on October 06, 2009, 06:09:27 pm
I've put a 7960 beside. Maybe it will be easier to get him working first...

I'm trying to get it up and running, but i'm really lost will all things that need to be done. :$
I've created a xmlDefault.CNF.XML, but still the message rejected.
I messed up a phone with putting him towards SIP (i think).

I'm reading around, and seeing a lot about SIP, skinny, SEP...
Can somebody tell me what's the best (read easiest) to make some phone calls under linuxcMCE?  :-\

Title: Re: Cisco 7940
Post by: tschak909 on October 06, 2009, 06:11:00 pm
if you look at the device template for the 7960, you'll see that it's configured as a SIP phone, and therefore needs the SIP firmware.

The 7970 template uses the SCCP firmware. So pick the template that matches the firmware you have running, and base off of that.

-Thom
Title: Re: Cisco 7940
Post by: brononius on October 06, 2009, 06:17:56 pm
bit by bit we get there... ;)

I've got 'plutoSip' on top of my phone and the extension 203...
No figuring out how to work with it...

Think that i'll create a nice walkthrough for my other phones...  :-X
Title: Re: Cisco 7940
Post by: tschak909 on October 06, 2009, 06:20:06 pm
guys
GUYS
GUYS!!!!

damn it. Don't you understand, that if you make a proper #@)%(#@)%#@ device template, that you don't have to make elaborate articles on the wiki?!

I'm getting TIRED of screaming this at the top of my lungs! SPEND TIME STUDYING THE EXISTING DEVICE TEMPLATES AND SCRIPTS!!!

-Thom
Title: Re: Cisco 7940
Post by: dlewis on October 06, 2009, 06:27:03 pm
I would try to get the SCCP firmware working with the 7940 first. If that doesn't work, then try the SIP firmware. FYI, you can brick the phone trying to install the SIP firmware.
Title: Re: Cisco 7940
Post by: brononius on October 06, 2009, 07:15:34 pm
damn it. Don't you understand, that if you make a proper #@)%(#@)%#@ device template, that you don't have to make elaborate articles on the wiki?!

I'm getting TIRED of screaming this at the top of my lungs! SPEND TIME STUDYING THE EXISTING DEVICE TEMPLATES AND SCRIPTS!!!
I understand you, but on the other side, it shouldn't be this hard to get it up and running. ;)
That's the whole reason why a lot of persons stay at MS...  ::)
This beside...



Those scripts are generated by the configure_cisco7970.pl script. This needs to be adapted for the 7940.


Okay, back to the drawing panel. What i see is that i've got 2 options, or i change all phones towards sip, or figure out the sccp...
And since sccp is already on the phones, i'll give this another shot.

What i can't get working is that perl script (configure_cisco7940.pl). I don't see how (when/where) i need to use this...
Title: Re: Cisco 7940
Post by: brononius on October 06, 2009, 07:29:47 pm
What i can't get working is that perl script (configure_cisco7940.pl). I don't see how (when/where) i need to use this...

I think that i think to much.  :P
When i go through that pl script, i see a lot of sip configuration? Wasn't it just not sip?  :-[

I run
Code: [Select]
./configure_cisco7940.pl -d PhoneCubilicum -i 192.168.80.252 -m 00:11:5C:93:AF:D1
Where configure_cisco7940.pl is a copy of the configure_cisco7960.pl without phonelines 3 till 6.
Where PhoneCubilicum is the name i've got in the database (changed via http://localhost)
where 192.168.80.252 the ip is of the phone
where 00:11:5C:93:AF:D1 the mac is of the phone

and get as result
Code: [Select]
Unknown column 'PhoneCubiculum' in 'where......


Sorry that i don't copy the whole error (i'm typing this on another computer).


Thanks to put me on the right tracks...
Title: Re: Cisco 7940
Post by: brononius on October 07, 2009, 07:27:36 pm

I've put 2 phones on SIP, and was able to get them get an extension from linuxMCE. 
Once, the MAC is in the template, it's all straight forwards. :o

So it seems that the SIP / SCCP story is the main reason for the confusion?


Strange thing is that i've got now 2 phones with number 201 and 202. But they can't call eachother? Hmmm, that's a problem for tomorrow.  I'm already glad that there's something usefull on the phonescreen...  :-\