<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Pushkar bhatkoti's blog........... &#187; CCM 5x 6x 7x stuffs</title>
	<atom:link href="http://pushkarbhatkoti.wordpress.com/category/ccm-5x-6x-7x-stuffs/feed/" rel="self" type="application/rss+xml" />
	<link>http://pushkarbhatkoti.wordpress.com</link>
	<description>Just another CCIE voice certified person's blog....</description>
	<lastBuildDate>Mon, 07 Sep 2009 15:06:44 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='pushkarbhatkoti.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/6d139ceb5b354b59d6e3f1222585db12?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Pushkar bhatkoti's blog........... &#187; CCM 5x 6x 7x stuffs</title>
		<link>http://pushkarbhatkoti.wordpress.com</link>
	</image>
			<item>
		<title>How to check Call manager 6x / 5x / 7x DHCP lease</title>
		<link>http://pushkarbhatkoti.wordpress.com/2009/02/16/how-to-check-call-manager-6x-5x-7x-dhcp-lease/</link>
		<comments>http://pushkarbhatkoti.wordpress.com/2009/02/16/how-to-check-call-manager-6x-5x-7x-dhcp-lease/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 09:39:40 +0000</pubDate>
		<dc:creator>pushkarbhatkoti</dc:creator>
				<category><![CDATA[CCM 5x 6x 7x stuffs]]></category>
		<category><![CDATA[How to check DHCP lease on CCM6x]]></category>
		<category><![CDATA[CCM6x DHCP lease]]></category>
		<category><![CDATA[how to check dhcp lease on CCM 5x 6x 7x]]></category>

		<guid isPermaLink="false">http://pushkarbhatkoti.wordpress.com/?p=197</guid>
		<description><![CDATA[How to check DHCP leases status on cisco CCM 6x
Cisco CCM 5/6/7x still have built-in DHCP server.
Cisco call manager : Obviously, this is a big enterprise level IPTELEPHONY product which really &#8220;WORKS&#8221;. No product is perfect as every product has its cavete and room for improvement.
One of the issue I came across was the issue [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=197&subd=pushkarbhatkoti&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h2><span style="color:#0000ff;"><span style="text-decoration:underline;">How to check DHCP leases status on cisco CCM 6x</span></span></h2>
<p>Cisco CCM 5/6/7x still have built-in DHCP server.</p>
<p>Cisco call manager : Obviously, this is a big enterprise level IPTELEPHONY product which really &#8220;WORKS&#8221;. No product is perfect as every product has its cavete and room for improvement.</p>
<p>One of the issue I came across was the issue with &#8220;How to check&#8221; what address is allocated to which IP phone.<br />
It was long due in my TODO list but I have been flat out recently at work and didn&#8217;t have time to do blog:</p>
<p>Today I just got home and as usual I  was checking my personal email and found an email message from a guy who came through google and hit my  blog asking for the same thing <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Thanks Leonardo for reminding this.</p>
<div class="gmail_quote">On Mon, Feb 16, 2009 at 5:11 AM, Leonardo D&#8217;Urso <span dir="ltr">&lt;l.durso@gmail.com&gt;</span> wrote:</p>
<blockquote class="gmail_quote"><p>hi Pushkar</p>
<p>I am an entusiastic reader of your blog, it&#8217;s great. I work with cisco ipt since 2002.<br />
I have a question for you. Have you ever configured a dhcp service directly on ccm 6.x?</p>
<p>Any idea if it is possible to display via CLI the dhcp leases or scope like in microsoft dhcp server or<br />
like on cisco equipment (for ex. ios: show ip dhcp bindings)?</p>
<p>kind regards<br />
Leonardo<span style="color:#888888;"><br />
&#8211;<br />
Leonardo D&#8217;Urso<br />
</span></p></blockquote>
</div>
<p>After reading above request, I decided to flock through the CCM and cross this off my &#8220;todo list&#8221;</p>
<p>In the past, so far I have done 12-16 call manages 5/6x installation but most of the customer were using their dedicated DHCP and a few of them were using Call manager&#8217;s built-in DHCP server. Back to CCM 4x days, Cisco used to use Microsoft DHCP server (WIN3k or WIN2k) which was full flag and can tell who have what Address at any given time.</p>
<p>In CCM 5/6/7x there is no easy way to check the DHCP lease(es) allocated to IP phones by the DHCP server.</p>
<p>CCM new boxes are Linux based and the DHCP server implementation is also opensources software.</p>
<p>It&#8217;s basically opensource DHCPD daemon (/etc/dhcpd.conf style) which is good and stable but what a shame, this BIG commercial product and it doesn&#8217;t give us a GUI or CLI interface to see what address are leased!<br />
I believe Cisco will give it a go and improve it in the future.</p>
<p>For the time being, here is my workaround to find out the leases (not easy method though as i said above).</p>
<p>There is also some other method to know the status of DHCP leases in cisco CCM DHCP server</p>
<p>Basic information can be collected via SNMP or Syslog server:<br />
- CCM sends DHCP alarm/trap alerts to a SNMP platfarm (HPopenview, Ciscoworks etc)<br />
- CCM also sends same alarms/alerts to a preconfigured Syslog server.</p>
<p>Above information are very basic and that still doesnt&#8217; really tells the status of the leases. Its noticeble and I have observed that the SNMP/SYSLOG alert only triggers  when there is something reallly wrong with DHCPD. For example DHCP pool gets full or there are no IP addresses to allocate to DHCP clients.</p>
<p>Above methods are useless as nobody will wait when there is really problem. Everyone want to see the leases when they want and when they feel. Just think about  stressing alert telling &#8220;Hey bobby the DHCP server has no IP address&#8221;<br />
was sent to you when you were in a night club.</p>
<p>Another way to see the lease alerts could be RTMT tool. but it still doesn&#8217;t do the good job. My method 100% shows DHCP leases. Its a bit hard work but really works.</p>
<p>Here is my method which really works, just need to get the root access to the box. To get access to root shell you have 2 ways:</p>
<p>1. Create a remote account from &#8220;disk recovery&#8221; menu and ask TAC to provide you password.</p>
<p>2. Risky method: the following steps detail the process on how GRUB is reinstalled on the master boot record:</p>
<ul>
<li>Boot the system from an installation boot medium.</li>
<li>Type <tt class="command">linux rescue</tt> at the installation boot prompt to enter the rescue environment.</li>
<li>Type <tt class="command">chroot /mnt/sysimage</tt> to mount the root partition.</li>
<li>Then create username as u create in regular LINUX. &#8216;useradd&#8217; passwd</li>
<li>edit /etc/passwd file and set created users userID and GUID to 0:0</li>
<li>note: 0:0 is for root</li>
<li>after that u can simply ssh it using putty.exe or ssh user@ipaddresofccm</li>
</ul>
<p>Once you got access to CCM root have a look at this file:</p>
<p>cat /etc/dhcp3/dhcp.conf &lt;&#8212;&#8212;&#8212;-this is the main DHCPD config file</p>
<p>Here in that file you will not see anything about where lease file will be pointing to. This is by default pointed to</p>
<p>Now create a file which is visible through the operating system CLI (damn CLI).</p>
<p>type touch /common/download/dhcpleases.hehe</p>
<p>now link default dhcpleases.hehe file to dhcpd.lease file which is in /var/lib/dhcp/dhcpd.leases. /var/lib/dhcp/dhcpd.leases is the default file where DHCPD daemon writes all leaes status.</p>
<p>alternately if you are conforteble with Linux u can just simply do this:</p>
<p>Edit the /etc/dhcpd.conf file and just add this line:</p>
<p>lease-file-name &#8220;/common/download/dhcpd.leases&#8221;</p>
<p>Restart the DHCP daemonn by issueing &#8217;service dhcpd restart or service dhcp3-server restart&#8217;</p>
<p>It will write all status of dhcp leases to /common/download/dhcp.leases file.</p>
<p>Now jump on your CCM friendly (heydid i say friendly?) GUI and download the dhcpdlease.hehe file and u can see who have what leases. So thats all about it.</p>
<p>Those brainless programmers did not think about doing this little job from Administrator point of view. I know there is a RTMT tool but it would be nice to see it somewhere on the GUI.</p>
<p><span style="color:#0000ff;"><strong>Another tip on DHCP server:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</strong></span></p>
<p>How to make sure that whatever is configured via CCM GUI under DHCP server is 100% correct and working?<br />
Yes you can confirm this using SQL query commands:</p>
<h3><span style="color:#ff0000;">STEP#1:</span> Login using ssh to the CCM server</h3>
<h3><span style="color:#ff0000;">STEP#2</span>:<br />
- To check DHCP servers: issue &#8220;run sql select * from dhcpserver&#8221;</h3>
<h3>- To check DHCP scopes: issue &#8220;run sql select * from dhcpsubnet&#8221;</h3>
<p><img src="///tmp/moz-screenshot-1.jpg" alt="" /><img src="///tmp/moz-screenshot-2.jpg" alt="" /><img src="///tmp/moz-screenshot-3.jpg" alt="" /></p>
<p><img src="///tmp/moz-screenshot.jpg" alt="" /><br />
Good luck and happy learning&#8230;</p>
<p>PS: if you found this article useful, don&#8217;t forget to send me a postcard!! hehe..</p>
<p>CCIE voice#21569</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pushkarbhatkoti.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pushkarbhatkoti.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pushkarbhatkoti.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pushkarbhatkoti.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pushkarbhatkoti.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pushkarbhatkoti.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pushkarbhatkoti.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pushkarbhatkoti.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pushkarbhatkoti.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pushkarbhatkoti.wordpress.com/197/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=197&subd=pushkarbhatkoti&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://pushkarbhatkoti.wordpress.com/2009/02/16/how-to-check-call-manager-6x-5x-7x-dhcp-lease/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/89c6928aa356ad85cfc4a6752fea7f09?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pushkarbhatkoti</media:title>
		</media:content>

		<media:content url="///tmp/moz-screenshot-1.jpg" medium="image" />

		<media:content url="///tmp/moz-screenshot-2.jpg" medium="image" />

		<media:content url="///tmp/moz-screenshot-3.jpg" medium="image" />

		<media:content url="///tmp/moz-screenshot.jpg" medium="image" />
	</item>
		<item>
		<title>How to recover CCM6x admin passwords</title>
		<link>http://pushkarbhatkoti.wordpress.com/2009/01/25/how-to-recover-ccm6x-admin-passwords/</link>
		<comments>http://pushkarbhatkoti.wordpress.com/2009/01/25/how-to-recover-ccm6x-admin-passwords/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 17:22:49 +0000</pubDate>
		<dc:creator>pushkarbhatkoti</dc:creator>
				<category><![CDATA[CCM 5x 6x 7x stuffs]]></category>
		<category><![CDATA[Forgot CCM administrator password how to recover it]]></category>

		<guid isPermaLink="false">http://pushkarbhatkoti.wordpress.com/?p=183</guid>
		<description><![CDATA[Recovering CCM Administrator and Security Passwords

This section replaces the section Recovering the Administrator Password in the &#8220;Log In to Cisco Unified Communications Operating System Administration&#8221; chapter&#8221; of the Cisco Unified Communications Operating System Administration Guide for releases 5.0(4), 5.1(1), 6.0(1), and 6.1(1a).

If you lose the administrator password or security password, use the following procedure to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=183&subd=pushkarbhatkoti&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h3 class="p_H_Head3">Recovering CCM Administrator and Security Passwords</h3>
<p><a name="wp544258"></a></p>
<p class="pB1_Body1">This section replaces the section Recovering the Administrator Password in the &#8220;Log In to Cisco Unified Communications Operating System Administration&#8221; chapter&#8221; of the <em class="cEmphasis">Cisco Unified Communications Operating System Administration Guide</em> for releases 5.0(4), 5.1(1), 6.0(1), and 6.1(1a).</p>
<p><a name="wp544262"></a></p>
<p class="pB1_Body1">If you lose the administrator password or security password, use the following procedure to reset these passwords.</p>
<div class="Note1B"><img src="http://www.cisco.com/en/US/i/templates/note.gif" alt="" /></div>
<hr class="Cautn1table" /><a name="wp544263"></a></p>
<p class="pN1_Note1"><strong>Note </strong><img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="1" height="2" />During this procedure, you must remove and then insert a valid CD or DVD in the disk drive to prove that you have physical access to the system. He he .. you must walk to the Server room or a datacenter to do this. Use KVM switch or similar thing to access VGA of CM.</p>
<hr class="Cautn1table" /><a name="wp544264"></a></p>
<p class="pBl_BlockLabel">Procedure</p>
<hr noshade="noshade" /><a name="wp544265"></a></p>
<p class="pSF_StepFirst"><strong>Step 1 </strong><img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="5" height="2" />Log in to the system with the following username and password:</p>
<p><a name="wp544266"></a></p>
<p class="pBu1_Bullet1">•<img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="19" height="2" />Username: <strong class="cBold">pwrecovery</strong></p>
<p><a name="wp544267"></a></p>
<p class="pBu1_Bullet1">•<img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="19" height="2" />Password: <strong class="cBold">pwreset</strong></p>
<p><a name="wp544268"></a></p>
<p class="pB1_Body1">The Welcome to platform password reset window displays.</p>
<p><a name="wp544269"></a></p>
<p class="pSN_StepNext"><strong>Step 2 </strong><img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="5" height="2" />Press any key to continue.</p>
<p><a name="wp544270"></a></p>
<p class="pSN_StepNext"><strong>Step 3 </strong><img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="5" height="2" />If you have a CD or DVD in the disk drive, remove it now.</p>
<p><a name="wp544271"></a></p>
<p class="pSN_StepNext"><strong>Step 4 </strong><img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="5" height="2" />To continue, press any key.</p>
<p><a name="wp544272"></a></p>
<p class="pB1_Body1">The system tests to ensure that you have removed the CD or DVD from the disk drive.</p>
<p><a name="wp544273"></a></p>
<p class="pSN_StepNext"><strong>Step 5 </strong><img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="5" height="2" />Insert a valid CD or DVD into the disk drive.</p>
<p><a name="wp544274"></a></p>
<p class="pB1_Body1">The system tests to ensure that you have inserted the disk.</p>
<p><a name="wp544275"></a></p>
<p class="pSN_StepNext"><strong>Step 6 </strong><img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="5" height="2" />After the system verifies that you have inserted the disk, you get prompted to enter one of the following options to continue:</p>
<p><a name="wp544276"></a></p>
<p class="pBu1_Bullet1">•<img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="19" height="2" />To reset the administrator password, enter <strong class="cBold">a</strong>.</p>
<p><a name="wp544277"></a></p>
<p class="pBu1_Bullet1">•<img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="19" height="2" />To reset the security password, enter <strong class="cBold">s</strong>.</p>
<p><a name="wp544278"></a></p>
<p class="pBu1_Bullet1">•<img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="19" height="2" />To quit, enter <strong class="cBold">q</strong>.</p>
<p><a name="wp544279"></a></p>
<p class="pSN_StepNext"><strong>Step 7 </strong><img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="5" height="2" />Enter a new password of the type that you chose.</p>
<p><a name="wp544280"></a></p>
<p class="pSN_StepNext"><strong>Step 8 </strong><img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="5" height="2" />Reenter the new password.</p>
<p><a name="wp544281"></a></p>
<p class="pB1_Body1">The password must contain at least 6 characters. The system checks the new password for strength. If the password does not pass the strength check, you get prompted to enter a new password.</p>
<p><a name="wp544282"></a></p>
<p class="pSN_StepNext"><strong>Step 9 </strong><img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="5" height="2" />After the system verifies the strength of the new password, the password gets reset, and you get prompted to press any key to exit the password reset utility.</p>
<div class="caut1"><img src="http://www.cisco.com/en/US/i/templates/caut.gif" alt="" /></div>
<hr class="Cautn1" /><a name="wp677486"></a></p>
<div class="pCautn"><strong>Caution </strong><img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="6" height="2" />The security password on all nodes in a cluster must match. Change the security password on all machines, or the cluster nodes will not communicate.</div>
<hr class="Cautn1" /><a name="Software_Feature_License_Information_Omitted_from_Operating_System_Administration_Guide"> </a> <a name="wp544287"></a><a name="wpxref58518"></a></p>
<h3 class="p_H_Head3">Software Feature License Information Omitted from</h3>
<p>[root@ccm5 bin]#<br />
[root@ccm5 bin]# pwd<br />
/usr/local/platform/bin<br />
[root@ccm5 bin]#</p>
<p>[root@ccm5 bin]# ./pwreset</p>
<p>********************************************************<br />
********************************************************<br />
**                                                    **<br />
**   Welcome to Platform password reset               **<br />
**   Admin and Security password reset are possible   **<br />
**                                                    **<br />
********************************************************<br />
********************************************************</p>
<p>You will be required to remove, then insert any valid CD/DVD media<br />
in order to prove you have physical access to the system.</p>
<p>To begin you will need to remove any media from the CD/DVD drive.<br />
You may press Control-C at any time to abort.</p>
<p>Remove any media from the CD/DVD drive and press any key when ready&#8230;<br />
testing for removal of CD/DVD media<br />
Please insert any valid CD/DVD media.<br />
Press any key when ready&#8230;</p>
<p>You must insert the CD/DVD media to continue<br />
Press any key when ready&#8230;</p>
<p>Thank you, you may now proceed with Platform password reset.</p>
<p>Enter a for admin password reset.<br />
Enter s for security password reset.<br />
Enter q to Quit.</p>
<p>Source: www.cisco.com</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pushkarbhatkoti.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pushkarbhatkoti.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pushkarbhatkoti.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pushkarbhatkoti.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pushkarbhatkoti.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pushkarbhatkoti.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pushkarbhatkoti.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pushkarbhatkoti.wordpress.com/183/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pushkarbhatkoti.wordpress.com/183/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pushkarbhatkoti.wordpress.com/183/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=183&subd=pushkarbhatkoti&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://pushkarbhatkoti.wordpress.com/2009/01/25/how-to-recover-ccm6x-admin-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/89c6928aa356ad85cfc4a6752fea7f09?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pushkarbhatkoti</media:title>
		</media:content>

		<media:content url="http://www.cisco.com/en/US/i/templates/note.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/blank.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/blank.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/blank.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/blank.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/blank.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/blank.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/blank.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/blank.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/blank.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/blank.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/blank.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/blank.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/blank.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/blank.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/blank.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/caut.gif" medium="image" />

		<media:content url="http://www.cisco.com/en/US/i/templates/blank.gif" medium="image" />
	</item>
		<item>
		<title>A fun with Cisco Call manager 6x &#8211; root access to CCM6x box</title>
		<link>http://pushkarbhatkoti.wordpress.com/2009/01/25/a-fun-with-cisco-call-manager-6x-how-to-root-access-to-ccm6x-box/</link>
		<comments>http://pushkarbhatkoti.wordpress.com/2009/01/25/a-fun-with-cisco-call-manager-6x-how-to-root-access-to-ccm6x-box/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 03:55:11 +0000</pubDate>
		<dc:creator>pushkarbhatkoti</dc:creator>
				<category><![CDATA[CCM 5x 6x 7x stuffs]]></category>
		<category><![CDATA[hacking cisco call manager 6x]]></category>
		<category><![CDATA[how to get root access to ccm ccm6x ccm7x]]></category>
		<category><![CDATA[logging in as a root in cisco call manager]]></category>

		<guid isPermaLink="false">http://pushkarbhatkoti.wordpress.com/?p=174</guid>
		<description><![CDATA[no! not possible &#8211; its very secure appliance!
http://www.hackingalert.com/hacking-articles/hacking-tools.php
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=174&subd=pushkarbhatkoti&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>no! not possible &#8211; its very secure appliance!</p>
<p>http://www.hackingalert.com/hacking-articles/hacking-tools.php</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pushkarbhatkoti.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pushkarbhatkoti.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pushkarbhatkoti.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pushkarbhatkoti.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pushkarbhatkoti.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pushkarbhatkoti.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pushkarbhatkoti.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pushkarbhatkoti.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pushkarbhatkoti.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pushkarbhatkoti.wordpress.com/174/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=174&subd=pushkarbhatkoti&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://pushkarbhatkoti.wordpress.com/2009/01/25/a-fun-with-cisco-call-manager-6x-how-to-root-access-to-ccm6x-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/89c6928aa356ad85cfc4a6752fea7f09?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pushkarbhatkoti</media:title>
		</media:content>
	</item>
		<item>
		<title>How to download music-on-hold (MOH) file from CCM5x 6X 7X server</title>
		<link>http://pushkarbhatkoti.wordpress.com/2009/01/08/how-to-download-music-on-hold-moh-file-from-ccm5x-6x-7x-server/</link>
		<comments>http://pushkarbhatkoti.wordpress.com/2009/01/08/how-to-download-music-on-hold-moh-file-from-ccm5x-6x-7x-server/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 10:02:38 +0000</pubDate>
		<dc:creator>pushkarbhatkoti</dc:creator>
				<category><![CDATA[how download MOH file from CCM5x 6x 7x server]]></category>
		<category><![CDATA[how to download moh file from cisco call manager 5x 6x 7x]]></category>

		<guid isPermaLink="false">http://pushkarbhatkoti.wordpress.com/?p=160</guid>
		<description><![CDATA[One of the our customer  was upgrading his CCM from 5 to  6 but wanted a fresh install of CCM6.x music on hold server (MOH). He installed CCM6 but didn&#8217;t have any clue of how to download the MOH file from the older server and put in the new server.
Therefore, he called the EXPERT [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=160&subd=pushkarbhatkoti&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>One of the our customer  was upgrading his CCM from 5 to  6 but wanted a fresh install of CCM6.x music on hold server (MOH). He installed CCM6 but didn&#8217;t have any clue of how to download the MOH file from the older server and put in the new server.</p>
<p>Therefore, he called the EXPERT [of courese me] for help. I never did this in the past so, I had to dig through google and fouund the solution for him and that really worked. I thot this will be helpful to the folks who are looking for downloading a moh file from ccm5/6/7 servers.</p>
<p>Its as easy as drinking a beer in a BAR.</p>
<p><span style="color:#3366ff;"><span style="font-size:small;"><span style="text-decoration:underline;">Step#1: SSH to CCM 5/6/7x publisher</span></span></span><span style="color:#3366ff;"><span style="font-size:medium;"><span style="text-decoration:underline;"><br />
</span></span></span><br />
Unfortunately, there is no way we can pull moh file via GUI interface. The only way I know is via CLI.</p>
<p>You can use putty.exe if you are a windows  fane or I use ubuntu so i just open a terminal windows and simply use &#8217;ssh root@ccmip&#8217; to log into call manager publisher. After ssh you will get a prompt similar below:</p>
<p><span style="color:#dc2300;"><strong>admin:</strong></span></p>
<h3><span style="text-decoration:underline;"><span style="color:#0000ff;">Step#2  Setup a FTP server to put  file from moh server to a ftp server.</span></span></h3>
<p>Setup a SFTP server. I use SSHD as a SFTP server. For windows you can download filezilla sftp server from below url:<a href="http://filezilla-project.org/">http://filezilla-project.org/</a></p>
<p>Create a username and password in sftp. We will use this username and password in step #$</p>
<h3><span style="text-decoration:underline;"><span style="color:#0000ff;">Step#3  List MOH related filesin the call manager</span></span></h3>
<p>Use a command called &#8220;file list activelog mohprep/*&#8221; to list all moh files in the mohprep directory.<br />
You will see output similar to below:<br />
<span style="color:#dc2300;"><strong>admin:</strong></span>file list activelog mohprep/*   ← note  * means all files<br />
<span style="font-size:x-small;"><span style="font-style:normal;">SampleAudioSource.alaw.wav</span></span></p>
<p><span style="font-size:x-small;"><span style="font-style:normal;">SampleAudioSource.g729.wav</span></span></p>
<p><span style="font-size:x-small;"><span style="font-style:normal;">SampleAudioSource.ulaw.wav</span></span></p>
<p><span style="font-size:x-small;"><span style="font-style:normal;">SampleAudioSource.wb.wav</span></span></p>
<p><span style="font-size:x-small;"><span style="font-style:normal;">SampleAudioSource.xml</span></span></p>
<p><span style="font-size:x-small;"><span style="font-style:normal;">CiscoMOHSourceReport.xml</span></span></p>
<p><span style="color:#3366ff;"><span style="text-decoration:underline;">Step#4 Download the moh files to a SFTP server</span></span></p>
<p>Use  a command called &#8220;file get activelog mohprep/filename&#8221;to download above listed file(s).</p>
<p>example:</p>
<p><span style="color:#dc2300;"><strong>admin:</strong></span>file get activelog mohprep/ <span style="font-size:x-small;"><span style="font-style:normal;">SampleAudioSource.alaw.wav</span></span><br />
Enter SFTP server IP:  4.2.2.2  ← SFTP server IP<br />
Enter SFTP username: test<br />
Enter SFTP password: test</p>
<p>Thats all, your file is transferred to the FTP Server and you can use GUI interface to put the file to a new/other call manager publisher.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;snippet&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p><span style="color:#0000ff;">admin:file list activelog mohprep/*<br />
CiscoMOHSourceReport.xml                SampleAudioSource.alaw.wav<br />
SampleAudioSource.g729.wav              SampleAudioSource.ulaw.wav<br />
SampleAudioSource.wb.wav                SampleAudioSource.xml<br />
dir count = 0, file count = 6<br />
admin:<br />
admin:<br />
admin:file list activelog mohprep/*<br />
CiscoMOHSourceReport.xml                SampleAudioSource.alaw.wav<br />
SampleAudioSource.g729.wav              SampleAudioSource.ulaw.wav<br />
SampleAudioSource.wb.wav                SampleAudioSource.xml<br />
dir count = 0, file count = 6<br />
admin:<br />
admin:file get<br />
file get activelog<br />
file get inactivelog<br />
file get install<br />
file get tftp</span></p>
<p>admin:file get active<br />
admin:file get activelog ?<br />
Syntax:<br />
file get activelog file-spec [options]<br />
file-spec   mandatory   file to transfer<br />
options     optional    reltime months|weeks|days|hours|minutes timevalue<br />
abstime hh:mm:MM/DD/YY hh:mm:MM/DD/YY<br />
match regex<br />
recurs</p>
<p>admin:file get activelog mohprep/SampleAudioSource.xml<br />
Please wait while the system is gathering files info &#8230;done.<br />
Sub-directories were not traversed.<br />
Number of files affected: 1<br />
Total size in Bytes: 606<br />
Total size in Kbytes: 0.5917969<br />
Would you like to proceed [y/n]? y<br />
SFTP server IP: 172.16.16.111<br />
SFTP server port [22]:<br />
User ID: push<br />
Password: ********<br />
Download directory: /home/push</p>
<p>This is the script when you add moh file and that gets replicated to all nodes:</p>
<p>[root@ccm5 bin]# more moh_do_backup.sh<br />
#!/bin/bash<br />
#<br />
# moh_do_backup.sh script will make a tar ball for backup targets<br />
#<br />
# SYNOPSIS<br />
# moh_do_backup.sh &lt;log path&gt; &lt;status file path&gt; &lt;target node&gt;<br />
#</p>
<p>#<br />
# Checking parameters<br />
#<br />
if [ $# -lt 3 ]<br />
then<br />
echo &#8220;Usage: $0 &lt;log path&gt; &lt;status file path&gt; &lt;target node&gt;&#8221;<br />
exit 1<br />
fi</p>
<p>LOGFILE=$1<br />
STATUS_FILE=$2<br />
NODE=$3</p>
<p>echo &#8220;0&#8243;  &gt; $STATUS_FILE</p>
<p>echo &#8220;Starting MOH backup&#8221; &gt;&gt; ${LOGFILE}</p>
<p>sudo -u root /bin/tar cvfpP &#8211; /usr/local/cm/sftp/mohprep/* 2&gt;&gt;${LOGFILE} | sudo<br />
-u drfuser ssh drfuser@${NODE}</p>
<p>RESULT=$?</p>
<p>if [ $RESULT -gt 0 ]<br />
then<br />
echo &#8220;MOH: Backup failed ($RESULT)&#8221;  &gt;&gt; ${LOGFILE}<br />
exit 106<br />
fi</p>
<p>#<br />
# update status file to 100%<br />
#<br />
echo &#8220;100&#8243; &gt; $STATUS_FILE</p>
<p>echo &#8220;MOH: Finished backup&#8221; &gt;&gt; ${LOGFILE}<br />
exit 0</p>
<p>[root@ccm5 bin]#<br />
[root@ccm5 bin]#<br />
<span style="color:#ff0000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;end of snippetts&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p>Push</p>
<p>CCIE voice#21569<br />
blog: pushkarbhatkoti.wordpress.com</p>
<p style="margin-bottom:0;">
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pushkarbhatkoti.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pushkarbhatkoti.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pushkarbhatkoti.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pushkarbhatkoti.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pushkarbhatkoti.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pushkarbhatkoti.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pushkarbhatkoti.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pushkarbhatkoti.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pushkarbhatkoti.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pushkarbhatkoti.wordpress.com/160/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=160&subd=pushkarbhatkoti&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://pushkarbhatkoti.wordpress.com/2009/01/08/how-to-download-music-on-hold-moh-file-from-ccm5x-6x-7x-server/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/89c6928aa356ad85cfc4a6752fea7f09?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pushkarbhatkoti</media:title>
		</media:content>
	</item>
	</channel>
</rss>