Polycom

From My Notepad
Jump to: navigation, search

Polycom Multiple Key Combinations

On SoundPoint IP and SoundStation IP phones, certain multiple key combinations can be used to reboot the phone and restore factory defaults. For other methods for resetting and rebooting your SoundPoint IP or SoundStation IP phones, refer to “Quick Tip 18298: Resetting and Rebooting SoundPoint IP Phones” at http://www.polycom.com/support/voice/.

Rebooting the Phone

For the key combination, press and hold certain key combinations (depending on the phone model) simultaneously until a confirmation tone is heard or for about three seconds :

• IP 301: Volume-, Volume+, Hold, and Do Not Disturb
• IP 320 and 330: Volume-, Volume+, Hold, and Hands-free
• IP 430 and 501: Volume-, Volume+, Hold, and Messages
• IP 550, 600, 601, and 650: Volume-, Volume+, Mute, and Messages
• IP 4000: *, #, Volume+, and Select

Restoring Factory Defaults

For the key combination, press and hold certain key combinations (depending on the phone model) simultaneously during the countdown process in the bootROM until the password prompt appears:

• IP 301, 501, 550, 600, 601, and 650: 4, 6, 8 and * dial pad keys
• IP 320, 330, and 430: 1, 3, 5, and 7 dial pad keys
• IP 4000: 6, 8 and * dial pad keys

Enter the administrator password to initiate the reset. Resetting to factory defaults will also reset the administrator password (factory default password is 456).

Uploading Log Files

For the key combination, press and hold certain key combinations (depending on the phone model) simultaneously until a confirmation tone is heard or for about three seconds:

• IP 301: The two Line keys and the Up and Down arrow keys
• IP 320 and 330: Menu, Dial, and the two Line keys
• IP 430, 501, 550, 600, 601, 650: Up, Down, Left, and Right arrow keys
• IP 4000: Menu, Exit, Off-hook/Hands-free, Redial

Remapping keys

key.IP_300
key.IP_330
key.IP 430
key.IP_450
key.IP_500
key.IP_550
key.IP_600
key.IP_650
key.IP_4000
key.IP_6000
key.IP_7000

Re-provisioning phones using the xml config files

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <!-- $Polycom Revision: 1.67 $  $Date: 2005/03/11 17:05:46 $ -->
<GROUP_OVERRIDES>
   <OVERRIDES
device.set="1"

device.dhcp.bootSrvUseOpt.set="1"
device.dhcp.bootSrvOpt.set="1"
device.dhcp.bootSrvOptType.set="1"
device.dhcp.dhcpVlanDiscUseOpt.set="1"

device.prov.serverName.set="1"
device.prov.serverType.set="1"
device.prov.user.set="1"
device.prov.password.set="1"

device.dhcp.bootSrvUseOpt="1"
device.dhcp.bootSrvOpt="160"
device.dhcp.bootSrvOptType="1"
device.dhcp.dhcpVlanDiscUseOpt="1"

device.prov.serverName="FTP_SERVER_HOSTNAME"
device.prov.serverType="0"
device.prov.user="FTP_USERNAME"
device.prov.password="FTP_PASSWORD"
>
</GROUP_OVERRIDES>

Local Contact Directory

If a user makes a change to the local directory, there is a five second timeout before it is uploaded to the boot server as <mac-address>-directory.cfg.

The user can edit the directory contents if configured in that way. Changes will be stored in the phone’s flash file system and backed up to the boot server copy of <Ethernet address>-directory.xml if this is configured. When the phone boots, the boot server copy of the directory, if present, will overwrite the local copy.

dir.local.readonly=""
   0 or Null - directory is editable
   1         - directory is read only

Resetting the phone to defaults via config files

If you have a locked phone that you don't know the local admin password to, but you can redirect the phone (spoofing DNS, NAT redirect, etc.) to get its configs from a server under your control, you can use the following to reset the phone to some defauls.

