[cisco-voip] grabbing screen shots from 7940/7960
Pawlowski, Adam
ajp26 at buffalo.edu
Wed Nov 26 11:47:26 EST 2008
I use the cip2gif utility in this manner and have no issue with it, but I do not parse the XML to add any sort of line breaks or carriage returns, and from a 7940 I don't get those !'s in my image, or paragraphs of image data.
That output does not look correct anyways.
Adam Pawlowski
CIT/OSS Repair Services
ajp26 at buffalo.edu
Message: 1
Date: Wed, 26 Nov 2008 10:46:15 -0500 (EST)
From: Lelio Fulgenzi <lelio at uoguelph.ca>
Subject: Re: [cisco-voip] grabbing screen shots from 7940/7960
To: Bill Talley <billt at aos5.com>
Cc: cisco-voip voyp list <cisco-voip at puck.nether.net>
Message-ID:
<1954262168.8079201227714375045.JavaMail.root at superior.cs.uoguelph.ca>
Content-Type: text/plain; charset="utf-8"
I get the output shown below...XML format. I tried registering the DLL and it still doesn't work.
Why does Cisco make it so hard!!??!?!?!
---
Lelio Fulgenzi, B.A.
Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1
(519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"Bad grammar makes me [sic]" - Tshirt
----- Original Message -----
From: "Bill Talley" <billt at aos5.com>
To: "Lelio Fulgenzi" <lelio at uoguelph.ca>, "Wes Sisk" <wsisk at cisco.com>
Cc: "cisco-voip voyp list" <cisco-voip at puck.nether.net>
Sent: Wednesday, November 26, 2008 10:37:24 AM GMT -05:00 US/Canada Eastern
Subject: RE: [cisco-voip] grabbing screen shots from 7940/7960
What do you get if you browse to http://{phoneip}/CGI/Screenshot ?
You may need to install and register cipimage.dll from the IP Phone Services SDK(instructions below).for it to work, but you should get a screenshot of the current phone display.
Make a folder somewhere on your system (e.g. - C:\CIP)
Copy vic32.dll, CipImage.dll, and ImageViewer.exe to the new directory.
At a command prompt, CD to that directory, and type "regsvr32 cipimage.dll" to register the ActiveX interfaces...
From: cisco-voip-bounces at puck.nether.net [mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Lelio Fulgenzi
Sent: Wednesday, November 26, 2008 9:18 AM
To: Wes Sisk
Cc: cisco-voip voyp list
Subject: Re: [cisco-voip] grabbing screen shots from 7940/7960
Tried that....but it puked.
C:\CiscoIPServices\Tools>cip2gif.exe screenshot.cip screenshot.gif
Converting Cisco Image File screenshot.cip to GIF screenshot.gif
Exception thrown processing image: Invalid at the top level of the document.
The screenshot.cip file I get looks like this. Do I have to edit it?
- <CiscoIPPhoneImage>
<LocationX>-1</LocationX>
<LocationY>-1</LocationY>
<Height>100</Height>
<Width>160</Width>
<Depth>2</Depth>
<Data>FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF03000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF030000003FFCF0FFFCF0FFF3CFFF0FCFFFFFF0C3FFFFFFFFFFFF033C3FFCF0C3F3CF3F3FFCF0FFFF03000000CF33CF3F3CCFFFF0C33FF3CCFC33CF3CFFFFFFFFFFFFF30FCF33CF3C33CF0CCF33CFFFFF03000000FFF3CFFC3CC3FFF3CFFFFFCCFC3FC33CFFFFFFFFFFFF033FCF33CF3F33CF3CFF33C3FFFF03000000FFFCF0FF3CCCFFF3CFCF3FCFFC3CCCC3FFFFFFFFFFFFFF3C3FF0F0CF33CF3CFF3CCCFFFF030000003FFFCFFC3CCFFFF3CFFFCF0FF03FCF3CFFFFFFFFFFFFFF3CFF33CFF3030C303F3FCFFFFF03000000CF3FCFFF3CCFFFF3CFF3F3FF3C3FCF3CFFFFFFFFFFFFF33CCF33CFFC3FFF3CCF3FCFFFFF030000000FF0F03FF0F0FFC003FF03FCFCFFF0C3FFFFFFFFFFFF0F0F3CFCF0003FFF0C0CF0F0FFFF03000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF03000000555555555555555555555555555555555555555555555555555555555555555555555555010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000!
000000000000000000000000000000000000000000000000000000000000000C0C00000C00F000000F00003C3003C0F303CF0C0C3003F000000000033000FFD1F00000000000000C0F30000C030000000C00003C300300C0CC30C330C03C300000000C033C330073400000000000000C0CCF0C3CF303CFCC0CFF003C3F0330C0CF3CC030C03C3F0C0C3330033C330F40700000000000000C0CC0C33CC30C30C33CC0C03FF0C330C0CCF3C0303033F0C33CCCC0033033FFC0F00000000000000C0C00C33C030C30C33CC0C03C30C330C0CC30CC30003C30C33CCCC00F30F30FC0F00000000000000C0C0CC33C030C30C33CF0C03C3CC330C0CC30C330003C30C33CCCC0003C330000000000000000000C0C030C3CF0F3C0CC3CCF003C330330C303CF0F0CF00C3F0C0C3CCC00F030F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000555555555555555555555555555555555555555555555555555555555555555555555555010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000!
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000555555555555555555555555555555555555555555555555555555555555555555555555010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F00F0F3CF0C003FD1F0000000000000000000000000000000000000000000000000000000000000030C030C30C330C073400000000
000000000000000000000000000000000000000000000000000000F0C330F300030CF4!
0700000000000000000000000000000000000000000000000000000000000000000C0FCFF00003FC0F0000000000000000000000000000000000000000000000000000000000000000CC30C300C300FC0F0000000000000000000000000000000000000000000000000000000000000030CC30C30C3300000000000000000000000000000000000000000000000000000000000000000000C0030F3CF0F00F00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000555555555555555555555555555555555555555555555555555555555555555555555555010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C0030C3CF0F00FFD1F0000000000000000000000000000000000000000000000000000000000000030000FC30C030C07340000000000000000000000000000000000000000000000000000000000000030000CF3CC0303F40700000000000000000000000000000000000000000000000000000000000000F0030CCF3CC300FC0F00000000000000000000000000!
000000000000000000000000000000000000300C0CC30CC300FC0F000000000000000 00000000000000000000000000000000000000000000000300C0CC30CC300000000000000000000000000000000000000000000000000000000000000000000C0033F3CF0C00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000555555555555555555555555555555555555555555555555555555555555555555555555010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000C03F0303000303030300000C0C0000C00F00000000000000000000C03F03F030000FFD1F00000000C00003030003C00C0000000C000000C03000000000000000000000C000330C33C330073400000000C0000FC3C3CFC3C0C30F3F3F0F0F3FC0303CF0F3030F3FF0C30300C00F330C33C330F40700000000C00F33330C03F30333CC300CCC30C3C00FC30C30CC30C30C300CFC003033F033033FFC0F00000000C000C3330C03C30033C0300CCC30C3C030FFF030CC30C3F0F00F000030FF00F30F30FC0F00000000C00003330C33C30033C03CCCCC30C3C0300300F3C330C3
00330000C030300C03C330000000000000C03F03C3030CC300C30F33300C0FC3C0303C!
FC30000FC3FCC00300000F30F000030F00000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000555555555555555555555555555555555555555555555555555555555555555555555555010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000F00F0FFFFCC303FD1F0000000000000000000000000000000000000000000000000000000000000030C0300300330C073400000000000000000000000000000000000000000000000000000000000000F003303FC0300CF40700000000000000000000000000000000000000000000000000000000000000000C0CC030C00FFC0F00000000000000000000000000000000000000000000000000000000000000000C03C030000CFC0F0000000000000000000000000000000000000000000000000000000000000030CC00C330300C000000000000000000000000000000000000000000000000000000000000000000C0C33F3C30C0030000000000000000000000000000000000000000000000000000000000000000000000000000!
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0A0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000303000000000000000000000030000000C0C00000000000000000000000000000000000000000000303000000000000000000000030000000C00000000000000000000000000000000000000000000003C3C330F3003FC3CC330F0F3FFC003CFCF0F3F0F0033F0000000000000000000000000000000000CC30CC300FC030C33CF0C030C33000C30CC3C00C33CC0000000000000000000000000000000000003030CC3003C000C30C30C03FC33000C30CC3C00C330C0F00000000000000000000000000000000003030CC3003C000C30C30C000C33003C3FCC0CC0C330C30000000000000000000000000000000000030C0033F03003FFC0C30000FC3C0003C0C00C3F030CC0F0000000000000000000000000000000000000000000000000000000000000000000C00000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000405!
555555555555505405555555555555505405555555555555505405555555555555505000000005055555555555555155055555555555555155455555555555555151000000000000000100000000054F55755D575555F557475555555F555F57DF4F55F55D5F575D5550400000000000000400000000054755D55D555555D5574755555555D57D5755C775555D55D77D5550400000000000000400000000054755D5FFD7DFD5D55F4757DDD5D5DD5DF755C757577FD5D77D5550400CFC0C33C3C00400000000054F5D775D775D75D557477D7DD5D5D75DD755CF57777D7FD77D55504003333CC03C30040000000005475DD7FD775D75D55747DFFDD5D5D75DD755C757577D75D77D55504003333CC00FF0040000000005475DD55D775F75D55747557DD5D5D77DF755C777577D75D77D55504003333CC000300400000000054755D5FFD75DD5D5574757DF557F5D5DD75F475D55FFD5DF7DF7F040033C3C3003C0040000000005455555555555555555455555555555555555455555555555555550400000000000000400000000054555555555555555554555555555555555554555555555555555504000000000000004000000000</Data>
</CiscoIPPhoneImage>
---
Lelio Fulgenzi, B.A.
Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1
(519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"Bad grammar makes me [sic]" - Tshirt
----- Original Message -----
From: "Wes Sisk" <wsisk at cisco.com>
To: "Lelio Fulgenzi" <lelio at uoguelph.ca>
Cc: "cisco-voip voyp list" <cisco-voip at puck.nether.net>
Sent: Tuesday, November 25, 2008 12:07:16 AM GMT -05:00 US/Canada Eastern
Subject: Re: [cisco-voip] grabbing screen shots from 7940/7960
there is an image decoder in the ip phone services sdk.. same one used to develop your own ldap directory. /wes
On Monday, November 24, 2008 11:22:57 PM, Lelio Fulgenzi <lelio at uoguelph.ca> wrote:
Anybody have any clues on how to convert the XML file you get from a screenshot from a 7940/60 into a gif?
I tried using the cip2gif exe but it pukes. I can't even seem to view the cip file using imageviewer.
---
Lelio Fulgenzi, B.A.
Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1
(519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"Bad grammar makes me [sic]" - Tshirt
_______________________________________________
cisco-voip mailing list cisco-voip at puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-voip
CONFIDENTIALITY NOTICE: This electronic mail transmission (including any accompanying attachments) is intended solely for its authorized recipient(s), and may contain confidential and/or legally privileged information. If you are not an intended recipient, or responsible for delivering some or all of this transmission to an intended recipient, be aware that any review, copying, printing, distribution, use or disclosure of the contents of this message is strictly prohibited. If you have received this electronic mail message in error, please delete it from your system without copying it, and contact sender immediately by Reply e-mail, or by calling 913-307-2300, so that our address records can be corrected. Although this e-mail and any attachments are believed to be free of any virus or other defect that might negatively affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibili!
ty is accepted by the sender for any loss or damage arising in any way in the event that such a virus or defect exists.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20081126/245b2694/attachment.html>
------------------------------
_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip
End of cisco-voip Digest, Vol 61, Issue 186
*******************************************
More information about the cisco-voip
mailing list