<?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/"
	>

<channel>
	<title>Kevsters Blog &#187; VoIP and UC</title>
	<atom:link href="http://iddles.co.uk/blogs/index.php/category/voip-and-uc/feed/" rel="self" type="application/rss+xml" />
	<link>http://iddles.co.uk/blogs</link>
	<description>A collection of thoughts, ramblings and stuff</description>
	<lastBuildDate>Tue, 19 Jul 2011 20:34:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Cisco CUCM/Call Manager &#8211; Running on Sun&#8217;s Virtual Box</title>
		<link>http://iddles.co.uk/blogs/index.php/2010/02/cisco-cucmcall-manager-running-on-suns-virtual-box/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2010/02/cisco-cucmcall-manager-running-on-suns-virtual-box/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 23:08:18 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[VMware / Virtual Box / HyperV]]></category>
		<category><![CDATA[VoIP and UC]]></category>
		<category><![CDATA[Cisco Call Manager]]></category>
		<category><![CDATA[CUCM]]></category>
		<category><![CDATA[Virtual Box]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/?p=34</guid>
		<description><![CDATA[Well it is possible with a bit of hacking &#8211; but thats what its all about, isn&#8217;t it ! I actually used an existing working VM that had been built on VMware.  I will test building one from scratch on VirtualBox but not 100% sure it will work&#8230;. Anyhooo&#8230; 1) Get the existing VMDK and [...]]]></description>
			<content:encoded><![CDATA[<p>Well it is possible <img src='http://iddles.co.uk/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  with a bit of hacking &#8211; but thats what its all about, isn&#8217;t it !</p>
<p>I actually used an existing working VM that had been built on VMware.  I will test building one from scratch on VirtualBox but not 100% sure it will work&#8230;.</p>
<p>Anyhooo&#8230;</p>
<p>1) Get the existing VMDK and copy it to your Virtual Box machine repository<br />
2) Create a new VM using a Linux, Redhat, 1024MB RAM etc machine and set the disk as the VMDK<br />
3) Modify the machine &#8211; I removed the sound card<br />
4) Locate the machines XML config file.   The directory is set in VirtualBox&#8217;es config.  Edit it and add the following:</p>
<pre>Add the following lines to it in the "&lt;ExtraData&gt; &lt;/ExtraData&gt;" section:

&lt;ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVersion" value="6 "/&gt;
&lt;ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiSystemVendor" value="VMware"/&gt;
&lt;ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVendor" value="Phoenix Technologies LTD"/&gt;
&lt;ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiSystemProduct" value="VMware Virtual Platform"/&gt; </pre>
<p>(That bits from <a href="http://ubuntuforums.org/showthread.php?t=1029144">http://ubuntuforums.org/showthread.php?t=1029144</a>)</p>
<p>5) Next follow the guide here <a href="http://www.blindhog.net/how-to-get-root-access-on-call-manager-56-server/">http://www.blindhog.net/how-to-get-root-access-on-call-manager-56-server/</a> to get root access.  Make sure you use the CentOS Disk 1 rather than the Live Disk&#8230;&#8230;.grrrrr</p>
<p>6) Edit the /usr/local/bin/base_scripts/hardware_check.sh script to look like this:</p>
<p>We essentially comment out the hardware check and validation <img src='http://iddles.co.uk/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre style="padding-left: 30px;">function check_deployment()
{
    local tmp_deployment</pre>
<pre style="padding-left: 30px;">    initProductLibrary
    tmp_deployment="$deployment"</pre>
<pre style="padding-left: 30px;">    # Check the deployment
<span style="color: #000000;">#    isHardwareValidForDeployment $tmp_deployment
#    rc=$?
#   if [ $rc -ne 0 ]; then
#         log info "$tmp_deployment deployment Not Supported"
#         return 1
#    fi</span>
    # Deployment is supported by this hardware
    log info "$tmp_deployment deployment Is Supported"
    return 0
}</pre>
<p> 7) Save it and reboot</p>
<p> <img src='http://iddles.co.uk/blogs/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> The VM should come up and work !</p>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2010/02/cisco-cucmcall-manager-running-on-suns-virtual-box/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cisco CUCM UCCX Queue Status Web Service</title>
		<link>http://iddles.co.uk/blogs/index.php/2009/08/cisco-cucm-uccx-queue-status-web-service/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2009/08/cisco-cucm-uccx-queue-status-web-service/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 15:21:34 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[VoIP and UC]]></category>
		<category><![CDATA[Cisco Call Manager]]></category>
		<category><![CDATA[CUCM]]></category>
		<category><![CDATA[IPCC]]></category>
		<category><![CDATA[UCCX]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/?p=26</guid>
		<description><![CDATA[Heres a snip of somthing I wrote as an &#8216;add on&#8217; the the free, Open Source SourceForge IPCC Wallboard package. This uses code from the IPCC Wallboard package to access UCCX&#8217;s Historical database, and allows for queue information to be displayed on a Cisco IP Phone. The formattings nasty as the IP Phone does not [...]]]></description>
			<content:encoded><![CDATA[<p>Heres a snip of somthing I wrote as an &#8216;add on&#8217; the the free, Open Source<a href="http://sourceforge.net/projects/ipccwallboard/" target="_blank"> SourceForge IPCC Wallboard</a> package.</p>
<p>This uses code from the IPCC Wallboard package to access UCCX&#8217;s Historical database, and allows for queue information to be displayed on a Cisco IP Phone.</p>
<p>The formattings nasty as the IP Phone does not operate as a standard browser so theres lots of spaces and stuff to get things positioned right.</p>
<p>Ill post some information about how to get it working as a service in CUCM later&#8230;</p>
<pre>&lt;%On Error Resume Next

//**************************************************************************************//
//   Service:      Phone Wallboard Display                            //
//   AUTHOR:      Kevin Iddles, Yawns.com Limited                        //
//   PURPOSE:     Display UCCX Queue information on IP Phone - Exposed as a service    //
//   VERSION:     1.1                                    //
//**************************************************************************************//

//**************************************************************************************//
//   History:
//        1.1 - Updated to parse query strings from CUCM to allow for spaces
//        1.0 - Updated for use on customer sites including layout
//              0.1 - Based on original version from Cisco Netpro
//**************************************************************************************//

%&gt;
&lt;!--#include file="parameters.asp"--&gt;
&lt;%
Response.AddHeader "Refresh", RefreshTime

//********************************START SQL MODULE**************************************//

//**************************************************************************************//
//   Module:      SQL Database Connector                                                    //
//   AUTHOR:      Jeremy Fielder, Leo Mourits                                                //
//   PURPOSE:     Performs Database Connections and retrieves relavent recordSets.        //
//**************************************************************************************//

If IPCCversion = 3 Then
 WBConnect = "Provider=SQLOLEDB; Data Source = " &amp; DBsource &amp; "; Initial Catalog = " &amp; DBdatabase &amp; "; User Id = " &amp; DBuserID &amp; "; Password = " &amp; DBpass
ElseIf IPCCversion = 4 Then
 WBConnect = "Provider=SQLOLEDB; Data Source = " &amp; DBsource &amp; "\CRSSQL; Initial Catalog = db_cra; Integrated Security=SSPI;"
End If

Set cn = Server.CreateObject("ADODB.Connection")
 cn.open WBConnect

needor = "0"

If Request.QueryString("csqa") = "" Then
 sqlcsqa = ""
Else
 tmpcsqa = Request.QueryString("csqa")
 tmpcsqa = Replace(tmpcsqa, "%20", " ")
 sqlcsqa = " (CSQName Like '%" &amp; tmpcsqa &amp; "%')"
 needor = "1"
End if

If Request.QueryString("csqb") = "" Then
 sqlcsqb = ""
Else
 If needor = "0" Then
 tmpcsqb = Request.QueryString("csqb")
 tmpcsqb = Replace(tmpcsqb, "%20", " ")
 sqlcsqb = " (CSQName Like '%" &amp; tmpcsqb &amp; "%')"
 needor = "1"
 Else
 tmpcsqb = Request.QueryString("csqb")
 tmpcsqb = Replace(tmpcsqb, "%20", " ")
 sqlcsqb = " OR (CSQName Like '%" &amp; tmpcsqb &amp; "%')"
 End if
End if

If Request.QueryString("csqc") = "" Then
 sqlcsqc = ""
Else
 If needor = "0" Then
 tmpcsqc = Request.QueryString("csqc")
 tmpcsqc = Replace(tmpcsqc, "%20", " ")
 sqlcsqc = " (CSQName Like '%" &amp; tmpcsqc &amp; "%')"
 needor = "1"
 Else
 tmpcsqc = Request.QueryString("csqc")
 tmpcsqc = Replace(tmpcsqc, "%20", " ")
 sqlcsqc = " OR (CSQName Like '%" &amp; tmpcsqc &amp; "%')"
 End if
End if

If Request.QueryString("csqd") = "" Then
 sqlcsqd = ""
Else
 If needor = "0" Then
 tmpcsqd = Request.QueryString("csqd")
 tmpcsqd = Replace(tmpcsqd, "%20", " ")
 sqlcsqd = " (CSQName Like '%" &amp; tmpcsqd &amp; "%')"
 needor = "1"
 Else
 tmpcsqd = Request.QueryString("csqd")
 tmpcsqd = Replace(tmpcsqd, "%20", " ")
 sqlcsqd = " OR (CSQName Like '%" &amp; tmpcsqd &amp; "%')"
 End if
End if

If sqlcsqa = "" and sqlcsqb = "" and sqlcsqc = "" and sqlcsqd = "" Then
 sqlcsqa = " callsWaiting &gt; '0'"
End if

sqlGetCSQstats = "SELECT CSQName, availableAgents, callsWaiting, convOldestContact FROM RtCSQsSummary WHERE " &amp; sqlcsqa &amp; sqlcsqb &amp; sqlcsqc &amp; sqlcsqd &amp; " ORDER BY CSQName"

Set rs = server.createobject("adodb.recordset")
Set cm = Server.CreateObject("ADODB.Command")
 cm.ActiveConnection = cn
 cm.commandtext = sqlGetCSQstats
Set rs = cm.execute

Response.Write deptName %&gt;
|   Queue            |AA|CW| L Wait |
-------------------------------------------------
&lt;% While not rs.eof %&gt;|
&lt;%= rs("CSQName") %&gt; | &lt;%= rs("availableAgents") %&gt;  | &lt;%= rs("callsWaiting") %&gt;  |&lt;%= rs("convOldestContact")%&gt;&lt;%
 rs.moveNext
 wEnd
 rs.close
%&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2009/08/cisco-cucm-uccx-queue-status-web-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