Extract the default firmware to a directory of your choise and add the device code below between the </logging> and <security> sections in the sip.cfg file. Then do some magic to get the phone to download your custom config directory. Once this config is downloaded, the phone will reboot with the new settings. You can then get into the phone and do a true Reset Device Settings and then configure the phone the way you wish.

  </logging>

  <device device.set="1"
	device.auth.localAdminPassword.set="1"
	device.auth.localAdminPassword="456"

	device.prov.serverName.set="1"
	device.prov.serverName=""
	device.prov.serverType.set="1"
	device.prov.serverType="0"
	device.prov.user.set="1"
	device.prov.user="PlcmSpIp"
	device.prov.password.set="1"
	device.prov.password="PlcmSpIp"

	device.net.vlanId.set="1"
	device.net.vlanId=""

	device.dhcp.dhcpVlanDiscUseOpt.set="1"
	device.dhcp.dhcpVlanDiscUseOpt="1"
	device.dhcp.dhcpVlanDiscOpt.set="1"
	device.dhcp.dhcpVlanDiscOpt="128"
	/>

  <security

DHCP Time Zone

Source

Timezones East of GMT:
Timezone 1 – 0xE10
Timezone 2 – 0x1C20
Timezone 3 – 0x2A30
Timezone 4 – 0x3840
Timezone 5 – 0x4650
Timezone 6 – 0x5460
Timezone 7 – 0x6270
Timezone 8 – 0x7080
Timezone 9 – 0x7E90
Timezone 10 – 0x8CA0
Timezone 11 – 0x9AB0
Timezone 12 – 0xA8C0
Timezones West of GMT:
Timezone -1 – 0xFFFFF1F0
Timezone -2 – 0xFFFFE3E0
Timezone -3 – 0xFFFFD5D0
Timezone -4 – 0xFFFFC7C0
Timezone -5 – 0xFFFFB9B0
Timezone -6 – 0xFFFFABA0
Timezone -7 – 0xFFFF9D90
Timezone -8 – 0xFFFF8F80
Timezone -9 – 0xFFFF8170
Timezone -10 – 0xFFFF7360
Timezone -11 – 0xFFFF6550
Timezone -12 – 0xFFFF5740

Reboot Polycom Phone via Web Interface From Script

Inspiration

Here's a BASH script that will reboot a set of phones using their web interface:

#!/bin/bash

if [ $# -ne 4 ]
then
        echo "Usage: $0 [web password] [subnet] [start_ip] [end_ip]"
        echo ""
        exit 0
fi

PASSWORD=$1
SUBNET=$2
START=$3
END=$4

# Cookie is the username:password string base64 encoded with an = sign at the end
COOKIE="`echo -n "Polycom:$PASSWORD" | base64`="

echo "Cookie for Polycom:$PASSWORD is: $COOKIE"

for CURRENTIP in `seq $START $END`; do
IP_ADDRESS="$SUBNET.$CURRENTIP"

# If we can ping it then we can reboot it, if not move on
echo -n "Pinging ${IP_ADDRESS}... "
ping -w 1 -c 1 ${IP_ADDRESS} > /dev/null
if [ $? -eq  0 ] ; then
        echo -n "attempting phone reboot... "
        curl --cookie "Authorization=Basic ${COOKIE}" "http://${IP_ADDRESS}/form-submit/Reboot" -X POST --header "Authorization: Basic ${COOKIE}" > /dev/null 2>&1
        if [ $? -eq  0 ] ; then
                echo " SUCCESS!!!"
        else
                echo " FAILED!!!"
        fi
else
        echo "no response!!!"
fi

done

Polycom Push Configuration

Polycom::App::Push

sipphone-automation

Polycom Forum 1

Default Transfer Type

<polycomConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="polycomConfig.xsd">
  <call call.DefaultTransferType="Blind" />
</polycomConfig>