[cisco-voip] SSH to CallManager 7x get bad output

Jason Aarons (AM) jason.aarons at dimensiondata.com
Wed Jun 6 15:43:33 EDT 2012


I wonder if it was a bug in my CCM 7.1.3

I get odd char in front of “ with both Putty/SecureCRT.

PS Thanks for sharing your output.  I just have to remember to cleanup any screen scrapes on List.xml before editing/uploading.

From: Lelio Fulgenzi [mailto:lelio at uoguelph.ca]
Sent: Wednesday, June 06, 2012 3:33 PM
To: Jason Aarons (AM)
Cc: cisco-voip (cisco-voip at puck.nether.net)
Subject: Re: [cisco-voip] SSH to CallManager 7x get bad output


using putty, it works fine for me:

=====
admin:file view tftp Desktops/640x480x24/List.xml

<CiscoIPPhoneImageList>
<!-- Please Add Images to the end of the list-->
<ImageItem Image="TFTP:Desktops/640x480x24/Kubrick_dark_2_thumb.png" URL="TFTP:Desktops/640x480x24/Kubrick_dark_2.png"/>
<ImageItem Image="TFTP:Desktops/640x480x24/Kubrick_light_2_thumb.png" URL="TFTP:Desktops/640x480x24/Kubrick_light_2.png"/>
<ImageItem Image="TFTP:Desktops/640x480x24/green_9836_thumb.png" URL="TFTP:Desktops/640x480x24/green_9836.png"/>
<ImageItem Image="TFTP:Desktops/640x480x24/green_stem_6254_thumb.png" URL="TFTP:Desktops/640x480x24/green_stem_6254.png"/>
<ImageItem Image="TFTP:Desktops/640x480x24/green_9802_thumb.png" URL="TFTP:Desktops/640x480x24/green_9802.png"/>
<ImageItem Image="TFTP:Desktops/640x480x24/yellow_6744_thumb.png" URL="TFTP:Desktops/640x480x24/yellow_6744.png"/>
<ImageItem Image="TFTP:Desktops/640x480x24/lights_8454_thumb.png" URL="TFTP:Desktops/640x480x24/lights_8454.png"/>
<ImageItem Image="TFTP:Desktops/640x480x24/lights_8787_thumb.png" URL="TFTP:Desktops/640x480x24/lights_8787.png"/>
<ImageItem Image="TFTP:Desktops/640x480x24/lights_8660_optn_thumb.png" URL="TFTP:Desktops/640x480x24/lights_8660_optn.png"/>
<ImageItem Image="TFTP:Desktops/640x480x24/lights_8839_thumb.png" URL="TFTP:Desktops/640x480x24/lights_8839.png"/>
<ImageItem Image="TFTP:Desktops/640x480x24/red_0328_thumb.png" URL="TFTP:Desktops/640x480x24/red_0328.png"/>
<ImageItem Image="TFTP:Desktops/640x480x24/yellow_0379_thumb.png" URL="TFTP:Desktops/640x480x24/yellow_0379_UI.png"/>
<ImageItem Image="TFTP:Desktops/640x480x24/red_6052_thumb.png" URL="TFTP:Desktops/640x480x24/red_6052.png"/>
<ImageItem Image="TFTP:Desktops/640x480x24/purple_5887_thumb.png" URL="TFTP:Desktops/640x480x24/purple_5887_UI.png"/>
</CiscoIPPhoneImageList>

end of the file reached
options: q=quit, n=next, p=prev, b=begin, e=end (lines 1 - 17 of 17) :
admin:

admin:show version active
Active Master Version: 7.1.5.32900-2

=====

---
Lelio Fulgenzi, B.A.
Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1
(519) 824-4120 x56354 (519) 767-1060 FAX (ANNU)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Cooking with unix is easy. You just sed it and forget it.
                              - LFJ (with apologies to Mr. Popeil)

________________________________
From: "Jason Aarons (AM)" <jason.aarons at dimensiondata.com>
To: "cisco-voip (cisco-voip at puck.nether.net)" <cisco-voip at puck.nether.net>
Sent: Wednesday, June 6, 2012 3:04:01 PM
Subject: [cisco-voip] SSH to CallManager 7x get bad output


Am I doing something wrong here with file view command?

I ssh to CallManager 7.1.3 and issue a file view and some characters are garbage?  I’ve tried different things with no luck. Using SecureCRT 6.7.5.

Bad
admin:file view tftp Desktops/320x212x16/List.xml

<CiscoIPPhoneImageList>
<ImageItem Image=”TFTP:Desktops/320x212x12/CorpLogo-TN.PNG” URL=”TFTP:Desktops/320x212x12/CorpLogo.PNG”/>
</CiscoIPPhoneImageList>

end of the file reached
options: q=quit, n=next, p=prev, b=begin, e=end (lines 1 - 3 of 3) :
admin:show version active
Active Master Version: 7.1.3.10000-11

Active Version Installed Software Options:
cmterm-7945_7965-sccp.8-3-3.cop
admin:




Below is the correct version of List.xml; note the above has extra  characters before the quotes. If you run a diff of above and below you see what I mean;

<CiscoIPPhoneImageList>
<ImageItem Image=”TFTP:Desktops/320x212x16/CCIE-Backgroup-TN.PNG”
URL=”TFTP:Desktops/320x212x16/CCIE-Backgroup.PNG”/>
</CiscoIPPhoneImageList>

_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>
https://puck.nether.net/mailman/listinfo/cisco-voip


itevomcid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20120606/c760b5b2/attachment.html>


More information about the cisco-voip mailing list