<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Interesting approach. A bit of guidance.<br>
<br>
Linestate is not stored in a database so it's not a simple as a
database dip. If UCCX does not monitor the 2nd line does it at
least know the dn&partition?<br>
<br>
If you know the DN and Partition you can use the AXL Serviceability
API to query LineState for that line. You may run into limitations
with the update frequency of AXL Serviceability (every 15 seconds by
default I believe. configurable in service parameters, but it comes
at performance hit).<br>
<br>
If you don't know the dn&partition then it would require a
database lookup using AXL to get the 2nd line information.<br>
<br>
<br>
In all honesty it may be simpler to use jtapi or tapi to register
for phone and line events to keep updated on the 2nd line status.<br>
<br>
Regards,<br>
Wes<br>
<br>
On 5/17/2011 10:59 AM, Kevin Damisch wrote:
<blockquote
cite="mid:C13EEED540960E4F802D191FC008B3E20CB88C9C@VSSDSMEXCH01.vitalsite.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style>
<!--
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
@font-face
{font-family:Verdana}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
.MsoChpDefault
{font-family:"Calibri","sans-serif"}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
{}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal">Customer has line appearance 1 as the ACD
line on their phones. On about 10 phones, there is a shared
line on line appearance 2 (non-UCCX controlled). We are
trying to write a script so that if an agent is on a call on
the shared line, the script will not send the UCCX calls to
that agent. Since UCCX will not monitor the shared line, we
were going to write a script that would query the CUCM
database to see if the shared line appearance is in use on
that phone. From what I’ve read on the developer site, this
will require a separate web server that UCCX would query, then
the web service would do the actual CUCM database query,
returning the result back to UCCX. Is it possible to have
UCCX scripts natively query information directly on CUCM or is
the 3<sup>rd</sup> party web service required?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Kevin<span style="font-size: 10pt;
font-family: "Verdana","sans-serif";
color: black;"></span></p>
<p class="MsoNormal"> </p>
</div>
<br>
<hr>
<font color="Gray" face="Arial" size="1"><br>
This communication (including any attachments) is intended only
for the use of the individual or entity to which it is
addressed, and may contain information that is privileged,
confidential and exempt from disclosure under applicable law. If
you are not the intended recipient, any dissemination,
distribution or copying of this communication is strictly
prohibited. If you have received this communication in error,
please notify Vital Support Systems at 515 334 5700 and delete
or destroy all copies and the original document.<br>
</font>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
cisco-voip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>
<a class="moz-txt-link-freetext" href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a>
</pre>
</blockquote>
</body>
</html>