[VoiceOps] VoiceOps Digest, Vol 24, Issue 26

Jamie O. Montgomery Jamie.Montgomery at comporium.com
Tue Jun 28 14:32:20 EDT 2011


My down and dirty bash script:
-----------------------------
#!/bin/bash

# Print out the sip.ld version from the image file

FILENAME=$1
LOAD=`hexdump -e '/5 "%s"' -e'"\n"'  -s 64 -n 5 $FILENAME`
ITER=`hexdump -e '/1 "%s"' -e'"\n"'  -s 75 -n 1 $FILENAME`
if [ $ITER != "A" ]; then
  echo "$FILENAME is SIP Load $LOAD$ITER"
else
  echo "$FILENAME is SIP Load $LOAD"
fi
-----------------------------

"hexdump" is a pretty common file among Linux.

Usage:
$ qsipld sip.ld
sip.ld is SIP Load 3.1.2


-JM


-----Original Message-----
From: voiceops-bounces at voiceops.org [mailto:voiceops-bounces at voiceops.org] On Behalf Of voiceops-request at voiceops.org
Sent: Tuesday, June 28, 2011 1:50 PM
To: voiceops at voiceops.org
Subject: VoiceOps Digest, Vol 24, Issue 26

Send VoiceOps mailing list submissions to
	voiceops at voiceops.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://puck.nether.net/mailman/listinfo/voiceops
or, via email, send a message with subject or body 'help' to
	voiceops-request at voiceops.org

You can reach the person managing the list at
	voiceops-owner at voiceops.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of VoiceOps digest..."


Today's Topics:

   1. How to determine Polycom firmware version (PE)
   2. Re: How to determine Polycom firmware version (PE)
   3. Re: How to determine Polycom firmware version (Brandon Buckner)


----------------------------------------------------------------------

Message: 1
Date: Tue, 28 Jun 2011 12:52:11 -0400
From: PE <peeip989 at gmail.com>
To: voiceops at voiceops.org
Subject: [VoiceOps] How to determine Polycom firmware version
Message-ID: <BANLkTi=4kF72D8Q9vV+HXW45wUJugUya1w at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

If I have multiple copies of polycom firmware on a server (in different
directories, of course), is there any way to know what version it is? The
phones seem to be able to tell by downloading the 4k, but I don't see a
firmware version.There appears to be header info in the file but nothing
that tells me explicitly that this is, for example, v3.3.1. Even the phone
type is cryptic (8388608 = 450?)


# strings /tmp/2345-12450-001.bootrom.ld | more
%r;0
BootRom
04-Jun-10 17:08
4.3.0
Iter=A;BuildID=0246;SigKey=8;Config=11;Cpu=8;Dsp=32;Flash=41344;Gpio=1048576;Key=1056768;Lcd=262144;PhoneType=8388608;Phy=16;TargetF
lash=4;FlashWidth=1;Checksum=0x00008fa7;SigMax=3;Sig_3=268574598ea909fa3d673c4e4f85328e3a2a37ce0da6a5e51930d6d89621919bdcae01e680fa9
1a330cf2e280849825c31dbfa253a97f78ae2d8f34819e9f0e053d76cbf4eae57629307c50b267ceea2222b2ec8435be83cc68cdb060cb28ed4c8990f6b8900e0aee
8f9fa57987bd925f476f7e0f56f83376491fbedffe3f17c;
Copyright (c) 2000-2010 Polycom, Inc.

#### A BUNCH OF UNREADABLE BINARY STUFF FOLLOWS


Anyone have an easy way to tell the version (without having to boot a phone
from it)?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/voiceops/attachments/20110628/151dfede/attachment-0001.html>

------------------------------

Message: 2
Date: Tue, 28 Jun 2011 13:27:15 -0400
From: PE <peeip989 at gmail.com>
To: Brandon Buckner <BrandonB at netins.com>
Cc: "voiceops at voiceops.org" <voiceops at voiceops.org>
Subject: Re: [VoiceOps] How to determine Polycom firmware version
Message-ID: <BANLkTi=-GRMaztSbPLzmdA6_qPAx_Ou1ww at mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"

I'm an idiot. I thought I had done it on a sip file and that it was telling
me it wanted Bootrom 4.3.0.  Oops.

Thanks Brandon.



On Tue, Jun 28, 2011 at 1:18 PM, Brandon Buckner <BrandonB at netins.com>wrote:

