Difference between revisions of "Cisco 7970"
Line 53: | Line 53: | ||
mailbox=<extension> | mailbox=<extension> | ||
vmnum=*97 | vmnum=*97 | ||
+ | *To configure the display/backlight change the following lines in /tftpboot/SEPDefault7970.cnf.xml | ||
+ | <daysDisplayNotActive>1,7</daysDisplayNotActive> | ||
+ | <displayOnTime>09:00</displayOnTime> | ||
+ | <displayOnDuration>08:00</displayOnDuration> | ||
+ | <displayIdleTimeout>00:01</displayIdleTimeout> | ||
+ | ''daysDisplayNotActive'' you can put 1 through 7 where 1 = Sunday, 2 = Monday, 3 = Tuesday and so on. | ||
+ | |||
+ | ''displayOnTime'' is the time of the day the display is turned on | ||
+ | |||
+ | ''displayOnDuration'' is the length on time from the ''displayOnTime'' that the display will remain on. So in the above example the display turns on at 9:00 and turns off at 17:00. I haven't tested but I believe having this as 00:00 would keep the display on 24/7. | ||
+ | |||
+ | ''displayIdleTimeout'' is the length of time the display will remain on when outside the DisplayOnDuration parameter (inside the display is always on). | ||
+ | <displayOnWhenIncomingCall>1</displayOnWhenIncomingCall> | ||
+ | This can be used for the display to turn on when receiving a call (0 = disable, 1 = enable). This line is currently not present in the file so just add it after the ''displayIdleTimeout''. | ||
+ | Note: ''displayOnWhenIncomingCall'' doesn't work on all firmwares. | ||
+ | |||
+ | To turn on the display just press the "Display button" that should be solid green. (solid green = display turn off, blinking green = only the touchscreen is off) | ||
+ | |||
+ | |||
Email suggestions to: stepanov.michael [at] gmail [dot] com or leave a comment. | Email suggestions to: stepanov.michael [at] gmail [dot] com or leave a comment. | ||
Revision as of 04:20, 17 June 2011
Version | Status | Date Updated | Updated By |
---|---|---|---|
710 | Unknown | N/A | N/A |
810 | Unknown | N/A | N/A |
1004 | Unknown | N/A | N/A |
1204 | Unknown | N/A | N/A |
1404 | Unknown | N/A | N/A |
Usage Information |
Contents
Preface
LinuxMCE allows the use of many devices as Orbiters. One of them is the CISCO 7970. You can use it to control your home as well as to make calls.
To add a new CISCO 7970 phone as an Orbiter follow these simple instructions (from information in the LinuxMCE support forum).
Preparation
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. Check the DHCP setting of your phone. It should be something like that: "get IP via DHCP and no alternative servers". Check the range of MAC addresses:
- Go to Advanced --> Configuration --> Device Template.
- Chose manufacturer CISCO. You should see in the right list at least two models: 7970 and 7960.
- Press the button 'Show model'.
- 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 (-) or colons (:). The first three groups identify a maker. You leave them and fill the rest by 0 and F. For example, if MAC is 00:16:78:CD:01:D8 its range will be 00:16:78:00:00:00 - 00:16:78:FF:FF:FF. After that you should convert those two values into LinuxMCE representation. To do that run a script /usr/pluto/bin/convert_mac and pass the hexadecimal values as parameters:
/usr/pluto/bin/convert_mac 00:16:78:00:00:00 /usr/pluto/bin/convert_mac 00:16:78:FF:FF:FF
- As result you will get two big decimal digits. Add them to the phone template and store.
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).
Note for CISCO 7960 SIP users: if your phone fails to register with asterisk then edit /tftpboot/SIPDefault.cnf and append
nat_enable: 1
Installation
- 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.
- 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 "Cisco 7970" below that.
- After that the phone should be registered with asterisk and you can see a normal CISCO screen.
- However, it'll take another 2-3 minutes to generate a new Orbiter for CISCO7970.
- 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).
- Now go to menu Services on CISCO 7970 and chose Orbiter.
Troubleshooting
- Problem: Phone boots successfully but there is no any message on the Orbiter's screen.
- Solution: If the message doesn't appear check MAC addresses range.
Some useful tips
- To reset a Network configuration of CISCO79xx go to menu 'Network Setting' and press the following sequence of buttons:
**#**
- To check network communications between CISCO7970 and CORE run tcpdump on the CORE:
tcpdump -i eth1 [CISCO7970 IP Address]
or to see detailed packets information:
tcpdump -i -vv eth1 [CISCO7970 IP Address]
or change TimeZone change following line in /tftpboot/SEPDefault7970.cnf.xml (you can find proper TimeZone strings here ):
<timeZone>W. Europe Standard/Daylight Time</timeZone>
- 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:
mailbox=<extension> vmnum=*97
- To configure the display/backlight change the following lines in /tftpboot/SEPDefault7970.cnf.xml
<daysDisplayNotActive>1,7</daysDisplayNotActive> <displayOnTime>09:00</displayOnTime> <displayOnDuration>08:00</displayOnDuration> <displayIdleTimeout>00:01</displayIdleTimeout>
daysDisplayNotActive you can put 1 through 7 where 1 = Sunday, 2 = Monday, 3 = Tuesday and so on.
displayOnTime is the time of the day the display is turned on
displayOnDuration is the length on time from the displayOnTime that the display will remain on. So in the above example the display turns on at 9:00 and turns off at 17:00. I haven't tested but I believe having this as 00:00 would keep the display on 24/7.
displayIdleTimeout is the length of time the display will remain on when outside the DisplayOnDuration parameter (inside the display is always on).
<displayOnWhenIncomingCall>1</displayOnWhenIncomingCall>
This can be used for the display to turn on when receiving a call (0 = disable, 1 = enable). This line is currently not present in the file so just add it after the displayIdleTimeout. Note: displayOnWhenIncomingCall doesn't work on all firmwares.
To turn on the display just press the "Display button" that should be solid green. (solid green = display turn off, blinking green = only the touchscreen is off)
Email suggestions to: stepanov.michael [at] gmail [dot] com or leave a comment.
Add Directory buttons to Cisco IP Phone
Please Note, this is already a part of the LinuxMCE system. You should not need to worry about this in a normal installation. Just press the directory button and enjoy.
Download
Download the files here: http://www.unit-e.cc/~tschak/Directory.zip
Unfortunately this link is not updated. It doesn't work
Synopsis
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.
It adds the following Features:
- Directory button now works!
- Works with Contacts from the Pluto phone directory
- Paginates them based on # of entries in phone book
- Shows the phone type.
Installing this Patch
- Unpack the files to the pluto-admin directory. (/var/www/pluto-admin/)
- edit the file /tftpboot/SEPDefault7970.cnf.xml (it just needs to be the default xml for your cisco phone, adjust as needed.)
- Find the <directoryURL></directoryURL> tags, and place http://192.168.80.1/pluto-admin/directory.php between them.
- Reboot the phone by pressing the settings button, and pressing the following button sequence **#**
Once the phone boots, try the directory by pressing the Directory button!
If there are any problems, let me know --Tschak909 ( thom.cherryhomes (at) gmail (dot) com ).
Add usefull XML services beside Orbiter
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.
Basically you can try rss or xml feeds directly, but also there is usefull script that automatically converts pages to proper format - for example:
http://phone-xml.berbee.com/menu.xml?opts=67
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):
http://phone-xml.berbee.com/rss/items.php?url=http://vreme.zurnal24.si/xml/rss/vreme.xml
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.
Usefull links
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...