
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
participants (1)
-
Jamie.Montgomery@comporium.com