{"id":319,"date":"2015-01-22T15:32:51","date_gmt":"2015-01-22T20:32:51","guid":{"rendered":"https:\/\/www.scheh.com\/?p=319"},"modified":"2019-04-11T15:34:32","modified_gmt":"2019-04-11T20:34:32","slug":"uc520-desktop-background-phone-images","status":"publish","type":"post","link":"https:\/\/www.scheh.com\/index.php\/2015\/01\/22\/uc520-desktop-background-phone-images\/","title":{"rendered":"UC520 Desktop Background Phone Images"},"content":{"rendered":"\n<p>This post it originally from this website:<\/p>\n\n\n\n<p><a href=\"http:\/\/www.linuxnoobie.com\/?p=18\">http:\/\/www.linuxnoobie.com\/?p=18<\/a><\/p>\n\n\n\n<p>I\u2019m using a Cisco UC520 with Cisco Phone 7975 and 7945.<\/p>\n\n\n\n<p><strong>Step One: Create Your Images.<\/strong><\/p>\n\n\n\n<p>I use Photoshop CS4, but any photo editing software should do.<\/p>\n\n\n\n<p>The images need to be 320 x 212 and saved in PNG format. &nbsp;I found that all the different was Photoshop saves PNGs tended to work. &nbsp;(Save for Web\u2026 vs Save As\u2026) &nbsp;I used the PNG-24 format on Save For Web\u2026<\/p>\n\n\n\n<p>The key is\u2026 save is as a PNG and don\u2019t get too hung up on all of the color density gobbledy gook they talk about on the Cisco website.<\/p>\n\n\n\n<p>Now create thumbnails for these images by resizing each image to 80\u00d753. &nbsp;It doesn\u2019t matter what filename you use, just keep it consistent.<\/p>\n\n\n\n<p>Just for reference, here are a few of the backgrounds I used:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i0.wp.com\/web.archive.org\/web\/20150602234049\/http%3A\/\/www.linuxnoobie.com\/wp-content\/uploads\/2010\/07\/IwoJima.png\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/web.archive.org\/web\/20150602234049im_\/http%3A\/\/www.linuxnoobie.com\/wp-content\/uploads\/2010\/07\/IwoJima.png?w=800\" alt=\"\"\/><\/a><figcaption>IwoJima.png<\/figcaption><\/figure>\n\n\n\n<p><strong>Step Two: Transfer the Files to the UC520.<\/strong><\/p>\n\n\n\n<p>Now, get a TFTP server running on your local PC and put all of the PNG files into the TFTP directory. &nbsp;Since I use a Mac, I use the TFTP Server GUI&nbsp;<a href=\"http:\/\/web.archive.org\/web\/20150602234049\/http:\/\/ww2.unime.it\/flr\/tftpserver\/\" target=\"_blank\" rel=\"noreferrer noopener\">found here<\/a>.<\/p>\n\n\n\n<p>Once the server is up and running, log into your UC520 Command Line.<\/p>\n\n\n\n<p>Go into the \u201cflash:Desktops\/\u201d Directory by typing<br><code># cd flash:Desktops\/<br># dir<\/code><\/p>\n\n\n\n<p>This will print out a list of all of the desktop image files in your system.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Directory of flash:\/Desktops\/\n130 \u00a0drw- \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 0 \u00a0Jan 10 2009 03:21:46 -06:00 \u00a0320x212x12\n132 \u00a0drw- \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 0 \u00a0Jan 10 2009 03:21:48 -06:00 \u00a0320x212x16\n134 \u00a0drw- \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 0 \u00a0Jan 10 2009 03:21:48 -06:00 \u00a0320x216x16\n136 \u00a0-rw- \u00a0 \u00a0 \u00a0131470 \u00a0Jan 10 2009 03:21:50 -06:00 \u00a0CampusNight.png\n137 \u00a0-rw- \u00a0 \u00a0 \u00a0 80565 \u00a0Jan 10 2009 03:21:50 -06:00 \u00a0CiscoFountain.png\n138 \u00a0-rw- \u00a0 \u00a0 \u00a0 \u00a08156 \u00a0Jan 10 2009 03:21:52 -06:00 \u00a0CiscoLogo.png\n139 \u00a0-rw- \u00a0 \u00a0 \u00a0138278 \u00a0Jan 10 2009 03:21:52 -06:00 \u00a0Fountain.png\n140 \u00a0-rw- \u00a0 \u00a0 \u00a0109076 \u00a0Jan 10 2009 03:21:54 -06:00 \u00a0MorroRock.png\n141 \u00a0-rw- \u00a0 \u00a0 \u00a0108087 \u00a0Jan 10 2009 03:21:54 -06:00 \u00a0NantucketFlowers.png\n142 \u00a0-rw- \u00a0 \u00a0 \u00a0 10820 \u00a0Jan 10 2009 03:21:56 -06:00 \u00a0TN-CampusNight.png\n143 \u00a0-rw- \u00a0 \u00a0 \u00a0 \u00a09657 \u00a0Jan 10 2009 03:21:56 -06:00 \u00a0TN-CiscoFountain.png\n144 \u00a0-rw- \u00a0 \u00a0 \u00a0 \u00a02089 \u00a0Jan 10 2009 03:21:56 -06:00 \u00a0TN-CiscoLogo.png\n145 \u00a0-rw- \u00a0 \u00a0 \u00a0 \u00a07953 \u00a0Jan 10 2009 03:21:58 -06:00 \u00a0TN-Fountain.png\n146 \u00a0-rw- \u00a0 \u00a0 \u00a0 \u00a07274 \u00a0Jan 10 2009 03:21:58 -06:00 \u00a0TN-MorroRock.png\n147 \u00a0-rw- \u00a0 \u00a0 \u00a0 \u00a09933 \u00a0Jan 10 2009 03:21:58 -06:00 \u00a0TN-NantucketFlowers.png\n128184320 bytes total (21442560 bytes free)<\/code><\/pre>\n\n\n\n<p>The first three directories (320x212x12, etc\u2026) contain a \u201cList.xml\u201d file. &nbsp;We\u2019ll get to this file in a minute.<\/p>\n\n\n\n<p>Upload your images by typing the command:<br><code># copy tftp:&lt;filenameOfFile.png&gt; flash:\/Desktops\/<\/code><\/p>\n\n\n\n<p>It will then ask you what the IP address is of your TFTP server (this is your local PC\u2019s IP address) and it will copy the file to the UC500.<\/p>\n\n\n\n<p>Repeat this for the thumbnail file as well:<br><code># copy tftp:&lt;filenameOfThumbnail.png&gt; flash:\/Desktops\/<\/code><\/p>\n\n\n\n<p><strong>Step 3: Edit the List.xml file.<\/strong><\/p>\n\n\n\n<p>The List.xml files (located in the 320x212x12, 320x212x16, and 320x216x16) directories is an xml file that the phones read to know the location of the PNG files we just created. &nbsp;The XML file looks like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> \n\n&lt;CiscoIPPhoneImageList>\n\n&lt;ImageItem Image=\"flash:\/Desktops\/TN-NantucketFlowers.png\"\nURL=\"flash:\/Desktops\/NantucketFlowers.png\"\/>\n\n&lt;ImageItem Image=\"flash:\/Desktops\/TN-CampusNight.png\"\nURL=\"flash:\/Desktops\/CampusNight.png\"\/>\n\n&lt;ImageItem Image=\"flash:\/Desktops\/TN-Fountain.png\"\nURL=\"flash:\/Desktops\/Fountain.png\"\/>\n\n&lt;ImageItem Image=\"flash:\/Desktops\/TN-MorroRock.png\"\nURL=\"flash:\/Desktops\/MorroRock.png\"\/>\n\n&lt;ImageItem Image=\"flash:\/Desktops\/TN-CiscoLogo.png\"\nURL=\"flash:\/Desktops\/CiscoLogo.png\"\/>\n\n&lt;\/CiscoIPPhoneImageList>\n\n<\/code><\/pre>\n\n\n\n<p>Downloading this list was tricky for me. First, I had to create a blank xml file in my TFTP directory (I called it List.xml) and make it world writable. (equivalent of chmod 777) This allows the TFTP server access to overwrite the file.<\/p>\n\n\n\n<p>Then in the CLI, I ran:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># copy flash:\/Desktops\/320x212x12\/List.xml tftp:List.xml<\/pre>\n\n\n\n<p>This copied the contents of the file over my temporary copy.<\/p>\n\n\n\n<p>Now, edit this list and add your new file. The \u201cImage\u201d attribute in the XML refers to the thumbnail file while the \u201cURL\u201d attribute refers to the full image file.<\/p>\n\n\n\n<p>For the file I included above, it would be this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;ImageItem Image=\"flash:\/Desktops\/IwoJimaThumb.png\"\nURL=\"flash:\/Desktops\/IwoJima.png\"\/><\/code><\/pre>\n\n\n\n<p><strong>Step 4: Tell your UC500\u2032s TFTP Server about the files<\/strong><\/p>\n\n\n\n<p>When I was figuring this out on my own, this was the step that I couldn\u2019t figure out. It was NO WHERE in documentation that I could find.<\/p>\n\n\n\n<p>I was going up to my phone, going into the Desktop Background chooser, and seeing empty spots where my pictures were supposed to be. The files were there, the XML was in place\u2026 WHY WASN\u2019T IT WORKING!<\/p>\n\n\n\n<p>Running debug commands to see the output of the TFTP traffic between the UC500 and Phones revealed that the phones were requesting the new graphics, but never getting them.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># terminal monitor\n# debug tftp event\n#\n#\n*Jul 31 04:19:07.484: TFTP: Looking for Desktops\/320x216x16\/List.xml\n*Jul 31 04:19:07.564: TFTP: Opened flash:Desktops\/320x216x16\/List.xml, fd 10, size 916 for process 169\n*Jul 31 04:19:07.568: TFTP: Finished flash:Desktops\/320x216x16\/List.xml, time 00:00:00 for process 169\n*Jul 31 04:18:14.153: TFTP: Looking for \/Desktops\/IwoJimaThumb.png\n*Jul 31 04:19:08.664: TFTP: Looking for \/Desktops\/TN-NantucketFlowers.png\n*Jul 31 04:19:08.728: TFTP: Opened flash:\/Desktops\/TN-NantucketFlowers.png, fd 10, size 9933 for process 169\n*Jul 31 04:19:08.768: TFTP: Finished flash:\/Desktops\/TN-NantucketFlowers.png, time 00:00:00 for process 169<\/code><\/pre>\n\n\n\n<p>I stumbled upon the solution in the documentation for uploading ring tones\u2026 and here it is\u2026<br>I had not told the TFTP server of the UC500 it was OK to serve up those files. This config is stored in the running config of the UC.<\/p>\n\n\n\n<p>So I had to run this command for each file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># config t\n(config)# tftp-server flash:\/Desktops\/IwoJima.png\n(config)# tftp-server flash:\/Desktops\/IwoJimaThumb.png\n... etc.... <\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This post it originally from this website: http:\/\/www.linuxnoobie.com\/?p=18 I\u2019m using a Cisco UC520 with Cisco Phone 7975 and 7945. Step One: Create Your Images. I use Photoshop CS4, but any photo editing software should do. The images need to be 320 x 212 and saved in PNG format. &nbsp;I found that all the different was [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-319","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3eyIP-59","_links":{"self":[{"href":"https:\/\/www.scheh.com\/index.php\/wp-json\/wp\/v2\/posts\/319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scheh.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scheh.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scheh.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scheh.com\/index.php\/wp-json\/wp\/v2\/comments?post=319"}],"version-history":[{"count":0,"href":"https:\/\/www.scheh.com\/index.php\/wp-json\/wp\/v2\/posts\/319\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.scheh.com\/index.php\/wp-json\/wp\/v2\/media?parent=319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scheh.com\/index.php\/wp-json\/wp\/v2\/categories?post=319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scheh.com\/index.php\/wp-json\/wp\/v2\/tags?post=319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}