http://wiki.linuxmce.org/api.php?action=feedcontributions&user=Calperin&feedformat=atomLinuxMCE - User contributions [en]2020-06-07T10:04:49ZUser contributionsMediaWiki 1.24.1http://wiki.linuxmce.org/index.php?title=Cisco_7970&diff=17578Cisco 79702009-02-06T01:40:45Z<p>Calperin: /* Download */</p>
<hr />
<div>[[Category: Hardware]]<br />
[[Category: Phones]]<br />
[[Category: Orbiters]]<br />
<br />
== Preface ==<br />
[[Image:Cisco7909.JPG]]<br />
<br />
LinuxMCE allows the use of many devices as [[Orbiters]]. One of them is the [http://www.cisco.com/en/US/products/hw/phones/ps379/ps5440/index.html CISCO 7970]. You can use it to control your home as well as to make calls.<br />
<br />
To add a new CISCO 7970 phone as an Orbiter follow these simple instructions (from information in the [http://forum.linuxmce.org/ LinuxMCE support forum]).<br />
<br />
== Preparation ==<br />
<br />
CISCO 7970 phone is plug-in-play device; LinuxMCE adds it automatically when it is plugged into the network. But first, we have to make some preparations. Run an Orbiter. Be sure that no others tasks are running.<br />
Check the DHCP setting of your phone. It should be something like that: &quot;get IP via DHCP and no alternative servers&quot;.<br />
Check the range of MAC addresses:<br />
#Go to Advanced --&gt; Configuration --&gt; Device Template.<br />
#Chose manufacturer CISCO. You should see in the right list at least two models: 7970 and 7960.<br />
#Press the button 'Show model'.<br />
#On the opened window check 'Range MAC addresses'. The range contains two big decimal digits. To get correct range for your phone first see its MAC address. A MAC address is six groups of two hexadecimal digits, separated by hyphens (&lt;strong&gt;-&lt;/strong&gt;) or colons (&lt;strong&gt;:&lt;/strong&gt;). The first three groups identify a maker. You leave them and fill the rest by 0 and F. For example, if MAC is &lt;strong&gt;00:16:78:CD:01:D8&lt;/strong&gt; its range will be &lt;strong&gt;00:16:78:00:00:00&lt;/strong&gt; - &lt;strong&gt;00:16:78:FF:FF:FF&lt;/strong&gt;. After that you should convert those two values into LinuxMCE representation. To do that run a script &lt;strong&gt;/usr/pluto/bin/convert_mac&lt;/strong&gt; and pass the hexadecimal values as parameters:<br />
/usr/pluto/bin/convert_mac 00:16:78:00:00:00<br />
/usr/pluto/bin/convert_mac 00:16:78:FF:FF:FF<br />
:As result you will get two big decimal digits. Add them to the phone template and store.<br />
If you have problems with phone installation, it may be related to firmware. The phone should have the latest firmware upgrade. (I didn't have any problem with existing firmware on my CISCO 7970, though).<br />
<br />
Note for '''CISCO 7960 SIP''' users: if your phone fails to register with asterisk then edit /tftpboot/SIPDefault.cnf and append <br />
nat_enable: 1<br />
<br />
== Installation ==<br />
<br />
#Plug the phone power and network cable. Note if you have two network cards on your core you should plug network cable in the right switch.<br />
#During boot of the phone after 2-3 minutes you should see on the Orbiter a message about new device with your phone MAC address was detected. You should click by caption &quot;Cisco 7970&quot; below that.<br />
#After that the phone should be registered with asterisk and you can see a normal CISCO screen. <br />
#However, it'll take another 2-3 minutes to generate a new Orbiter for CISCO7970. <br />
#When this operation finishes you'll see a message on the Orbiter screen. Make a quick reload of router (Wizard -- Reboot -- Quick Reload Router. I also rebooted CISCO 7970 because I didn't see anything in the menu Services).<br />
#Now go to menu Services on CISCO 7970 and chose Orbiter.<br />
<br />
== Troubleshooting ==<br />
*&lt;u&gt;Problem:&lt;/u&gt; Phone boots successfully but there is no any message on the Orbiter's screen.<br />
*&lt;u&gt;Solution:&lt;/u&gt; If the message doesn't appear check MAC addresses range.<br />
<br />
== Some useful tips ==<br />
*To reset a Network configuration of CISCO79xx go to menu 'Network Setting' and press the following sequence of buttons: <br />
**#**<br />
*To check network communications between CISCO7970 and CORE run tcpdump on the CORE:<br />
tcpdump -i eth1 [CISCO7970 IP Address]<br />
or to see detailed packets information:<br />
tcpdump -i -vv eth1 [CISCO7970 IP Address]<br />
or change TimeZone change following line in /tftpboot/SEPDefault7970.cnf.xml (you can find proper TimeZone strings [http://www.voip-info.org/wiki/view/Asterisk+phone+cisco+7970+SIP here] ):<br />
&lt;timeZone&gt;W. Europe Standard/Daylight Time&lt;/timeZone&gt;<br />
*To add the voicemail options to the message button, edit the sccp.conf file and add the following to the lines section of each phone:<br />
mailbox=&lt;extension&gt;<br />
vmnum=*97<br />
Email suggestions to: stepanov.michael [at] gmail [dot] com or leave a comment.<br />
<br />
==Add Directory buttons to Cisco IP Phone==<br />
<br />
=== Download ===<br />
Download the files here: [http://www.unit-e.cc/~tschak/Directory.zip http://www.unit-e.cc/~tschak/Directory.zip]<br />
<br />
Unfortunately this link is not updated. It doesn't work<br />
<br />
=== Synopsis ===<br />
<br />
This set of files adds a working Directory for your Cisco IP phone. It has been tested on my Cisco 7970 phone, but does not use any additional features, so it should work on any of the other Cisco IP phones that support XML services, such as the Cisco 7960. <br />
<br />
It adds the following Features:<br />
<br />
* Directory button now works!<br />
* Works with Contacts from the Pluto phone directory<br />
* Paginates them based on # of entries in phone book<br />
* Shows the phone type.<br />
<br />
=== Installing this Patch ===<br />
<br />
* Unpack the files to the pluto-admin directory. (/var/www/pluto-admin/)<br />
* edit the file /tftpboot/SEPDefault7970.cnf.xml (it just needs to be the default xml for your cisco phone, adjust as needed.)<br />
** Find the &lt;directoryURL&gt;&lt;/directoryURL&gt; tags, and place '''http://192.168.80.1/pluto-admin/directory.php''' between them.<br />
* Reboot the phone by pressing the settings button, and pressing the following button sequence '''**#**'''<br />
<br />
Once the phone boots, try the directory by pressing the Directory button!<br />
<br />
If there are any problems, let me know --[[User:Tschak909|Tschak909]] ( thom.cherryhomes (at) gmail (dot) com ).<br />
<br />
<br />
==Add usefull XML services beside Orbiter==<br />
<br />
Currently this feature doesn't make much sense if you use Orbiter on phone, cause it's constantly refreshing and you loose focus of any other menu on the phone.... I've searched internet a bit and found few usefull applications that will let you put rss or xml feeds to your 7970.<br />
<br />
Basically you can try rss or xml feeds directly, but also there is usefull script that automatically converts pages to proper format - for example:<br />
http://phone-xml.berbee.com/menu.xml?opts=67<br />
<br />
Gives you rss feeds from CNN and BBC. You can also use this script to convert any rss feed to same shape (it's weather rss feed in my country):<br />
<br />
http://phone-xml.berbee.com/rss/items.php?url=http://vreme.zurnal24.si/xml/rss/vreme.xml<br />
<br />
I have further modified file /var/www/pluto-admin/ServicesMenu.php - and added more entries - basically it's XML list of various URLs to follow.<br />
<br />
<br />
==Usefull links==<br />
<br />
[http://www.asteriskpbx.de/index.php?open79xx Open 79XX XML Directory] - Gives you possibility to edit info showed/used on Phone... I've just tried ver 1.2 and it seems really useful. Beside contacts and search capability, it allows user to organize external xml services, memos, notes together in one easy to traverse menu... Really worth of consideration...</div>Calperin