<?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</title>
	<atom:link href="http://iddles.co.uk/blogs/index.php/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>Awesome Multifactor Authentication &#8211; and Free !</title>
		<link>http://iddles.co.uk/blogs/index.php/2011/07/awesome-multifactor-authentication-and-free/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2011/07/awesome-multifactor-authentication-and-free/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 20:34:37 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[Carputer / Mobile Computing]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/?p=92</guid>
		<description><![CDATA[If you have any need for strong authentication for *nix systems, WordPress, Juniper/Cisco VPN devices, RADIUS servers then check out http://www.duosecurity.com/ Its simply awesome and free for up to 10 users ! I&#8217;m using it for a variety of projects&#8230;&#8230;]]></description>
			<content:encoded><![CDATA[<p>If you have any need for strong authentication for *nix systems, WordPress, Juniper/Cisco VPN devices, RADIUS servers then check out <a title="http://www.duosecurity.com/" href="http://www.duosecurity.com/" target="_blank">http://www.duosecurity.com/</a></p>
<p>Its simply awesome and free for up to 10 users !</p>
<p>I&#8217;m using it for a variety of projects&#8230;&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2011/07/awesome-multifactor-authentication-and-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Tip: 6500 Chassis Serial Number</title>
		<link>http://iddles.co.uk/blogs/index.php/2011/06/quick-tip-6500-chassis-serial-number/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2011/06/quick-tip-6500-chassis-serial-number/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 13:30:50 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Cisco; c6500]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/index.php/2011/06/quick-tip-6500-chassis-serial-number/</guid>
		<description><![CDATA[Why oh why Cisco ? Most devices the serial number can been seen on a show version or similar prompt. c6500’s are different…….&#160;&#160; use&#160; show idprom backplane instead]]></description>
			<content:encoded><![CDATA[<p>Why oh why Cisco ?</p>
<p>Most devices the serial number can been seen on a show version or similar prompt.</p>
<p>c6500’s are different…….&#160;&#160; use&#160; <font face="Courier New"><strong>show idprom backplane </strong></font>instead</p>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2011/06/quick-tip-6500-chassis-serial-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Orange + iphone4 + 3G = pile of shit</title>
		<link>http://iddles.co.uk/blogs/index.php/2011/02/orange-iphone4-3g-pile-of-shit/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2011/02/orange-iphone4-3g-pile-of-shit/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 15:35:30 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[Mobile Computing]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/index.php/2011/02/orange-iphone4-3g-pile-of-shit/</guid>
		<description><![CDATA[I have been a loyal (?) customer of Oranges for over 15 years but am at the end of my tether with their network I have an iPhone 4 and yes I know it&#8217;s a crap phone but why is there 3g network so bad. I am working in a &#8216;new&#8217; town so would expect [...]]]></description>
			<content:encoded><![CDATA[<p>I have been a loyal (?) customer of Oranges for over 15 years but am at the end of my tether with their network</p>
<p>I have an iPhone 4 and yes I know it&#8217;s a crap phone but why is there 3g network so bad.  I am working in a &#8216;new&#8217; town so would expect decent coverage but no. 3G lies like a cheap watch and is slower than manually setting GPRS, calls continually drop even when the phones showing 3 bars. The place I&#8217;m working for even uses Orange as a supplier for 3G and I&#8217;m not sure how they put it with the shoddyness. </p>
<p>I have the same issue at home but made even worse by continually swapping between Orange/T Mobile. Supposedly the result of their &#8216;everything everywhere&#8217; initiative that feels like &#8216;nothing nowhere&#8217;</p>
<p>Take my advice. Leave or avoid Orange at all costs!!!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2011/02/orange-iphone4-3g-pile-of-shit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows 7&#8211; Offline files and SMB shares</title>
		<link>http://iddles.co.uk/blogs/index.php/2010/09/windows-7-offline-files-and-smb-shares/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2010/09/windows-7-offline-files-and-smb-shares/#comments</comments>
		<pubDate>Sat, 25 Sep 2010 19:51:07 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[Linux / *Nix]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/index.php/2010/09/windows-7-offline-files-and-smb-shares/</guid>
		<description><![CDATA[Why is it so difficult for this to work out of the box ? I’m currently using a hacked WD MyWorld NAS device that runs BusyBox, Optware and the latest release of Samba.   You would think offline files would be easy to get working. Wrong.  See http://blog.rainiernetworks.com/2008/06/25/vista-synchronization-errors/ and http://justanothersysadmin.wordpress.com/2008/03/30/vista-offline-files-and-smb-opportunistic-locks/ Why oh why Microsoft not make [...]]]></description>
			<content:encoded><![CDATA[<p>Why is it so difficult for this to work out of the box ?</p>
<p>I’m currently using a hacked WD MyWorld NAS device that runs BusyBox, Optware and the latest release of Samba.   You would think offline files would be easy to get working.</p>
<p>Wrong.  See <a title="http://blog.rainiernetworks.com/2008/06/25/vista-synchronization-errors/" href="http://blog.rainiernetworks.com/2008/06/25/vista-synchronization-errors/">http://blog.rainiernetworks.com/2008/06/25/vista-synchronization-errors/</a> and <a title="http://justanothersysadmin.wordpress.com/2008/03/30/vista-offline-files-and-smb-opportunistic-locks/" href="http://justanothersysadmin.wordpress.com/2008/03/30/vista-offline-files-and-smb-opportunistic-locks/">http://justanothersysadmin.wordpress.com/2008/03/30/vista-offline-files-and-smb-opportunistic-locks/</a></p>
<p>Why oh why Microsoft not make the offline files function out of the box.  I guess it works fine against a Microsoft server but in the spirit of greater interoperability fix it please !</p>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2010/09/windows-7-offline-files-and-smb-shares/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Awesome Engineering</title>
		<link>http://iddles.co.uk/blogs/index.php/2010/05/awesome-engineering/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2010/05/awesome-engineering/#comments</comments>
		<pubDate>Sat, 08 May 2010 12:37:28 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[Engineering]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/index.php/2010/05/awesome-engineering/</guid>
		<description><![CDATA[Some folks amaze me with their skill.  Its a simple thing really but just works…..  have a look http://www.johnbenson.net/How_to_Convert_a_SIM_to_a_MicroSIM_with_a_Meat_Cleaver/How_to_Convert_a_SIM_to_a_MicroSIM_with_a_Meat_Cleaver.html More more – shall we say ingenious – have a look at one of my fave sites http://thereifixedit.com/]]></description>
			<content:encoded><![CDATA[<p>Some folks amaze me with their skill.  Its a simple thing really but just works…..  have a look</p>
<p><a title="http://www.johnbenson.net/How_to_Convert_a_SIM_to_a_MicroSIM_with_a_Meat_Cleaver/How_to_Convert_a_SIM_to_a_MicroSIM_with_a_Meat_Cleaver.html" href="http://www.johnbenson.net/How_to_Convert_a_SIM_to_a_MicroSIM_with_a_Meat_Cleaver/How_to_Convert_a_SIM_to_a_MicroSIM_with_a_Meat_Cleaver.html">http://www.johnbenson.net/How_to_Convert_a_SIM_to_a_MicroSIM_with_a_Meat_Cleaver/How_to_Convert_a_SIM_to_a_MicroSIM_with_a_Meat_Cleaver.html</a></p>
<p>More more – shall we say ingenious – have a look at one of my fave sites <img src='http://iddles.co.uk/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a title="http://thereifixedit.com/" href="http://thereifixedit.com/">http://thereifixedit.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2010/05/awesome-engineering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cron</title>
		<link>http://iddles.co.uk/blogs/index.php/2010/03/cron/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2010/03/cron/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 20:48:37 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[Linux / *Nix]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/?p=81</guid>
		<description><![CDATA[Useful CRON reference  guide available at: http://kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/]]></description>
			<content:encoded><![CDATA[<p>Useful CRON reference  guide available at:</p>
<div id="_mcePaste"><a href="http://kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/">http://kevin.vanzonneveld.net/techblog/article/schedule_tasks_on_linux_using_crontab/</a></div>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2010/03/cron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>Quickie: Setting Company Name for Mac OSX XCODE</title>
		<link>http://iddles.co.uk/blogs/index.php/2010/01/quickie-setting-company-name-for-mac-osx-xcode/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2010/01/quickie-setting-company-name-for-mac-osx-xcode/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 15:13:00 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[OSX]]></category>
		<category><![CDATA[XCODE]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/?p=30</guid>
		<description><![CDATA[Quick note to remember how to set company name in the OSX XCODE environment.  Taken from http://macdevelopertips.com/xcode/change-company-name-in-xcode.html/trackback 1) Open Terminal 2) Run &#62;&#62;&#62;&#62; defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{ORGANIZATIONNAME="YourNameHere";}' 3) Done]]></description>
			<content:encoded><![CDATA[<p>Quick note to remember how to set company name in the OSX XCODE environment.  Taken from <a href="http://macdevelopertips.com/xcode/change-company-name-in-xcode.html/trackback" target="_blank">http://macdevelopertips.com/xcode/change-company-name-in-xcode.html/trackback</a></p>
<div>
<pre>1) Open Terminal</pre>
<pre>2) Run &gt;&gt;&gt;&gt;   defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{ORGANIZATIONNAME="YourNameHere";}'</pre>
<pre>3) Done</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2010/01/quickie-setting-company-name-for-mac-osx-xcode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sun Virtual Box &#8211; Cloning machines</title>
		<link>http://iddles.co.uk/blogs/index.php/2010/01/sun-virtual-box-cloning-machines/</link>
		<comments>http://iddles.co.uk/blogs/index.php/2010/01/sun-virtual-box-cloning-machines/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 16:13:41 +0000</pubDate>
		<dc:creator>Kevster</dc:creator>
				<category><![CDATA[VMware / Virtual Box / HyperV]]></category>
		<category><![CDATA[Virtual Box]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://iddles.co.uk/blogs/?p=28</guid>
		<description><![CDATA[I&#8217;m a big fan of Sun&#8217;s Virtual Box &#8211; its cross platform (I run it on Windows 7 X64,OS X and Ubuntu), FREE and works Cloning machines is pretty the same as all OS&#8217;s, with one slight twist&#8230;.. 1) Copy the VDI file you want to clone/backup. 2) This file won&#8217;t boot because it has [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a big fan of Sun&#8217;s Virtual Box &#8211; its cross platform (I run it on Windows 7 X64,OS X and Ubuntu), FREE and works <img src='http://iddles.co.uk/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cloning machines is pretty the same as all OS&#8217;s, with one slight twist&#8230;..</p>
<p>1) Copy the VDI file you want to clone/backup.</p>
<p>2) This file won&#8217;t boot because it has the same UUID as the first file you copied, so need to use VBoxManage utility to give it a new random UUID.</p>
<p>3) Open command prompt, and change to your Vbox directory with VBoxMange.exe in it. Probably located at C:\Program Files\Sun\xVM VirtualBox\</p>
<p>4) Run this command in command prompt<br />
VBoxManage internalcommands setvdiuuid &#8220;D:\My Virtual Machines\VDI\HardDiskName.vdi&#8221;</p>
<p>Obviously you would change the above path to point to your NEW VDI file that you created (not the original).</p>
]]></content:encoded>
			<wfw:commentRss>http://iddles.co.uk/blogs/index.php/2010/01/sun-virtual-box-cloning-machines/feed/</wfw:commentRss>
		<slash:comments>0</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>