> Do the same command on a sip.ld file. The firmware and bootrom are two
> different files. ****
>
> ** **
>
> -bash-3.00$ strings 2345-12600-001.sip.ld | head****
>
> B5(!b****
>
> Application****
>
> 08-Sep-08 14:46****
>
> 3.1.0****
>
>
> Iter=C;BuildID=0084;AppType=1;Config=15;Cpu=8;Dsp=32;Flash=41352;Gpio=296960;Key=384;Lcd=33792;PhoneType=3801088;Phy=272;TargetFlash
> ****
>
>
> =6;FlashWidth=1;Checksum=0x00008f03;SigMax=3;Sig_3=8a1d05e3144e710ce0a2be32c66e4131c087da7076cf92d5b9b675a2a1eb178d9cb18f99ecae30f6c
> ****
>
>
> ae65c96e5489aed1420205d0aaa34c1501c26050ffac620b91cb3a47b2a880609b520582c6a57b3673473c5e018b10c57b5938d71b7252382490feed0839a4f8dcb3
> ****
>
> 308f1b708cb0cb64f79d6f154c29d5247c3df91473c;****
>
> Copyright (c) 2000-2008 Polycom, Inc.****
>
> ** **
>
> I also always rename the file to include the version number so they?re a
> bit easier to track, even if in different directories. Such as:****
>
> ** **
>
> -bash-3.00$ strings sip_316.ld | head****
>
> Application****
>
> 01-Dec-09 12:35****
>
> 3.1.6****
>
>
> Iter=A;BuildID=0017;AppType=1;Config=15;Cpu=1;Dsp=2;Flash=40;Gpio=4;Key=1;Lcd=9;PhoneType=8;Phy=2;TargetFlash=2;FlashWidth=1;Checksum=0x00008ba7;SigMax=3;Sig_3=5e20e0e7a5d9ca55d7ea518de53430e06b7b77d35a98cb0ba0b942540d0b8620797f4fdecddec8b850b47ea615fd6fb133a3e8242127f3321f79bd810d977e79e9908f9eb00ce8ccc46226c74340db76cc37f9c295a1da4f494ae5033e2d018747e0fe77de7eb490ee22b8bd688511f31719f240d802c47dad7a49cab5c250d0;
> ****
>
> Copyright (c) 2000-2009 Polycom, Inc.****
>
> ** **
>
> ** **
>
> *---*
>
> *Brandon Buckner*
>
> *Switching Technician / VoIP Admin***
>
> *Iowa Network Services*
>
> *brandonb at netins.com*
>
> ** **
>
> ** **
>
> *From:* voiceops-bounces at voiceops.org [mailto:
> voiceops-bounces at voiceops.org] *On Behalf Of *PE
> *Sent:* Tuesday, June 28, 2011 11:52 AM
> *To:* voiceops at voiceops.org
> *Subject:* [VoiceOps] How to determine Polycom firmware version****
>
> ** **
>
> If I have multiple copies of polycom firmware on a server (in different
> directories, of course), is there any way to know what version it is? The
> phones seem to be able to tell by downloading the 4k, but I don't see a
> firmware version.There appears to be header info in the file but nothing
> that tells me explicitly that this is, for example, v3.3.1. Even the phone
> type is cryptic (8388608 = 450?)****
>
> ** **
>
> ** **
>
> # strings /tmp/2345-12450-001.bootrom.ld | more****
>
> %r;0****
>
> BootRom****
>
> 04-Jun-10 17:08****
>
> 4.3.0****
>
>
> Iter=A;BuildID=0246;SigKey=8;Config=11;Cpu=8;Dsp=32;Flash=41344;Gpio=1048576;Key=1056768;Lcd=262144;PhoneType=8388608;Phy=16;TargetF
> ****
>
>
> lash=4;FlashWidth=1;Checksum=0x00008fa7;SigMax=3;Sig_3=268574598ea909fa3d673c4e4f85328e3a2a37ce0da6a5e51930d6d89621919bdcae01e680fa9
> ****
>
>
> 1a330cf2e280849825c31dbfa253a97f78ae2d8f34819e9f0e053d76cbf4eae57629307c50b267ceea2222b2ec8435be83cc68cdb060cb28ed4c8990f6b8900e0aee
> ****
>
> 8f9fa57987bd925f476f7e0f56f83376491fbedffe3f17c;****
>
> Copyright (c) 2000-2010 Polycom, Inc.****
>
> ** **
>
> #### A BUNCH OF UNREADABLE BINARY STUFF FOLLOWS****
>
> ** **
>
> ** **
>
> Anyone have an easy way to tell the version (without having to boot a phone
> from it)?****
>
> ** **
>
> Thanks****
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/voiceops/attachments/20110628/bb83f23c/attachment-0001.html>

------------------------------

Message: 3
Date: Tue, 28 Jun 2011 12:18:30 -0500
From: Brandon Buckner <BrandonB at netins.com>
To: "'PE'" <peeip989 at gmail.com>, "'voiceops at voiceops.org'"
	<voiceops at voiceops.org>
Subject: Re: [VoiceOps] How to determine Polycom firmware version
Message-ID:
	<947EB56E56A8634AA29D7ED8E56D469001845637404C at E2K7CCR.iowanetworkservices.net>
	
Content-Type: text/plain; charset="us-ascii"

Do the same command on a sip.ld file. The firmware and bootrom are two different files.

-bash-3.00$ strings 2345-12600-001.sip.ld | head
B5(!b
Application
08-Sep-08 14:46
3.1.0
Iter=C;BuildID=0084;AppType=1;Config=15;Cpu=8;Dsp=32;Flash=41352;Gpio=296960;Key=384;Lcd=33792;PhoneType=3801088;Phy=272;TargetFlash
=6;FlashWidth=1;Checksum=0x00008f03;SigMax=3;Sig_3=8a1d05e3144e710ce0a2be32c66e4131c087da7076cf92d5b9b675a2a1eb178d9cb18f99ecae30f6c
ae65c96e5489aed1420205d0aaa34c1501c26050ffac620b91cb3a47b2a880609b520582c6a57b3673473c5e018b10c57b5938d71b7252382490feed0839a4f8dcb3
308f1b708cb0cb64f79d6f154c29d5247c3df91473c;
Copyright (c) 2000-2008 Polycom, Inc.

I also always rename the file to include the version number so they're a bit easier to track, even if in different directories. Such as:

-bash-3.00$ strings sip_316.ld | head
Application
01-Dec-09 12:35
3.1.6
Iter=A;BuildID=0017;AppType=1;Config=15;Cpu=1;Dsp=2;Flash=40;Gpio=4;Key=1;Lcd=9;PhoneType=8;Phy=2;TargetFlash=2;FlashWidth=1;Checksum=0x00008ba7;SigMax=3;Sig_3=5e20e0e7a5d9ca55d7ea518de53430e06b7b77d35a98cb0ba0b942540d0b8620797f4fdecddec8b850b47ea615fd6fb133a3e8242127f3321f79bd810d977e79e9908f9eb00ce8ccc46226c74340db76cc37f9c295a1da4f494ae5033e2d018747e0fe77de7eb490ee22b8bd688511f31719f240d802c47dad7a49cab5c250d0;
Copyright (c) 2000-2009 Polycom, Inc.


---
Brandon Buckner
Switching Technician / VoIP Admin
Iowa Network Services
brandonb at netins.com<mailto:brandonb at netins.com>


From: voiceops-bounces at voiceops.org [mailto:voiceops-bounces at voiceops.org] On Behalf Of PE
Sent: Tuesday, June 28, 2011 11:52 AM
To: voiceops at voiceops.org
Subject: [VoiceOps] How to determine Polycom firmware version

If I have multiple copies of polycom firmware on a server (in different directories, of course), is there any way to know what version it is? The phones seem to be able to tell by downloading the 4k, but I don't see a firmware version.There appears to be header info in the file but nothing that tells me explicitly that this is, for example, v3.3.1. Even the phone type is cryptic (8388608 = 450?)


# strings /tmp/2345-12450-001.bootrom.ld | more
%r;0
BootRom
04-Jun-10 17:08
4.3.0
Iter=A;BuildID=0246;SigKey=8;Config=11;Cpu=8;Dsp=32;Flash=41344;Gpio=1048576;Key=1056768;Lcd=262144;PhoneType=8388608;Phy=16;TargetF
lash=4;FlashWidth=1;Checksum=0x00008fa7;SigMax=3;Sig_3=268574598ea909fa3d673c4e4f85328e3a2a37ce0da6a5e51930d6d89621919bdcae01e680fa9
1a330cf2e280849825c31dbfa253a97f78ae2d8f34819e9f0e053d76cbf4eae57629307c50b267ceea2222b2ec8435be83cc68cdb060cb28ed4c8990f6b8900e0aee
8f9fa57987bd925f476f7e0f56f83376491fbedffe3f17c;
Copyright (c) 2000-2010 Polycom, Inc.

#### A BUNCH OF UNREADABLE BINARY STUFF FOLLOWS


Anyone have an easy way to tell the version (without having to boot a phone from it)?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/voiceops/attachments/20110628/c8df0d2f/attachment.html>

------------------------------

_______________________________________________
VoiceOps mailing list
VoiceOps at voiceops.org
https://puck.nether.net/mailman/listinfo/voiceops


End of VoiceOps Digest, Vol 24, Issue 26
****************************************




More information about the VoiceOps mailing list