<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Pushkar bhatkoti's blog...........</title>
	<atom:link href="http://pushkarbhatkoti.wordpress.com/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...........</title>
		<link>http://pushkarbhatkoti.wordpress.com</link>
	</image>
			<item>
		<title>CME router: How to divert receiption calls at 5pm and un-divert at 8:30am</title>
		<link>http://pushkarbhatkoti.wordpress.com/2009/08/29/cme-router-how-to-divert-receiption-calls-at-5pm-and-un-divert-at-830am/</link>
		<comments>http://pushkarbhatkoti.wordpress.com/2009/08/29/cme-router-how-to-divert-receiption-calls-at-5pm-and-un-divert-at-830am/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 11:00:13 +0000</pubDate>
		<dc:creator>pushkarbhatkoti</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[building home lab for ccie voice]]></category>
		<category><![CDATA[cisco PABX call divert]]></category>
		<category><![CDATA[CME how to divert calls]]></category>
		<category><![CDATA[diverting receiption calls at 5pm]]></category>
		<category><![CDATA[how to divert call in cisco CME]]></category>

		<guid isPermaLink="false">http://pushkarbhatkoti.wordpress.com/?p=227</guid>
		<description><![CDATA[Recently, I  had a request from my friend asking for a help to divert the CME reception calls at 5pm to a pre-defined mobile number and UN-divert the call at 8:30am when the receptionist started working. I was going to post it last month but due to being busy in project work and other commitments [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=227&subd=pushkarbhatkoti&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Recently, I  had a request from my friend asking for a help to divert the CME reception calls at 5pm to a pre-defined mobile number and UN-divert the call at 8:30am when the receptionist started working. I was going to post it last month but due to being busy in project work and other commitments I couldn’t possible get even a minute to post this !!</p>
<p>Anyhow, It took me about 30 minutes to think about the best solution and here is what I came up with and it works perfectly.</p>
<p>If you have any better way to achieve this please let me know.</p>
<p>required: CME router version 4 or 7x (didn&#8217;t test on older), any model of cisco router.</p>
<p><span style="color:#0000ff;"><strong>Here are the steps:</strong></span></p>
<p><span style="color:#0000ff;"><strong>Steps #1</strong></span><span style="color:#0000ff;"><strong><span style="color:#0000ff;"><br />
</span>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</strong></span><br />
Copy below call-divert.tcl and call-un-divert.tcl in a notepad and save them as .tcl extension</p>
<p>User Access Verification</p>
<p>Username: push</p>
<p>Password:</p>
<p>HQ-CME&gt;en<br />
HQ-CME#dir *.tcl<br />
Directory of flash:/<br />
94  -rw-         108  Jul 17 2009 14:28:02 +10:00  frog.tcl<br />
95  -rw-         481  Jul 17 2009 14:40:20 +10:00  call-divert.tcl<br />
96  -rw-         484  Jul 17 2009 14:40:30 +10:00  call-un-divert.tcl</p>
<p>512065536 bytes total (443867136 bytes free)</p>
<p>HQ-CME#</p>
<p><span style="color:#ff0000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- call-divert.tcl &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></p>
<p><span style="color:#ff0000;">HQ-CME#more flash:call-divert.tcl</span></p>
<p><span style="color:#ff0000;">#<br />
# Copyright (c) 2009 FROG silly billy</span></p>
<p><span style="color:#ff0000;"># All rights reserved.<br />
# by:            Push Bhatkoti 28 Mar 2009 / CCIE# voice 21569</span></p>
<p><span style="color:#ff0000;"># title:          Call divert<br />
# name:       call-divert.tcl</span></p>
<p><span style="color:#ff0000;"># desc:     This script runs in conjunction with IOS KRON which  diverts CME DID number         #                  office phone to a Mobile phone after 5pm</span></p>
<p><span style="color:#ff0000;">#</span></p>
<p><span style="color:#ff0000;">ios_config &#8220;ephone-dn 50&#8243; &#8220;call-forward all 00412733020&#8243;<br />
ios_config &#8220;end&#8221;<br />
ios_config &#8220;do wr mem&#8221;<br />
</span></p>
<p><span style="color:#ff0000;">HQ-CME#</span></p>
<p><span style="color:#ff0000;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;call-un-divert.tcl&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></p>
<p><span style="color:#ff0000;">HQ-CME#more flash:call-un-divert.tcl<br />
#<br />
# Copyright (c) 2009 FROG silly bill<br />
# All rights reserved.#<br />
# by:       Push Bhatkoti 28 Mar 2009/ CCIE Voice#21569<br />
# title:    CME router Call UN-divert at 8:30am<br />
# name:    call-un-divert.tcl<br />
# desc:     This script runs in conjunction with ours IOS KRON, which UN-diverts CME DID<br />
#               so that when receiptionist starts in the morning will be able to attend the calls<br />
#<br />
#           * download the file into flash:call-divert.tcl<br />
#</span></p>
<p><span style="color:#ff0000;">ios_config &#8220;ephone-dn 50&#8243; &#8220;no call-forward all  004127492820&#8243;<br />
ios_config &#8220;end&#8221;<br />
ios_config &#8220;do wr mem&#8221;</span></p>
<p><span style="color:#ff0000;">HQ-CME#</span></p>
<p><span style="color:#ff0000;">HQ-CME#</span></p>
<p>Now you’d be thinking what the hell ephone-dn is doing here.  Actually ephone-dn 50 is a receiption octoline here is the sample config of DN.</p>
<p><span style="color:#00ff00;">ephone-dn  50  octo-line<br />
number 2000 secondary 94232000<br />
pickup-group 88<br />
label Nice-Dolls &#8211; 3002<br />
description 02 23233002<br />
name Reception<br />
call-forward busy 4222<br />
call-forward noan 4222 timeout 50<br />
corlist incoming INTL-COR<br />
no huntstop<br />
hold-alert 120 originator<br />
transfer-mode consult</span></p>
<p>IN above ephone-dn, 94232000 is the main DID number which hits CME router and receptionist picks it up and then transfers to the phones.</p>
<p><span style="color:#0000ff;"><strong>Step #2:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</strong></span></p>
<p>Put the above 2 files in a TFTP server and then copy them into the flash:</p>
<p>HQ-CME#dir *.tcl<br />
Directory of flash:/<br />
95  -rw-         481  Jul 17 2009 14:40:20 +10:00  call-divert.tcl<br />
96  -rw-         484  Jul 17 2009 14:40:30 +10:00  call-un-divert.tcl<br />
512065536 bytes total (443867136 bytes free<br />
HQ-CME#</p>
<p><span style="color:#0000ff;"><strong>Step #3:</strong></span></p>
<p>Final step, Kron about two scripts to run them in a required time. BTW, cron used to be a unix/linux worlds keyword but it seems Cisco has  adapted it by using a fancy word like “Kron” duh!</p>
<p>The original requirement was 5pm calls divert to a mobile phone and 8:30 am call un-divert.</p>
<p>Here is how they should be cron’d:</p>
<p>First two cron policy lists and reference the two .tcl scripts into them:</p>
<p>kron policy-list call-divert<br />
cli tclsh call-divert.tcl  !<span style="color:#0000ff;"> for call divert</span></p>
<p>!<br />
kron policy-list call-un-divert<br />
cli tclsh call-un-divert.tcl ! <span style="color:#0000ff;">for call un-divert</span></p>
<p>Then create 2 kron occurance and put above policy list with required divert / undivert time in them.</p>
<p><span style="color:#ff0000;">kron occurrence call-divert at 14:59 recurring !<br />
policy-list call-divert </span><span style="color:#ff0000;"><span style="color:#0000ff;">Divert receiption call at 4:59pm</span></span></p>
<p><span style="color:#ff0000;">!<br />
kron occurrence call-un-divert at 8:29 recurring<br />
policy-list call-un-divert </span><span style="color:#ff0000;"><span style="color:#0000ff;">! Undivert receiption call at 8:29AM</span></span><br />
!<br />
If anyone has better solution, please feel free to provide your feedback.</p>
<p>-Push Bhatkoti</p>
<p>CCIE voice#21569</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pushkarbhatkoti.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pushkarbhatkoti.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pushkarbhatkoti.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pushkarbhatkoti.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pushkarbhatkoti.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pushkarbhatkoti.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pushkarbhatkoti.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pushkarbhatkoti.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pushkarbhatkoti.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pushkarbhatkoti.wordpress.com/227/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=227&subd=pushkarbhatkoti&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://pushkarbhatkoti.wordpress.com/2009/08/29/cme-router-how-to-divert-receiption-calls-at-5pm-and-un-divert-at-830am/feed/</wfw:commentRss>
		<slash:comments>3</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>Quick command to test Cisco DSP CHIP on ISR series routers</title>
		<link>http://pushkarbhatkoti.wordpress.com/2009/08/29/quick-command-to-test-cisco-dsp-chip-on-isr-series-routers/</link>
		<comments>http://pushkarbhatkoti.wordpress.com/2009/08/29/quick-command-to-test-cisco-dsp-chip-on-isr-series-routers/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 10:54:43 +0000</pubDate>
		<dc:creator>pushkarbhatkoti</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[cisco router voice gateway dsp gone bad]]></category>
		<category><![CDATA[DSP testing cisco router DSP problem]]></category>
		<category><![CDATA[How to test DSP on cisco router]]></category>

		<guid isPermaLink="false">http://pushkarbhatkoti.wordpress.com/?p=223</guid>
		<description><![CDATA[We spent a lot of time in debugging and troubleshooting DSP issue. Recently, I used this DSP test (a hidden one yes) command and it gave me immediately result that the DSP on the router has gone alley and as a result the calls from one location to another one were having issue.
This handy tool [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=223&subd=pushkarbhatkoti&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>We spent a lot of time in debugging and troubleshooting DSP issue. Recently, I used this DSP test (a hidden one yes) command and it gave me immediately result that the DSP on the router has gone alley and as a result the calls from one location to another one were having issue.</p>
<p>This handy tool has been tested on ISR modules.</p>
<p>Router# <strong>test voice driver</strong><br />
After typing out above command, you will see below menu driven options:</p>
<p>Enter VPM or HDV or ATM AIM or NM-HD-xx or HDV2 slot number : <strong>1</strong></p>
<p>C2800 Debugging Section;</p>
<p>1 &#8211; FPGA Registers Read/Write</p>
<p>2 &#8211; 5510 DSP test</p>
<p>3 &#8211; DSPRM test</p>
<p>4 &#8211; HDLC32 test</p>
<p>5 &#8211; Quit<br />
Select option : <strong>2</strong><br />
5510 DSP Testing Section:</p>
<p>1 &#8211; Reset ALL DSPs</p>
<p>2 &#8211; Reset 1 DSP</p>
<p>3 &#8211; Download DSPware</p>
<p>4 &#8211; CHPIR Enable/Disable</p>
<p>5 &#8211; Display c5510 ring</p>
<p>6 &#8211; Show HPI RAM</p>
<p>7 &#8211; Show eHPI memory thru Relay command</p>
<p>8 &#8211; Show Controller</p>
<p>9 &#8211; c5510 Keepalive Enable/Disable</p>
<p>10 &#8211; Download bootloader using indirect slave access</p>
<p>11 &#8211; Write HPI RAM</p>
<p>13 &#8211; DSP application download</p>
<p>14 &#8211; faked dsp crash</p>
<p>15 &#8211; Wait in Firmware Restart Indication</p>
<p>16 &#8211; Display DSP Keepalive Status</p>
<p>17 &#8211; QUIT<br />
Select option : <strong>16</strong><br />
DSP Keepalive Status Display:</p>
<p>=============================</p>
<p>DSP 1 is not UP, State: 5, Keepalive Sent: 0, Skip 0</p>
<p>DSP 2 is not UP, State: 5, Keepalive Sent: 0, Skip 0</p>
<p>DSP 3 is not UP, State: 5, Keepalive Sent: 0, Skip 0</p>
<p>DSP 4 is not UP, State: 5, Keepalive Sent: 0, Skip 0</p>
<p>DSP 5 Not Exist</p>
<p>DSP 6 Not Exist</p>
<p>DSP 7 Not Exist</p>
<p>DSP 8 Not Exist</p>
<p>5510 DSP Testing Section:</p>
<p>1 &#8211; Reset ALL DSPs</p>
<p>2 &#8211; Reset 1 DSP</p>
<p>3 &#8211; Download DSPware</p>
<p>4 &#8211; CHPIR Enable/Disable</p>
<p>5 &#8211; Display c5510 ring</p>
<p>6 &#8211; Show HPI RAM</p>
<p>7 &#8211; Show eHPI memory thru Relay command</p>
<p>8 &#8211; Show Controller</p>
<p>9 &#8211; c5510 Keepalive Enable/Disable</p>
<p>10 &#8211; Download bootloader using indirect slave access</p>
<p>11 &#8211; Write HPI RAM</p>
<p>13 &#8211; DSP application download</p>
<p>14 &#8211; faked dsp crash</p>
<p>15 &#8211; Wait in Firmware Restart Indication</p>
<p>16 &#8211; Display DSP Keepalive Status</p>
<p>17 &#8211; QUIT</p>
<p>-Push</p>
<p>CCIE Voice#21569</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pushkarbhatkoti.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pushkarbhatkoti.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pushkarbhatkoti.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pushkarbhatkoti.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pushkarbhatkoti.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pushkarbhatkoti.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pushkarbhatkoti.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pushkarbhatkoti.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pushkarbhatkoti.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pushkarbhatkoti.wordpress.com/223/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=223&subd=pushkarbhatkoti&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://pushkarbhatkoti.wordpress.com/2009/08/29/quick-command-to-test-cisco-dsp-chip-on-isr-series-routers/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>Cisco Presence Integration with CCM 7x in 20 minutes</title>
		<link>http://pushkarbhatkoti.wordpress.com/2009/06/08/cisco-presence-integration-with-ccm-7x-in-20-minutes/</link>
		<comments>http://pushkarbhatkoti.wordpress.com/2009/06/08/cisco-presence-integration-with-ccm-7x-in-20-minutes/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 15:53:45 +0000</pubDate>
		<dc:creator>pushkarbhatkoti</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[integrating presence with CCM in 20 minutes]]></category>

		<guid isPermaLink="false">http://pushkarbhatkoti.wordpress.com/?p=215</guid>
		<description><![CDATA[hehe&#8230; not in 10 mintues!! it&#8217;s in 20 minutes  
It has been a long time since my previous posting on this blog. I have been busy doing all sort of bits and pieces!!
It seems that people are finding issues with integrating Cisco Call manager with Cisco Presence server. I have to agree to it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=215&subd=pushkarbhatkoti&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 		A:link { so-language: zxx } -->hehe&#8230; not in 10 mintues!! it&#8217;s in 20 minutes <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It has been a long time since my previous posting on this blog. I have been busy doing all sort of bits and pieces!!</p>
<p align="justify">It seems that people are finding issues with integrating Cisco Call manager with Cisco Presence server. I have to agree to it because there are very limited documentation available for the public on the net. So I thot to spare some time and post it for the benifit of all.</p>
<p align="justify">I&#8217;m assuming you have already installed and configured cisco Call manager 7x. Two phones are already registered to it.</p>
<p align="justify">Also assuming that you have done basic installation of Cisco presence server. As you know Installing Cisco presence is like installing Yahoo messenger in your windows XP.</p>
<p align="justify">The next .. next.. next and finish strategy <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .  It&#8217;s just the same as you add Call manager subscriber to a Publisher (in 5/6/7x),  same secret, same Pub Ip address will be asked during the installation.</p>
<p align="justify">
<p align="justify">Here are the summary steps of integrating Cisco call manager 7x with Cisco presence 7x.</p>
<p align="justify">
<p style="border-color:0 0 #000000;border-style:none none solid;border-width:medium medium 1pt;padding:0 0 .07cm;"><strong>Step#1: Enable presence globally on Cisco Call manager</strong></p>
<p style="font-weight:normal;">By default presence subscription is disable on CCM.</p>
<p style="font-weight:normal;">System&gt;Service parameter&gt;Cisco Call Manager&gt;</p>
<p style="font-weight:normal;">search for “Inter-presence” key word and set “Allow Subscription”</p>
<p style="font-weight:normal;">
<p style="border-color:0 0 #000000;border-style:none none solid;border-width:medium medium 1pt;padding:0 0 .07cm;"><strong>Step#2: Create SIP trunk Security Profile in CCM</strong></p>
<p style="font-weight:normal;">Special setting is required for SIP trunk which runs from CCM to Presence.</p>
<p style="font-weight:normal;">Copy “non Secure SIP Trunk Profile” to “Presence non-secure SIP trunk Proifle”</p>
<p style="font-weight:normal;">Modify below parameters:</p>
<ol>
<li>
<p style="font-weight:normal;">Device security mode: 	Non-Secure</p>
</li>
<li>
<p style="font-weight:normal;">Incoming Transport type: 	TCP+UDP</p>
</li>
<li>
<p style="font-weight:normal;">Outgoing Transport Type: 	TCP</p>
</li>
<li>
<p style="font-weight:normal;">Incoming Port			5060 (untick 	Enable digest authentication)</p>
</li>
<li>
<p style="font-weight:normal;">Enable application Level 	Authentication	UNTICK</p>
</li>
<li>
<p style="font-weight:normal;">Accept Presence Subscription  			TICK</p>
</li>
<li>
<p style="font-weight:normal;">Accept Out-of-Dialogue REFER 			TICK</p>
</li>
<li>
<p style="font-weight:normal;">Accept Unsoliciliated 	Notification		TICK</p>
</li>
<li>
<p style="font-weight:normal;">Accept Replace header			TICK</p>
</li>
<li>
<p style="font-weight:normal;">Transforms security 	status			UNTICK</p>
</li>
</ol>
<p style="font-weight:normal;">Save it</p>
<p style="font-weight:normal;">
<p style="border-color:0 0 #000000;border-style:none none solid;border-width:medium medium 1pt;padding:0 0 .07cm;"><strong>Step#3: Add a SIP trunk now from CCM to Presence</strong></p>
<p style="font-weight:normal;">Device&gt;TRUNK&gt;SIP-trunk&gt;</p>
<p style="font-weight:normal;">Protocol = SIP</p>
<p style="font-weight:normal;">fill below:</p>
<ol>
<li>
<p style="font-weight:normal;">Device Name		: PRESENCE-TRUNK</p>
</li>
<li>
<p style="font-weight:normal;">Description		: blah blah</p>
</li>
<li>
<p style="font-weight:normal;">Device Pool		: DP_HQ</p>
</li>
<li>
<p style="font-weight:normal;">Common Dev conf	: None</p>
</li>
<li>
<p style="font-weight:normal;">call classification	: On-Net</p>
</li>
<li>
<p style="font-weight:normal;">Media resource Grp	: MRG_HQ</p>
</li>
<li>
<p style="font-weight:normal;">Location		: HQ_LOC</p>
</li>
<li>
<p style="font-weight:normal;">AAR GROUP		: HQ_AARG (if not 	using AAR leave empty)</p>
</li>
<li>
<p style="font-weight:normal;">Packet Capture mode	: None</p>
</li>
<li>
<p style="font-weight:normal;">Packet Capture duration: 0</p>
</li>
<li>
<p style="font-weight:normal;">MTP required		: TICK</p>
</li>
<li>
<p style="font-weight:normal;">Retry Video call as audio : TICK</p>
</li>
<li>
<p style="font-weight:normal;">SIP information – Desitnation 	Add: 142.2.64.51</p>
</li>
</ol>
<p style="font-weight:normal;">DST is a SRV : UNTICK</p>
<ol>
<li>
<p style="font-weight:normal;">Destination port	: 5060</p>
</li>
<li>
<p style="font-weight:normal;">SIP PROFILE		:   Presence 	non-secure SIP trunk Proifle</p>
</li>
</ol>
<p style="font-weight:normal;">
<p style="font-weight:normal;">Save above.</p>
<p style="font-weight:normal;">
<p style="border-color:0 0 #000000;border-style:none none solid;border-width:medium medium 1pt;padding:0 0 .07cm;"><strong>Step#3:  Make your IP Phone presence capable</strong></p>
<ol>
<li>
<p align="left"><span style="font-weight:normal;">Register a phone 	2001 name it HQ-Phone1</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Create end user 	“test” and associate HQ-Phone1/2001 with  the “test” user</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Make sure test 	user is a part of “Standard CCM End User” and “standard CTI 	enable”</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Make sure 	Primary extension “2001” is selected when you create the above 	“test” user</span></p>
</li>
<li>
<p align="left">
</li>
</ol>
<p align="left">
<p style="border-color:0 0 #000000;border-style:none none solid;border-width:medium medium 1pt;padding:0 0 .07cm;"><strong>Step#3:  Add an application user for IPPM and MOC CTI ports</strong></p>
<p align="left"><span style="font-weight:normal;">This will be used by Presence server to initiate IP Phone services:</span></p>
<p align="left">
<p align="left"><span style="font-weight:normal;">A) Go to &gt; User Management&gt;Application User&gt;</span></p>
<ol>
<li>
<p align="left"><span style="font-weight:normal;">User ID	: IPPM</span></p>
</li>
<li>
<p align="left">pass 		: blah</p>
</li>
<li>
<p align="left">Presence Grp	: Standard</p>
</li>
<li>
<p align="left">Groups		: Standard CCM End User</p>
</li>
</ol>
<p style="font-weight:normal;">save it</p>
<p style="font-weight:normal;">Repeat above “A” steps for   moc_user as well. moc_user will be used by MOC CTI user in Presence. All user who want presence using Microsoft MOC client will be associated to this user.</p>
<p><span style="color:#c5000b;"><strong>Make sure all “accept” tick boxes are TICKED on moc_user.</strong></span></p>
<p style="font-weight:normal;">
<p style="font-weight:normal;" align="left">B) Go to &gt; SYSTEM&gt;Application Server&gt; Add NEW</p>
<p style="font-weight:normal;" align="left">add Presence server IP address here I..e 142.2.64.51</p>
<p style="font-weight:normal;" align="left">save this as well. Damn too many things to save <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="border-color:0 0 #000000;border-style:none none solid;border-width:medium medium 1pt;padding:0 0 .07cm;"><strong>Step#4:  Create IP Phone service  URL</strong></p>
<p align="left"><span style="font-weight:normal;">Go to&gt; Device&gt;Device Settings&gt; IP Phone Service</span></p>
<p align="left">
<ol>
<li>
<p style="font-weight:normal;" align="left">Service Name		: 	IP 	PhoneMSG</p>
</li>
<li>
<p style="font-weight:normal;" align="left">ASCII Service Name	: 		IP PhoneMSG</p>
</li>
<li>
<p style="font-weight:normal;" align="left">Service Description	: 		Blah</p>
</li>
<li>
<p style="font-weight:normal;" align="left">Service URL		: 		<a href="http://142.2.64.11:8081/ippm/default?name#Device">http://142.2.64.11:8081/ippm/default?name#Device</a> blah</p>
</li>
<li>
<p style="font-weight:normal;" align="left">Service Category	:	XML 	Service</p>
</li>
<li>
<p style="font-weight:normal;" align="left">Service 	Type		:	Standard IP Phone Service</p>
</li>
<li>
<p style="font-weight:normal;" align="left">Blank</p>
</li>
<li>
<p style="font-weight:normal;" align="left">Blank</p>
</li>
<li>
<p style="font-weight:normal;" align="left">Enable			: 	TICK</p>
</li>
</ol>
<p style="font-weight:normal;" align="left">
<p style="font-weight:normal;" align="left">It&#8217;s standard Phone URL we create and subscribe in CCM. Nothing new!!</p>
<p style="font-weight:normal;" align="left">Make sure you copy the correct URL from the DOC CD.</p>
<p style="font-weight:normal;" align="left">
<p style="font-weight:normal;" align="left">Save above as well.</p>
<p style="font-weight:normal;" align="left">****Then subscribe above service to HQ phone1/2001*****</p>
<p style="font-weight:normal;" align="left">
<p style="border-color:0 0 #000000;border-style:none none solid;border-width:medium medium 1pt;padding:0 0 .07cm;"><strong>Step#5:  Enable presence Licensing for each user</strong></p>
<p style="font-weight:normal;" align="left">Go to&gt; System&gt;License&gt;Capability Assignment&gt;</p>
<p style="font-weight:normal;" align="left">Then Find the end user you want to assign the presence license.</p>
<p style="font-weight:normal;" align="left">Tick the user and hit &lt;Bulk Assignment&gt;</p>
<p style="font-weight:normal;" align="left">a new pop up window with pop-up. Tick both check-boxes in that and save.</p>
<ol>
<li><span style="font-weight:normal;">Enable CUP 	– TICK </span></li>
<li><span style="font-weight:normal;">Enable CUPC	- TICK</span></li>
</ol>
<p style="border-color:0 0 #000000;border-style:none none solid;border-width:medium medium 1pt;padding:0 0 .07cm;"><strong>Step#6:  Add CUPC client in CCM for HQ 2001 phone</strong></p>
<p style="font-weight:normal;" align="left">The trick here is, this is a dummy phone which will control provide HQ Phone1/2001&#8217;s presence information to Presence server. Add this dummy presence client and add a HQ2001 DN to it.</p>
<p style="font-weight:normal;" align="left">
<p style="font-weight:normal;" align="left">Go to&gt; Device&gt;Phone&gt; add NEW</p>
<p style="font-weight:normal;" align="left">Phone Type	: Unified Personal Communicator then hit &lt;NEXT&gt;</p>
<p style="font-weight:normal;" align="left">
<ol>
<li>
<p align="left"><span style="font-weight:normal;">Device 	Name		:	XXXCISCO</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Device 	Pool		:	DP_HQ</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Phone Button 	Templ	: 	Personal Communicator SIP blah</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">CSS			:	Blah	select 	all common things</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Owner user 	ID	:	test  ← a must</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">leave everything 	else default</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Device security 	profile :	Unified Personal Communicator Standard</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">SIP 	profile		:	Standard SIP profile</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Digest 	User		:	test ← a must ** read more about this</span></p>
<p align="left"><span style="font-weight:normal;">Save everything 	above <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  so far so good , well done <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></p>
<p>Now add a DN to this  	above device: (same as HQ phone1 shared one)</li>
<li>
<p align="left"><span style="font-weight:normal;">Directory 	Number	:	2001</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">everything else 	… default or your customizeble &gt;&gt; Save above</span></p>
</li>
</ol>
<p align="left">
<p align="justify"><span style="color:#c5000b;"><span style="font-weight:normal;">Once above dummy device is added, associate this device with “test” user we created previously. Now you remember we have 2 device associated with this user: A) 2001 phone and B) XXXCISCO</span></span></p>
<p align="left">
<p align="justify"><span style="color:#c5000b;"><span style="font-weight:normal;">Also Make Physical phone DN2001 has “test” user associated with it. This is the last option in line 2001&#8217;s setting before “save” button.  If this has not been done and you run presence  diagnostic it will keep telling you that “No line appreance existed in CCM blah blah”</span></span></p>
<p align="left">
<p align="left">
<p align="left"><span style="font-weight:normal;">That s all we needed to do on Call Manager. Now Jump on the Presence BOX.</span></p>
<p align="left">
<p style="font-weight:normal;" align="left">
<p style="border-color:0 0 #000000;border-style:none none solid;border-width:medium medium 1pt;padding:0 0 .07cm;"><strong>Step#7:  Presence box general configuration:</strong></p>
<p style="font-weight:normal;" align="left">After installing basic presence, you&#8217;ll see presence post install setup screen on your web browser by typing presence Server IP address on your browser and supplying credentials to the login screen.</p>
<p style="font-weight:normal;" align="left">(hehe, I call it doggie screen, sitting like a dog waiting for your fingers to feed it like dog wait for food <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
<p style="font-weight:normal;" align="left">So you&#8217;ll see “Post Install Setup” screen with below options:</p>
<ol>
<li>
<p style="font-weight:normal;" align="left">CUCM Publisher IP 	address	: 142.2.64.11 (default, not changeble)</p>
</li>
<li>
<p style="font-weight:normal;" align="left">AXL User		: 	Administrator</p>
<ol>
<li>
<ol>
<li>
<ol>
<li>
<ol>
<li>
<ol>
<li>
<ol>
<p style="font-weight:normal;" align="left">(I&#8217;m too lazy to 							create a new one, for production server you must create a new 							AXL user for security reason.)</p>
</ol>
</li>
</ol>
</li>
</ol>
</li>
</ol>
</li>
</ol>
</li>
</ol>
</li>
<li>
<p style="font-weight:normal;" align="left">Axl password		: blah 	blah..</p>
</li>
<li>
<p style="font-weight:normal;" align="left">Confirm password	: 	blah blah &lt;then hit the “NEXT”&gt;</p>
</li>
<li>
<p style="font-weight:normal;" align="left">Security password	: 	blah blah (whatever you supplied during installation)</p>
</li>
<li>
<p style="font-weight:normal;" align="left">Then hit the “CONFIRM” 	 (Ignore the warning)</p>
<p>Finally you will get 3 options:</p>
<p style="font-weight:normal;" align="left">A) Home	B)  Status		C) 	TOPOLOGY</p>
</li>
<li>
<p style="font-weight:normal;" align="left">Click on “HOME” 	you&#8217;ll see you are in a new home <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  i.e. preseence main admin page.</p>
</li>
</ol>
<p style="font-weight:normal;" align="left">
<p style="font-weight:normal;" align="left">
<p style="border-color:0 0 #000000;border-style:none none solid;border-width:medium medium 1pt;padding:0 0 .07cm;"><strong>Step#8:  Upload License and Activate presence Services</strong></p>
<p style="font-weight:normal;" align="left">
<ol>
<li>
<p align="left"><span style="font-weight:normal;">first upload the 	license if you haven&#8217;t done that so far.</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">GO to &gt; Cisco 	Unified Servicebility&gt;&gt;Tools&gt;Activate services<br />
Activate 	all services, it will take 2-3 minutes.</span></li>
</ol>
<p align="left">
<p style="border-color:0 0 #000000;border-style:none none solid;border-width:medium medium 1pt;padding:0 0 .07cm;"><strong>Step#9:  Configure Presence</strong></p>
<p align="left"><span style="font-weight:normal;">Jump straight on Presence Admin page&gt;&gt;Diagnostic&gt;System Troubleshootor</span></p>
<p align="left"><span style="font-weight:normal;">Pay attention to RED crossed balls and yellow exclamation ! Signs and fix them one by one.</span></p>
<ol>
<li>
<p align="left"><span style="font-weight:normal;">Under Presence 	Engine: Click on FIX under “no commnication presence” this will 	take you to add presence gateway:</span></p>
<p align="left"><span style="font-weight:normal;">Add NEW&gt;</span></p>
<p>Presence 	Gateway type 	: CUCM<br />
description			: blah</p>
<p align="left"><span style="font-weight:normal;">Presence Gateway		: 	142.2.64.11 ← CCM IP</span></p>
<p align="left"><span style="font-weight:normal;">Double check the 	settings under below menus:</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">SYSTEM&gt; CCM 	Publisher		: Check all parameter under this</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">SYSTEM&gt; 	Application Listioner&gt;Default class SIP TCP Listioner (make sure 	its what you have defined in the SIP trunk on CCM – transport 	method TCP or UDP, both should have the same protocol/port) we are 	using:<br />
Protocol 	= TCP<br />
PORT		= 5060</span></li>
<li>
<p align="left"><span style="font-weight:normal;">SYSTEM&gt; 	Security&gt;INCOMING ACL<br />
Add NEW&gt; description=blah/all	address 	pattern=all</span></li>
</ol>
<p align="left">
<p align="left">
<p style="border-color:0 0 #000000;border-style:none none solid;border-width:medium medium 1pt;padding:0 0 .07cm;"><strong>Step#10:  Tune the Presence Engine&#8217;s Service parameter (same as we do with CCM)</strong></p>
<p align="left"><span style="font-weight:normal;">SYSTEM&gt;&gt; Service Parameter&gt;Select active CUPS Server&gt; Select Presence Engine</span></p>
<p align="left">
<ol>
<li>
<p align="left"><span style="font-weight:normal;">Search “Proxy 	Domain” and set it to 		:	142.2.64.51 (or domain name)</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Search 	“Transport Preferred Order” and set it to	:	TCP/UDP/TLS</span></p>
</li>
</ol>
<p align="left">
<p style="border-color:0 0 #000000;border-style:none none solid;border-width:medium medium 1pt;padding:0 0 .07cm;"><strong>Step#10:  Iconfigure P Phone Messenger on Presence server</strong></p>
<p align="left"><span style="font-weight:normal;">Application&gt;IP Phone&gt; Setting</span></p>
<ol>
<li>
<p align="left"><span style="font-weight:normal;">IPPM Application 	Status	:	ON</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Application user 	Name	:	IPPMSG	(created in step 3A)</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Application 	Password		:	blah&#8230;</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">confirm 	password		:	Blah</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Max Instant 	message		:	25 	default</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Subscription 	timeout		:	3400 	default</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Publish 	timeout		:	3600	default</span></p>
<p align="left"><span style="font-weight:normal;">Hit “SAVE”</span></p>
</li>
<li>
<p align="left">
</li>
</ol>
<p style="border-color:0 0 #000000;border-style:none none solid;border-width:medium medium 1pt;padding:0 0 .07cm;"><strong>Step#11:  Select a SIP trunk between Presence to CCM</strong></p>
<p align="left"><span style="font-weight:normal;">Tell presence which SIP trunk should be used for pumping calls to CCM.</span></p>
<p align="left">
<p align="left"><span style="font-weight:normal;">Presence&gt;&gt;Setting&gt;</span></p>
<ol>
<li>
<p align="left"><span style="font-weight:normal;">CUP CVP 	Support		:	UNTICK</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">MAX Contact List 	Size	:	200</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Enable Instalt 	messeging 	:	TICK</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Enable SIP 	Publish on CUCM	TICK</span></p>
</li>
<li>
<p align="left"><span style="color:#c5000b;"><strong>CUCM SIP Publish 	Trunk	:	&lt;Select_Your_Trunk&gt;&lt;&#8211; A MUST</strong></span></p>
</li>
</ol>
<p align="left"><span style="font-weight:normal;">Don&#8217;t forget to save after above. Above SIP trunk will be automatically listed in above “5”. This we is the one we created on CCM.</span></p>
<p align="left">
<p style="border-color:0 0 #000000;border-style:none none solid;border-width:medium medium 1pt;padding:0 0 .07cm;"><strong>Step#12:  Set TFTP address for IP COMMUNICATOR Clients</strong></p>
<p align="left"><span style="font-weight:normal;">Application&gt;Unified IP Personal Communicator&gt;Settings</span></p>
<ol>
<li>
<p align="left"><span style="font-weight:normal;">Proxy 	Listenor	:	Default Cisco SIP proxy TCP Listenor</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Primary TFTP 		:	142.2.64.11 (CCM pub tftp)</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Backup 	TFTP		:	142.2.64.12 (sub tftp) or whatever</span></p>
</li>
</ol>
<p align="left">
<p align="left"><span style="font-weight:normal;">LDAP – if you are using LDAP put LDAP parameters there. Else disable it.</span></p>
<p align="left">
<p style="border-color:0 0 #000000;border-style:none none solid;border-width:medium medium 1pt;padding:0 0 .07cm;"><strong>Step#13: For MOC client define CTI Gateway</strong></p>
<p align="left"><span style="font-weight:normal;">Application&gt;&gt;CUCM CTI Gateway&gt;Settings</span></p>
<ol>
<li>
<p align="left"><span style="font-weight:normal;">Application 	Status		:	ON</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Application 	Username	:	moc_user (make sure its created on CCM as app usr)</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Application 	Password		: 	blah</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Confirmed 	Password		:	blah</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">CUCM Address		: 		142.2.64.11 (CCM address)</span></p>
</li>
</ol>
<p align="left">
<p align="left">
<p align="left"><span style="font-weight:normal;">Now time to run the Presence troubleshooter again. This will tell you whats remaining and how to fix it. Once those are done, activate the presence and other services and bingo.. you are ready to rocck!! on hang on, oh no!! Still remaining:</span></p>
<ol>
<li>
<p align="left"><span style="font-weight:normal;">MOC integration</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Creating users 	and testing presence</span></p>
</li>
<li>
<p align="left"><span style="font-weight:normal;">Voicemail 	integration with Presence</span></p>
<p align="left">
</li>
</ol>
<p align="left"><span style="font-weight:normal;">I&#8217;m sleepy now, will continue remaining part next day!!</span></p>
<p align="left">
<p align="left">
<p align="left">
<ol>
<p align="left">
</ol>
<p><span style="font-weight:normal;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span><strong> </strong></p>
<p><strong>How to integrate Cisco Presence with Call manager</strong></p>
<p><span style="font-weight:normal;">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</span></p>
<p><span style="color:#ff0000;"><span style="font-weight:normal;">Push Bhatkoti (</span></span><span style="font-weight:normal;"><span style="color:#ff0000;">CCIE voice#21569</span>)<br />
</span></p>
<p style="margin-bottom:0;">
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pushkarbhatkoti.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pushkarbhatkoti.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pushkarbhatkoti.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pushkarbhatkoti.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pushkarbhatkoti.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pushkarbhatkoti.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pushkarbhatkoti.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pushkarbhatkoti.wordpress.com/215/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pushkarbhatkoti.wordpress.com/215/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pushkarbhatkoti.wordpress.com/215/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=215&subd=pushkarbhatkoti&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://pushkarbhatkoti.wordpress.com/2009/06/08/cisco-presence-integration-with-ccm-7x-in-20-minutes/feed/</wfw:commentRss>
		<slash:comments>7</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 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 shrink/purge CCM 4x CDR database</title>
		<link>http://pushkarbhatkoti.wordpress.com/2009/01/26/how-to-shrinkpurge-ccm-4x-cdr-database/</link>
		<comments>http://pushkarbhatkoti.wordpress.com/2009/01/26/how-to-shrinkpurge-ccm-4x-cdr-database/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 03:15:45 +0000</pubDate>
		<dc:creator>pushkarbhatkoti</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[how to shrink CDR]]></category>
		<category><![CDATA[purging ccm4x cdr database]]></category>

		<guid isPermaLink="false">http://pushkarbhatkoti.wordpress.com/?p=191</guid>
		<description><![CDATA[


Cisco recommends purging CCM 4x CDR database before running DMA tool to migrate CCM 4x to 5x/6x.


You may use either method shown below to reduce the CCM 4 CDR database.






Method#1 (My favourite)
Shrink the database via the SQL Enterprise Manager.
Note: This is done on the Publisher.

Select Start &#62; Programs &#62; MS SQL Server &#62; 		  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=191&subd=pushkarbhatkoti&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><pre><span class="content">
</span></pre>
<p><strong></strong></p>
<h3><strong>Cisco recommends purging CCM 4x CDR database before running DMA tool to migrate CCM 4x to 5x/6x.</strong></h3>
<p><strong></strong></p>
<p><strong></strong></p>
<h3><strong>You may use either method shown below to reduce the CCM 4 CDR database.</strong></h3>
<p><strong></strong></p>
<pre><span class="content">

</span></pre>
<h1><span class="content"></p>
<p></span></h1>
<h1><span style="color:#0000ff;"><span style="text-decoration:underline;">Method#1 (My favourite)</span></span><a name="Solution2"></a></h1>
<p><span class="content">Shrink the database via the SQL Enterprise Manager.</span></p>
<p><strong>Note: </strong>This is done on the Publisher.</p>
<ol type="1">
<li>Select <strong>Start &gt; Programs &gt; MS SQL Server &gt; 		  Enterprise manager</strong>.</li>
<li>Choose the Publisher server.</li>
<li>You can either go to the ART database or CDR database, based on 		  which file is large.</li>
<li>Right-click the database.</li>
<li>Select <strong>All Tasks &gt; Shrink database</strong> and click 		  <strong>Files</strong>.</li>
<li>Select the database file <strong>CDR</strong> and 		  <strong>CDR_log</strong> on the new window.</li>
<li>Shrink each of them.This process takes some time.If the file is still large or SQL is not able to shrink the 		  transactional file, use Solution 3.</li>
</ol>
<h1><span style="text-decoration:underline;"><span style="color:#0000ff;"><a name="sol3">Method#2: </a></span></span></h1>
<p>For SQL 2000 (Cisco CallManager 3.3 and 4.0), complete these steps to 	 reduce the size of the CDR_log.LDF. This is located at C:\Program 	 Files\Microsoft SQL Server\MSSQL\Data.</p>
<p>Use these commands at the command prompt:</p>
<blockquote>
<pre>ART
C:\&gt;<strong>osql -E</strong>
1&gt;<strong>use art</strong>
2&gt;<strong>go</strong>

1&gt;<strong>backup log art with no_log</strong>
2&gt;<strong>go</strong>

1&gt;<strong>dbcc shrinkdatabase (art)</strong>
2&gt;<strong>go</strong>

CDR
C:\&gt;<strong>osql -E</strong>
1&gt;<strong>use cdr</strong>
2&gt;<strong>go</strong>

1&gt;<strong>backup log cdr with no_log</strong>
2&gt;<strong>go</strong>

1&gt;<strong>dbcc shrinkdatabase (cdr)</strong>
2&gt;<strong>go</strong>

Cheers
-Push CCIE#21569</pre>
</blockquote>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pushkarbhatkoti.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pushkarbhatkoti.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pushkarbhatkoti.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pushkarbhatkoti.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pushkarbhatkoti.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pushkarbhatkoti.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pushkarbhatkoti.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pushkarbhatkoti.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pushkarbhatkoti.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pushkarbhatkoti.wordpress.com/191/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=191&subd=pushkarbhatkoti&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://pushkarbhatkoti.wordpress.com/2009/01/26/how-to-shrinkpurge-ccm-4x-cdr-database/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>CCM6x checking replication status and number of nodes in the cluster</title>
		<link>http://pushkarbhatkoti.wordpress.com/2009/01/26/ccm6x-checking-replication-status-and-number-of-nodes-in-the-cluster/</link>
		<comments>http://pushkarbhatkoti.wordpress.com/2009/01/26/ccm6x-checking-replication-status-and-number-of-nodes-in-the-cluster/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 03:03:05 +0000</pubDate>
		<dc:creator>pushkarbhatkoti</dc:creator>
				<category><![CDATA[CCM 6x checking replication status and number of nodes in the cluster]]></category>
		<category><![CDATA[ccm 5/6x - how to check replication status]]></category>

		<guid isPermaLink="false">http://pushkarbhatkoti.wordpress.com/?p=187</guid>
		<description><![CDATA[

Step#1 List number of node in the cluster using CLI:

admin: run sql select name,nodeid from ProcessNode




name               nodeid



================== ======



EnterpriseWideData   1



222.22.2.22          4



222.22.2.25          2
Step#2   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=187&subd=pushkarbhatkoti&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="color:#0000ff;"><br />
</span></p>
<h2><span style="color:#0000ff;"><span style="text-decoration:underline;">Step#1 List number of node in the cluster using CLI:</span></span></h2>
<div class="pEx1_Example1">
<pre><span style="color:#ff0000;">admin: </span><span class="cExBold"><span style="color:#ff0000;">run sql select name,nodeid from ProcessNode</span>
</span></pre>
</div>
<p><a name="wp179511"></a></p>
<div class="pEx1_Example1">
<pre>name               nodeid</pre>
</div>
<p><a name="wp178654"></a></p>
<div class="pEx1_Example1">
<pre>================== ======</pre>
</div>
<p><a name="wp178655"></a></p>
<div class="pEx1_Example1">
<pre>EnterpriseWideData   1</pre>
</div>
<p><a name="wp178656"></a></p>
<div class="pEx1_Example1">
<pre>222.22.2.22          4</pre>
</div>
<p><a name="wp178646"></a></p>
<div class="pEx1_Example1">
<pre>222.22.2.25          2</pre>
<h2><span style="color:#0000ff;"><span style="text-decoration:underline;">Step#2   : Check the replication status of each subscriber/node in the cluster<br />
</span></span></h2>
<div class="pEx1_Example1">
<pre><span style="color:#ff0000;">admin: </span><span class="cExBold"><span style="color:#ff0000;">show perf query class "Number of Replicates Created and State of Replication"</span>
</span></pre>
</div>
<p><a name="wp177852"></a></p>
<div class="pEx1_Example1">
<pre>==&gt;query class :</pre>
</div>
<div class="pPreformatted">
<pre class="pPreformatted"><a name="wp177853"></a></pre>
</div>
<p><a name="wp177854"></a></p>
<div class="pEx3_Example3">
<pre>- Perf class (Number of Replicates Created and State of Replication)</pre>
</div>
<p><a name="wp177855"></a></p>
<div class="pEx2_Example2">
<pre>has instances and values:</pre>
</div>
<p><a name="wp177856"></a></p>
<div class="pEx3_Example3">
<pre>ReplicateCount  -&gt; Number of Replicates Created   = 344</pre>
</div>
<p><a name="wp177821"></a></p>
<div class="pEx3_Example3">
<pre>ReplicateCount  -&gt;<span style="color:#ff0000;"> Replicate_State                = 2
</span></pre>
<p class="pB2_Body2">The following list shows the possible values for Replicate_State:</p>
<p><a name="wp180827"></a></p>
<p class="pBu2_Bullet2">–<img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="17" height="2" />0—Replication Not Started. Either no subscribers exist, or the Database Layer Monitor service is not running and has not been running since the subscriber was installed.</p>
<p><a name="wp177911"></a></p>
<p class="pBu2_Bullet2">–<img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="17" height="2" />1—Replicates have been created, but their count is incorrect.</p>
<p><a name="wp177916"></a></p>
<p class="pBu2_Bullet2">–<img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="17" height="2" /><span style="color:#ff0000;">2—Replication is good</span>.</p>
<p><a name="wp181779"></a></p>
<p class="pBu2_Bullet2">–<img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="17" height="2" />3—Replication is bad in the cluster.</p>
<p><a name="wp186731"></a></p>
<p class="pBu2_Bullet2">–<img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="17" height="2" />4—Replication setup did not succeed.</p>
</div>
<div class="pPreformatted">
<pre class="pPreformatted">Noticed 2 means replication status between two serves are okay up and running.</pre>
<h2 class="pSN_StepNext"><span style="text-decoration:underline;"><span style="color:#0000ff;">STEP#3 :<img src="http://www.cisco.com/en/US/i/templates/blank.gif" border="0" alt="" width="5" height="2" />To check network connectivity and DNS server configuration</span>:</span></h2>
<p class="pSN_StepNext">Enter the <span style="color:black;font-style:normal;font-weight:normal;">C</span>LI command<span style="color:black;font-style:normal;font-weight:normal;"> that is shown in below:</span></p>
<p><a name="wp186766"></a></p>
<div class="pEx1_Example1">
<pre><span style="color:#ff0000;">admin: utils diagnose module validate_network
</span></pre>
</div>
<p><span style="color:#ff0000;"><a name="wp187592"></a></span></p>
<div class="pEx1_Example1">
<pre><span style="color:black;font-style:normal;font-weight:normal;">Log file: /var/log/active/platform/log/diag1.log</span></pre>
</div>
<div class="pPreformatted">
<pre class="pPreformatted"><a name="wp187593"></a></pre>
</div>
<p><a name="wp187594"></a></p>
<div class="pEx1_Example1">
<pre><span style="color:black;font-style:normal;font-weight:normal;">Starting diagnostic test(s)</span></pre>
</div>
<p><a name="wp187595"></a></p>
<div class="pEx1_Example1">
<pre><span style="color:black;font-style:normal;font-weight:normal;">===========================</span></pre>
</div>
<p><a name="wp187596"></a></p>
<div class="pEx1_Example1">
<pre><span style="color:black;font-style:normal;font-weight:normal;">test - validate_network    : Passed                      </span></pre>
</div>
<div class="pPreformatted">
<pre class="pPreformatted"><a name="wp187597"></a></pre>
</div>
<p><a name="wp187598"></a></p>
<div class="pEx1_Example1">
<pre><span style="color:black;font-style:normal;font-weight:normal;">Diagnostics Completed</span></pre>
</div>
<p><span style="color:black;font-style:normal;font-weight:normal;">admin:</span></p>
<div class="pEx1_Example1">
<pre></pre>
</div>
<pre class="pPreformatted"></pre>
</div>
</div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pushkarbhatkoti.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pushkarbhatkoti.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pushkarbhatkoti.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pushkarbhatkoti.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pushkarbhatkoti.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pushkarbhatkoti.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pushkarbhatkoti.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pushkarbhatkoti.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pushkarbhatkoti.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pushkarbhatkoti.wordpress.com/187/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=187&subd=pushkarbhatkoti&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://pushkarbhatkoti.wordpress.com/2009/01/26/ccm6x-checking-replication-status-and-number-of-nodes-in-the-cluster/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/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" />
	</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>CME SIP Trunking Configuration Example</title>
		<link>http://pushkarbhatkoti.wordpress.com/2009/01/10/cme-sip-trunking-configuration-example/</link>
		<comments>http://pushkarbhatkoti.wordpress.com/2009/01/10/cme-sip-trunking-configuration-example/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 14:19:29 +0000</pubDate>
		<dc:creator>pushkarbhatkoti</dc:creator>
				<category><![CDATA[CME SIP trunking configuration example]]></category>
		<category><![CDATA[cisco cme sip trunk]]></category>
		<category><![CDATA[isp sip trunk]]></category>

		<guid isPermaLink="false">http://pushkarbhatkoti.wordpress.com/?p=172</guid>
		<description><![CDATA[Note: This article is pulled from:
Source: http://www.cisco.com/en/US/products/sw/voicesw/ps4625/products_configuration_example09186a00808ff666.shtml
All credit goes to Cisco.com
(Cisco keep moving the pages here and there so, I thot to keep a copy of it for benifit of everyeone.)
 

Introduction
Today, the telecommunications industry is in the process of making the 	 transition from long establishing switching and transport techonologies to 	 IP-based transport [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=172&subd=pushkarbhatkoti&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Note: This article is pulled from:</p>
<p><span>Source: http://www.cisco.com/en/US/products/sw/voicesw/ps4625/products_configuration_example09186a00808ff666.shtml</span><br />
All credit goes to Cisco.com<br />
(Cisco keep moving the pages here and there so, I thot to keep a copy of it for benifit of everyeone.)</p>
<blockquote><p><strong> </strong></p></blockquote>
<hr />
<h2><a name="intro">Introduction</a></h2>
<p>Today, the telecommunications industry is in the process of making the 	 transition from long establishing switching and transport techonologies to 	 IP-based transport and edge devices. The IP communication revolution has 	 started to create a tremendous commercial impact in small and medium 	 businesses. These small and medium businesses are realizing that the use of IP 	 is very efficient because IP can use Voice, Video, and Data capabilities over a 	 single network, instead of using three separate special-purpose networks. 	 Figure 1 shows an IP telephony deployment trending towards IP trunking.</p>
<p><strong>Figure 1 &#8211; IP Telephony System</strong><img src="http://www.cisco.com/image/gif/paws/91535/cme-sip-trunking-config1.gif" border="0" alt="cme-sip-trunking-config1.gif" /></p>
<p>IP PBXs are starting to predominate in the business of the Voice 	 technology, and the TDM PBXs are no longer the primary source as the crossover 	 going between two Voice networks. The usage of the TDM PBXs has decreased in 	 the last couple of years, and the use of the IP PBX is becoming a good 	 investment in IP LANs and WANs. In order to connect to the PSTN, PBXs need some 	 sort of trunking such as TDM (T1/E1) or analog lines. IP PBXs can access the 	 PSTN using these types of trunks, but need a media gateway that converts the IP 	 voice traffic to traditional PSTN, which sometimes can result in successive 	 translation from IP domain to TDM domain. These successive translations 	 increase the maintenance costs of the gateways, increases latency, and reduces 	 voice quality.</p>
<p>In order to avoid these problems, the IP PBXs use protocols for session 	 initiation and management, the most prominent of which is Session Initiation 	 Protocol (SIP). This document provides a description on SIP trunking and Cisco 	 CallManager Express (CME), and a configuration to implement an IP-based 	 telephony system with CME using SIP trunking for inbound and outbound 	 calls.</p>
<h2><a name="prereq">Prerequisites</a></h2>
<h3><a name="req">Requirements</a></h3>
<p>Ensure that you meet these requirements before you attempt this 	 configuration:</p>
<ul>
<li>CME release 4.1 is installed</li>
<li>An image of Cisco IOS® Software Release 12.4(11)XJ or IOS 12.4(6th)T 		is on the router</li>
<li>An NM-CUE module is installed with CUE release 		2.3.4</li>
</ul>
<h3><a name="hw">Components Used</a></h3>
<p>The information in this document is based on these software and 	 hardware versions:</p>
<ul>
<li>Cisco 3825 Router on Cisco IOS Software Release 		12.4(11)XJ</li>
<li>Cisco Catalyst 3550 Switch on Cisco IOS Software Release 		12.4</li>
<li>Cisco IP 7960 Phone</li>
<li>Cisco CallManager Express 4.1</li>
<li>Cisco Unity Express 2.3.4</li>
</ul>
<p>The information in this document was created from the devices in a 	 specific lab environment. All of the devices used in this document started with 	 a cleared (default) configuration. If your network is live, make sure that you 	 understand the potential impact of any command.</p>
<h3><a name="conv">Conventions</a></h3>
<p>Refer to the 	 <a href="http://www.cisco.com/en/US/tech/tk801/tk36/technologies_tech_note09186a0080121ac5.shtml">Cisco 	 Technical Tips Conventions</a> for more information on document 	 conventions.</p>
<h2><a name="backinfo">SIP Protocol</a></h2>
<p>SIP is an ASCII based, application-layer control protocol that can be 	 used to establish, maintain, and terminate calls between two or more endpoints. 	 SIP has rapidly emerged as the standard protocol used in IP communications, 	 because it is a multimedia protocol that can be used for video sessions and 	 instant messaging in addition to voice. Also, SIP can handle conference 	 sessions and broadcasts, as well as one-to-one sessions. SIP has great 	 potential in transforming and developing the way people communicate. For this 	 reason, Cisco has and continues to play an important role in taking a 	 leadership to create new technologies that make SIP and its applications the 	 standard of IP communications.</p>
<p>SIP trunks are similar to a phone line, except that SIP trunks use the 	 IP network, not the PSTN. In addition, SIP trunks permit the convergence of 	 voice and data onto common all-IP connections. In order to access the IP 	 network using an SIP trunk, it is necessary that configurations be made on the 	 service provider, as well as on the customer side. Customers need to set and 	 configure CME, which is the PBX that will interpret the SIP signal adequately 	 and pass traffic successfully. The service provider needs to configure an SIP 	 Proxy Server. However, SIP trunks are more complicated to establish than 	 regular PSTN trunks. The reason is that a customer faces challenges in handling 	 different interpretation and implementations of SIP by equipment vendors, 	 delivering security, managing quality of service (QoS), enabling Network 	 Address Translation (NAT) and firewall traversal, and ensuring carrier-grade 	 reliability and continuity of service.</p>
<p>These points describe why SIP trunks are becoming so apparent in small 	 and medium businesses:</p>
<ul>
<li>Quick and Easy Deployment</li>
<li>Improved Utilization of Network Capacity</li>
<li>Potential for Consolidating and Lowering Telephony 		Costs</li>
<li>Economical Direct Inward Dial (DID)</li>
<li>Business Continuity</li>
</ul>
<h2><a name="topic1">CME SIP Trunk Support</a></h2>
<p>Cisco CME is an IP telephony solution that is integrated directly into 	 Cisco IOS software. CME permits small and medium businesses to deploy voice, 	 data, and video on a single platform. An IP telephony network is simple to set 	 because CME runs on a single router, which delivers a PBX functionality for 	 businesses. Therefore, by using CME, small and medium businesses can deliver IP 	 telephony and data routing using a single converged solution with minimal 	 costs.</p>
<h3><a name="dtmf">DTMF Relay for SIP Trunks</a></h3>
<p>CME started to support SIP trunking when CME 3.1 was released. However, 	 some problems existed when an SIP phone called an SCCP phone or tried to access 	 voicemail. The problem is that SCCP phones connected to CME require the use of 	 out-of-band DTMF relay to transport DTMF (digits) across VoIP connections, and 	 SIP phones use in-band tranports. A DTMF distortion existed between the two 	 devices. When CME 3.2 was released, support was added to the DTMF relay. DTMF 	 digits from SCCP could be converted to in-band DTMF relay mechanism through 	 RFC2833 or Notify methods.</p>
<p>CME currently supports this list of DTMF internetworking for SIP to SIP 	 calls:</p>
<ul>
<li>Notify &lt;&#8212;&gt; Notify since 12.4(4)T</li>
<li>RFC2833 &lt;&#8212;&gt; Notify since 12.4(4)T</li>
<li>Notify &lt;&#8212;&gt; RFC2833 since 12.4(4)T</li>
<li>Inband G711 &lt;&#8212;&gt; since 12.4(11)T <strong>[Requires 		Transcoder]</strong></li>
</ul>
<p>CME currently supports this DTMF internetworking for SIP to SCCP 	 calls:</p>
<ul>
<li>SCCP out-of-band—SIP Notify / RFC2833 since 		12.4(4)T</li>
</ul>
<h3><a name="codecs">Codec Support and Transcoding</a></h3>
<p>Another important aspect to consider when you set up an SIP trunk is 	 the codecs supported. Codecs represent the pulse-code modulation sample for 	 signals in voice frequencies. SIP trunks support these codecs: G.711 and G.729. 	 However, for different features such as Cisco Unity Express (CUE) and Music on 	 Hold (MOH), only codec G.711 is supported. This means that voice calls that use 	 SIP trunks using codec G.729 cannot access CUE, unless a transcoder exists to 	 permit the compression and decompression of voice streams to match the CUE 	 capabilities. MOH can also use codec G.729 to save bandwidth, but the codec 	 does not provide adequate quality MOH streams. This is due to the fact that 	 G.729 is optimized for speech. Therefore, you must force MOH to use 	 G.711.</p>
<h3><a name="call-fwd">Call Forward</a></h3>
<p>When a call comes in on an SIP trunk and gets forwarded (CFNA / CFB / 	 CFA), then the default behavior is for the CME to send the 302 &#8220;Moved 	 Temporarily&#8221; SIP message to the Service Provider (SP) proxy. The user portion 	 of the Contact Header in the 302 message might need to be translated to reflect 	 a DID that the SP proxy can route to. The host portion of the Contact Header in 	 the 302 message should be modified to reflect the Address of Record (AOR) using 	 the <strong>host-registrar</strong> CLI under sip-ua and the 	 <strong>b2bua</strong> CLI under the VoIP dial peer going to the CUE.</p>
<p>Some SIP proxies might not support this. If so, then you need to add 	 this:</p>
<blockquote>
<pre>Router(config)#<strong>voice service voip</strong></pre>
</blockquote>
<blockquote>
<pre>Router(conf-voi-serv)#<strong>no supplementary-service sip moved-temporarily</strong></pre>
</blockquote>
<p>Figure 2 shows the behavior of the CME system when the 302 message is 	 disabled.</p>
<p><strong>Figure 2 &#8211; Call Forward Busy (CFB) flow with 302 message 		disabled</strong><img src="http://www.cisco.com/image/gif/paws/91535/cme-sip-trunking-config2.gif" border="0" alt="cme-sip-trunking-config2.gif" /></p>
<p>This method will allow hairpinning of the 302 SIP messages for call 	 forwards on the CME. The above is also required if there are certain extensions 	 that have no DID mapping as the SP proxy might not know how to route such 	 calls. If you disable the 3xx response, the <strong>calling-number 	 initiator</strong> can be used to preserve the caller ID of the original 	 calling party.</p>
<h3><a name="call-transfer">Call Transfer</a></h3>
<p>When a call comes in on an SIP trunk to an SCCP Phone or CUE 	 AutoAttendant (AA) and is transferred, the CME by default will send a SIP REFER 	 message to the SP proxy. Most SP Proxy Servers do not support the REFER method. 	 This needs to be configured in order to force the CME to hairpin the 	 call:</p>
<blockquote>
<pre>Router(config)#<strong>voice service voip</strong></pre>
</blockquote>
<blockquote>
<pre>Router(conf-voi-serv)#<strong>no supplementary-service sip refer</strong></pre>
</blockquote>
<p>Figure 3 shows the behavior of the CME system with the REFER method 	 disabled.</p>
<p><strong>Figure 3 &#8211; Transfer with REFER disabled</strong><img src="http://www.cisco.com/image/gif/paws/91535/cme-sip-trunking-config3.gif" border="0" alt="cme-sip-trunking-config3.gif" /></p>
<p>If REFER is supported on the SIP proxy, the user portion of the 	 Refer-To and Referred-By must be translated to a DID that the SP proxy 	 understands. The host portion of the Refer-To and Referred-By fields must be an 	 IP address or DNS that the SP proxy can route to as well (this occurs by 	 default on CME 4.1).</p>
<h3><a name="call-hold">Call Hold</a></h3>
<p>If an SCCP phone places a call from PSTN on HOLD, the CME locally 	 changes the media. No SIP messages are sent across on the SIP trunk. Music on 	 Hold will be played to the user across the SIP trunk based on the CME 	 configuration.</p>
<h2><a name="conf">Configure</a></h2>
<p>In this section, you are presented with the information to configure 	 the features described in this document.</p>
<p><strong>Note: </strong>Use the 		<a href="http://www.cisco.com/pcgi-bin/Support/Cmdlookup/home.pl">Command 		Lookup Tool</a> (<span> <a href="http://tools.cisco.com/RPF/register/register.do">registered</a> customers only</span>)          to obtain more information on the commands used in this 		section.</p>
<h3><a name="diag">Network Diagram</a></h3>
<p>This document uses this network setup:</p>
<p><img src="http://www.cisco.com/image/gif/paws/91535/cme-sip-trunking-config4.gif" border="0" alt="cme-sip-trunking-config4.gif" /></p>
<h3><a name="configs">Configurations</a></h3>
<p>These configuration elements provide an outline of the steps required 	 to configure your CME with SIP trunks:</p>
<ul>
<li>Infrastructure Elements: Interfaces, TFTP and DHCP services, NTP, 		etc</li>
<li>Telephony-service: Enables IOS &#8220;PBX&#8221; call control on the CME platform 		including elements of phone management</li>
<li>Ephones an Ephones-dns: Define IP phones and their telephone 		numbers</li>
<li>Dial Plan: Dial-peers, extensions, voice-translation 		rules</li>
<li>IOS SIP Configuration: Enables SIP, phone registration with SIP 		proxy, call routing over trunks, etc</li>
<li>Voicemail Support: Cisco Unity Express</li>
<li>Switch Catalyst Configuration: IP address, Interfaces, 		etc</li>
</ul>
<p>This is the complete configuration needed to deploy a CME system with 	 SIP trunks:</p>
<table border="1" cellspacing="1" cellpadding="3" width="60%" bgcolor="#ffffff">
<tbody>
<tr>
<th>Router &#8211; CME Configuration</th>
</tr>
<tr>
<td bgcolor="#ffffff">
<pre>!
AUSNML-3825-01#<strong>show run</strong>
Building configuration...

Current configuration : 8634 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname AUSNML-3825-01
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$vBU1$MCMG1rXM5ejME8Wap6W0H1
!
no aaa new-model
clock timezone central -8
clock summer-time central recurring
ip cef
!
<em>
<span style="color:#0000ff;">!--- DHCP Configuration ---</span>
</em>
ip dhcp pool Voice
   network 172.22.100.0 255.255.255.0
   option 150 ip 172.22.1.107
   default-router 172.22.100.1
!
ip dhcp pool Data
   network 172.22.101.0 255.255.255.0
   option 150 ip 172.22.1.107
   default-router 172.22.101.1
!
!
ip domain name cisco.com
ip name-server 205.152.0.20
multilink bundle-name authenticated
!
voice-card 0
 no dspfarm
!
!
!
!
<em>
<span style="color:#0000ff;">!--- Voice Class and Service VoIP Configuration ---</span>
</em>
voice service voip
 allow-connections sip to sip
 no supplementary-service sip moved-temporarily
<em>
<span style="color:#0000ff;">!---Disable 302 sending</span>
</em>
 no supplementary-service sip refer
<em>
<span style="color:#0000ff;">!---Disable REFER sending</span>
</em>
 sip
  registrar server expires max 3600 min 3600
  localhost dns:domain.test.com
!
!
voice class codec 1
 codec preference 1 g711ulaw
!
!
!
!
!
!
!
!
!
!
!
<em>
<span style="color:#0000ff;">!--- Voice Translation Rules ---</span>
</em>
voice translation-rule 1
 rule 1 /5123781291/ /601/
<em>
<span style="color:#0000ff;">!--- An inbound rule for AA pilot "601</span>
</em>
 rule 2 /5123781290/ /600/
<em>
<span style="color:#0000ff;">!--- An inbound rule for the voicemail pilot "600"</span>
</em>
!
voice translation-rule 2
 rule 1 /^911$/ /911/
<em>
<span style="color:#0000ff;">!--- An outbound rule to allow "911"</span>
</em>
 rule 2 /^9(.*)/ /\1/
<em>
<span style="color:#0000ff;">!--- An outbound rule to strip "9" from PSTN calls</span>
</em>
!
voice translation-rule 3
 rule 1 /^.*/ /5123781291/
<em>
<span style="color:#0000ff;">!--- An outbound rule to change calling-number CLID to a
!--- "main" number</span>
</em>
!
voice translation-rule 4
 rule 1 /^9(.......)$/ /512\1/
<em>
<span style="color:#0000ff;">!--- An outbound rule to add areacode for local calls</span>
</em>
 rule 2 /600/ /5123788000/
<em>
<span style="color:#0000ff;">!--- An outbound rule to present the voicemail pilot extension as DID</span>
</em>
 rule 3 /601/ /5123788001/
<em>
<span style="color:#0000ff;">!--- An outbound rule to present the AA pilot extension as DID</span>
</em>
 rule 4 /^2(..)$/ /51237812\1/
<em>
<span style="color:#0000ff;">!--- An outbound rule to support transfers and call-forwards</span>
</em>
 rule 5 /^9(.*)/ /\1/
<em>
<span style="color:#0000ff;">!--- An outbound rule to strip "9" from "9+" transfers and call-forwards</span>
</em>
!
!
voice translation-profile CUE_Voicemail/AutoAttendant
<em>
<span style="color:#0000ff;">!--- Applied to the inbound dial-peers for CUE</span>
</em>
 translate called 1
!
voice translation-profile PSTN_CallForwarding
<em>
<span style="color:#0000ff;">!--- Applied to CUE dial-peers</span>
</em>
 translate redirect-target 4
 translate redirect-called 4
!
voice translation-profile PSTN_Outgoing
<em>
<span style="color:#0000ff;">!--- Applied to all outbound dial-peers</span>
</em>
 translate calling 3
 translate called 2
 translate redirect-target 4
 translate redirect-called 4
!
!
!
!
!
!
!
vlan internal allocation policy ascending
!
!
!
!
<em>
<span style="color:#0000ff;">!--- Internet Connection Configuration ---</span>
</em>
interface GigabitEthernet0/0
 no ip address
 duplex auto
 speed auto
 media-type rj45
 no keepalive
!
interface GigabitEthernet0/0.1
 encapsulation dot1Q 1 native
 ip address 172.22.1.71 255.255.255.0
!
interface GigabitEthernet0/0.20
 encapsulation dot1Q 20
 ip address 172.22.101.1 255.255.255.0
!
interface GigabitEthernet0/0.100
 encapsulation dot1Q 100
 ip address 172.22.100.1 255.255.255.0
!
interface GigabitEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
 media-type rj45
 no keepalive
!
interface Service-Engine1/0
 ip unnumbered GigabitEthernet0/0.1
 service-module ip address 172.22.1.253 255.255.255.0
 service-module ip default-gateway 172.22.1.71
!
ip route 0.0.0.0 0.0.0.0 172.22.1.1
ip route 172.22.1.253 255.255.255.255 Service-Engine1/0
!
!
ip http server
no ip http secure-server
!
!
!
<em>
<span style="color:#0000ff;">!--- TFTP Server Configuration  ---</span>
</em>
tftp-server flash:P0030702T023.bin
tftp-server flash:P0030702T023.loads
tftp-server flash:P0030702T023.sb2
tftp-server flash:P0030702T023.sbn
!
control-plane
!
!
!
!
!
!
!
<em>
<span style="color:#0000ff;">!--- SIP Trunk Configuration ---</span>
</em>
dial-peer voice 1 voip
 description **Incoming Call from SIP Trunk**
 translation-profile incoming CUE_Voicemail/AutoAttendant
 voice-class codec 1
 voice-class sip dtmf-relay force rtp-nte
 session protocol sipv2
 session target sip-server
 incoming called-number .%
 dtmf-relay rtp-nte
 no vad
!
!
!
dial-peer voice 2 voip
 description **Outgoing Call to SIP Trunk**
 translation-profile outgoing PSTN_Outgoing
 destination-pattern 9........
 voice-class codec 1
 voice-class sip dtmf-relay force rtp-nte
 session protocol sipv2
 session target sip-server
 dtmf-relay rtp-nte
 no vad
!
!
!
dial-peer voice 3 voip
 description **Outgoing Call to SIP Trunk**
 translation-profile outgoing PSTN_Outgoing
 destination-pattern 9[2-9]..[2-9]......
 voice-class codec 1
 voice-class sip dtmf-relay force rtp-nte
 session protocol sipv2
 session target sip-server
 dtmf-relay rtp-nte
 no vad
!
!
!
dial-peer voice 4 voip
 description **Outgoing Call to SIP Trunk**
 translation-profile outgoing PSTN_Outgoing
 destination-pattern 9[0-1][2-9]..[2-9]......
 voice-class codec 1
 voice-class sip dtmf-relay force rtp-nte
 session protocol sipv2
 session target sip-server
 dtmf-relay rtp-nte
 no vad
!
!
!
dial-peer voice 5 voip
 description **911 Outgoing Call to SIP Trunk**
 translation-profile outgoing PSTN_Outgoing
 destination-pattern 911
 voice-class codec 1
 voice-class sip dtmf-relay force rtp-nte
 session protocol sipv2
 session target sip-server
 dtmf-relay rtp-nte
 no vad
!
!
!
dial-peer voice 6 voip
 description **Emergency Outgoing Call to SIP Trunk**
 translation-profile outgoing PSTN_Outgoing
 destination-pattern 9911
 voice-class codec 1
 voice-class sip dtmf-relay force rtp-nte
 session protocol sipv2
 session target sip-server
 dtmf-relay rtp-nte
 no vad
!
!
!
dial-peer voice 7 voip
 description **911/411 Outgoing Call to SIP Trunk**
 translation-profile outgoing PSTN_Outgoing
 destination-pattern 9[2-9]11
 voice-class codec 1
 voice-class sip dtmf-relay force rtp-nte
 session protocol sipv2
 session target sip-server
 dtmf-relay rtp-nte
 no vad
!
!
!
dial-peer voice 8 voip
 description **International Outgoing Call to SIP Trunk**
 translation-profile outgoing PSTN_Outgoing
 destination-pattern 9011T
 voice-class codec 1
 voice-class sip dtmf-relay force rtp-nte
 session protocol sipv2
 session target sip-server
 dtmf-relay rtp-nte
 no vad
!
!
!
dial-peer voice 9 voip
 description **Star Code to SIP Trunk**
 destination-pattern *..
 voice-class codec 1
 voice-class sip dtmf-relay force rtp-nte
 session protocol sipv2
 session target sip-server
 dtmf-relay rtp-nte
 no vad
!
!
!
<em>
<span style="color:#0000ff;">!--- Voicemail Configuration ---</span>
</em>
dial-peer voice 10 voip
 description **CUE Voicemail**
 translation-profile outgoing PSTN_CallForwarding
 destination-pattern 600
 b2bua
<em>
<span style="color:#0000ff;">!--- Used by CME to send its IP address to SP proxy instead of CUE</span>
</em>
 session protocol sipv2
 session target ipv4:172.22.1.155
 dtmf-relay sip-notify
<em>
<span style="color:#0000ff;">!--- This can also be RFC2833 going to CUE</span>
</em>
 codec g711ulaw
<em>
<span style="color:#0000ff;">!--- CUE only supports G711ulaw as the codec</span>
</em>
 no vad
<em>
<span style="color:#0000ff;">!--- With VAD enabled, messages left on CUE could be blank or poor quality</span>
</em>
!
!
!
dial-peer voice 11 voip
 description **CUE Auto Attendant**
 translation-profile outgoing PSTN_CallForwarding
 destination-pattern 601
 b2bua
 session protocol sipv2
 session target ipv4:172.22.1.155
 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!
!
<em>
<span style="color:#0000ff;">!--- SIP UA Configuration ---</span>
</em>
sip-ua
 authentication username 5123781000 password 075A701E1D5E415447425B
 no remote-party-id
 retry invite 2
 retry register 10
 retry options 0
 timers connect 100
 registrar dns:domain.test.com expires 3600
 sip-server dns:domain.test.com
  host-registrar
!
!
<em>
<span style="color:#0000ff;">!--- CME Telephony Service Configuration ---</span>
</em>
telephony-service
 no auto-reg-ephone
 load 7960-7940 P0030702T023
 max-ephones 168
 max-dn 500
 ip source-address 172.22.1.107 port 2000
 calling-number initiator
<em>
<span style="color:#0000ff;">!--- Preserves the caller-id of a call when transferred or forwarded</span>
</em>
 dialplan-pattern 1 51237812.. extension-length 3 extension-pattern 2.. no-reg
 voicemail 600
 max-conferences 12 gain -6
 call-forward pattern .T
 call-forward system redirecting-expanded
<em>
<span style="color:#0000ff;">!--- Enables translation rule features for call-forwarding</span>
</em>
 moh music-on-hold.au
 transfer-system full-consult dss
 transfer-pattern 9.T
 secondary-dialtone 9
 create cnf-files version-stamp Jan 01 2002 00:00:00
!
!
<em>
<span style="color:#0000ff;">!--- Ephone and Ephone-dn Configuration ---</span>
</em>
ephone-dn  11  dual-line
 number 201 secondary 5123781201 no-reg both
<em>
<span style="color:#0000ff;">!---"no-reg both" means do not try to register either extension with SP SIP Proxy</span>
</em>
 name John Smith
 call-forward busy 600
 call-forward noan 600 timeout 15
!
!
ephone-dn  12  dual-line
 number 202 secondary 5123781202 no-reg both
 name Enrique Zurita
 call-forward busy 600
 call-forward noan 600 timeout 15
!
!
ephone-dn  13
 number 5123788000
 description **DID Number for Voicemail**
!
!
ephone-dn  14
 number 5123788001
 description **DID Number for Auto Attendant*
!
!
ephone-dn  15
 number 8000... no-reg primary
 mwi on
!
!
ephone-dn  16
 number 8001... no-reg primary
 mwi off
!
!
ephone  1
 mac-address 0008.A371.28E9
 type 7960
 button  1:11
!
!
!
ephone  2
 mac-address 0008.A346.5C7F
 type 7960
 button  1:12
!
!
!
!
line con 0
 stopbits 1
line aux 0
 stopbits 1
line 66
 no activation-character
 no exec
 transport preferred none
 transport input all
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
line vty 0 4
 password ut69coe
 login
!
scheduler allocate 20000 1000
ntp server 172.22.1.107
!
end</pre>
</td>
</tr>
</tbody>
</table>
<table border="1" cellspacing="1" cellpadding="3" width="60%" bgcolor="#ffffff">
<tbody>
<tr>
<th>Router &#8211; CUE Configuration</th>
</tr>
<tr>
<td bgcolor="#ffffff">
<pre>se-172-22-1-253#<strong>show run</strong>

Generating configuration:

clock timezone America/Chicago

hostname se-172-22-1-253

ip domain-name localdomain

groupname Administrators create
groupname Broadcasters create

<em>
<span style="color:#0000ff;">!--- Users ---</span>
</em>
username Enrique create
username John create
username Enrique phonenumberE164 "5123781202"
username John phonenumberE164 "5123781201"
username Enrique phonenumber "202"
username John phonenumber "201"

<em>
<span style="color:#0000ff;">!--- AutoAttendant ---</span>
</em>
ccn application autoattendant
 description "**AutoAttendant**"
 enabled
 maxsessions 4
 script "aa.aef"
 parameter "busOpenPrompt" "AABusinessOpen.wav"
 parameter "operExtn" "601"
 parameter "welcomePrompt" "AAWelcome.wav"
 parameter "disconnectAfterMenu" "false"
 parameter "busClosedPrompt" "AABusinessClosed.wav"
 parameter "allowExternalTransfers" "false"
 parameter "holidayPrompt" "AAHolidayPrompt.wav"
 parameter "businessSchedule" "systemschedule"
 parameter "MaxRetry" "3"
 end application

<em>
<span style="color:#0000ff;">!--- MWI ---</span>
</em>
ccn application ciscomwiapplication
 description "ciscomwiapplication"
 enabled
 maxsessions 8
 script "setmwi.aef"
 parameter "CallControlGroupID" "0"
 parameter "strMWI_OFF_DN" "8001"
 parameter "strMWI_ON_DN" "8000"
 end application

<em>
<span style="color:#0000ff;">!--- Voicemail ---</span>
</em>
ccn application voicemail
 description "**Voicemail**"
 enabled
 maxsessions 4
 script "voicebrowser.aef"
 parameter "uri" "http://localhost/voicemail/vxmlscripts/login.vxml"
 parameter "logoutUri" "http://localhost/voicemail/vxmlscripts/mbxLogout.jsp"
 end application

<em>
<span style="color:#0000ff;">!--- SIP ---</span>
</em>
ccn subsystem sip
 gateway address "172.22.100.1"
<em>
<span style="color:#0000ff;">!--- Must match the "ip source-address" in telephony-service</span>
</em>
 dtmf-relay sip-notify
 mwi sip outcall
<em>
<span style="color:#0000ff;">!--- Subscribe / Notify and Unsolicited Notify have not been tested</span>
</em>
 transfer-mode blind bye-also
<em>
<span style="color:#0000ff;">!--- Testing with REFER method on CUE has caused certain call flows to break</span>
</em>
 end subsystem

<em>
<span style="color:#0000ff;">!--- Trigger Phones ---</span>
</em>
ccn trigger sip phonenumber 600
 application "voicemail"
 enabled
 maxsessions 4
 end trigger

ccn trigger sip phonenumber 601
 application "autoattendant"
 enabled
 maxsessions 4
 end trigger

service phone-authentication
 end phone-authentication

service voiceview
 enable
 end voiceview

<em>
<span style="color:#0000ff;">!--- Voicemail Mailboxes ---</span>
</em>
voicemail default mailboxsize 21120
voicemail broadcast recording time 300

voicemail mailbox owner "Enrique" size 300
 description "**Enrique_Mailbox**"
 expiration time 10
 messagesize 120
 end mailbox

voicemail mailbox owner "John" size 300
 description "**John'sMailbox**"
 expiration time 10
 messagesize 120
 end mailbox

end</pre>
</td>
</tr>
</tbody>
</table>
<table border="1" cellspacing="1" cellpadding="3" width="60%" bgcolor="#ffffff">
<tbody>
<tr>
<th>Switch Configuration</th>
</tr>
<tr>
<td bgcolor="#ffffff">
<pre><em>
<span style="color:#0000ff;">!--- Interface Connected to CME/CUE Router ---</span>
</em>
interface FastEthernet0/2
 description Trunk to 3825
 switchport trunk encapsulation dot1q
 switchport mode trunk
 no ip address
 duplex full
 speed 100

<em>
<span style="color:#0000ff;">!--- Interfaces Connected to the IP Phones ---</span>
</em>
interface FastEthernet0/7
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 20
<em>
<span style="color:#0000ff;">!--- Data Traffic ---</span>
</em>
 switchport mode trunk
 switchport voice vlan 100
<em>
<span style="color:#0000ff;">!--- Voice Traffic ---</span>
</em>
 no ip address
 spanning-tree portfast

interface FastEthernet0/8
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 20
 switchport mode trunk
 switchport voice vlan 100
 no ip address
 spanning-tree portfast

<em>
<span style="color:#0000ff;">!--- IP Address ---</span>
</em>
interface Vlan1
 ip address 172.22.1.194 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.22.1.1
ip http server</pre>
</td>
</tr>
</tbody>
</table>
<h2><a name="veri">Verify</a></h2>
<p>There is currently no verification procedure available for this 	 configuration.</p>
<h2><a name="tshoot">Troubleshoot</a></h2>
<p>This section provides information you can use to troubleshoot your 	 configuration.</p>
<p>The 	 <a href="https://www.cisco.com/cgi-bin/Support/OutputInterpreter/home.pl">Output Interpreter Tool</a> (<span> <a href="http://tools.cisco.com/RPF/register/register.do">registered</a> customers only</span>)          (OIT) supports certain 	 <strong>show</strong> commands. Use the OIT to view an analysis of 	 <strong>show</strong> command output.</p>
<p><strong>Note: </strong>Refer to 		<a href="http://www.cisco.com/en/US/tech/tk801/tk379/technologies_tech_note09186a008017874c.shtml">Important 		Information on Debug Commands</a> before you use 		<strong>debug</strong> commands.</p>
<h3><a name="reg">Troubleshooting Registration</a></h3>
<p>Troubleshooting the SIP trunk on CME involves the same commands you use 	 for IOS SIP GW troubleshooting and CME troubleshooting. Use these commands in 	 order to check if your DN is registered:</p>
<ul>
<li><strong>show sip-ua register status</strong>—Use this 		command to display the status of E.164 numbers that a SIP gateway has 		registered with an external primary SIP registrar.</li>
<li><strong>debug ccsip message</strong>—Enables all SIP SPI 		message tracing, such as those that are exchanged between the SIP user-agent 		client (UAC) and the access server.</li>
</ul>
<h3><a name="call-setup">Troubleshooting Call Setup</a></h3>
<p>Commands for troubleshooting calls over SIP trunks are essentially the 	 same as you use for regular SIP GW and CME troubleshooting.</p>
<p><strong>Show</strong> commands:</p>
<ul>
<li><strong>show ephone registered</strong>—Verifies ephone 		registration.</li>
<li><strong>show voip rtp connection</strong>—Displays 		information about RTP named-event packets, such as caller-ID number, IP 		address, and ports for both the local and remote endpoints.</li>
<li><strong>show sip-ua call</strong>—Displays active UAC and 		user agent server (UAS) information on SIP calls.</li>
<li><strong>show call active voice brief</strong>—Displays 		active call information for voice calls or fax transmissions in 		progress.</li>
</ul>
<p><strong>Debug</strong> commands:</p>
<ul>
<li><strong>debug ccsip message</strong>—Enables all SIP SPI 		message tracing, such as those that are exchanged between the SIP UAC and the 		access server.</li>
<li><strong>debug voip ccapi inout</strong>—Traces the 		execution path through the call control API.</li>
<li><strong>debug voice translation</strong>—Checks the 		functionality of a translation rule.</li>
<li><strong>debug ephone detail mac-address <span style="font-weight:normal;font-style:italic;">&lt;mac of 		phone&gt;</span> </strong>—Sets detail debugging for the Cisco IP 		phone.</li>
<li><strong>debug voip rtp session 		named-events</strong>—Enables debugging for Real-Time Transport Protocol 		(RTP) named events packets.</li>
<li><strong>debug sccp message</strong>—Displays the sequence 		of the SCCP messages.</li>
</ul>
<p>Push Bhatkoti</p>
<p>CCIE voice#21569</p>
<p><span class="content"><br />
</span></p>
<p><span class="content"><br />
</span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pushkarbhatkoti.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pushkarbhatkoti.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pushkarbhatkoti.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pushkarbhatkoti.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pushkarbhatkoti.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pushkarbhatkoti.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pushkarbhatkoti.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pushkarbhatkoti.wordpress.com/172/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pushkarbhatkoti.wordpress.com/172/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pushkarbhatkoti.wordpress.com/172/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=172&subd=pushkarbhatkoti&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://pushkarbhatkoti.wordpress.com/2009/01/10/cme-sip-trunking-configuration-example/feed/</wfw:commentRss>
		<slash:comments>7</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/image/gif/paws/91535/cme-sip-trunking-config1.gif" medium="image">
			<media:title type="html">cme-sip-trunking-config1.gif</media:title>
		</media:content>

		<media:content url="http://www.cisco.com/image/gif/paws/91535/cme-sip-trunking-config2.gif" medium="image">
			<media:title type="html">cme-sip-trunking-config2.gif</media:title>
		</media:content>

		<media:content url="http://www.cisco.com/image/gif/paws/91535/cme-sip-trunking-config3.gif" medium="image">
			<media:title type="html">cme-sip-trunking-config3.gif</media:title>
		</media:content>

		<media:content url="http://www.cisco.com/image/gif/paws/91535/cme-sip-trunking-config4.gif" medium="image">
			<media:title type="html">cme-sip-trunking-config4.gif</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>