[cisco-voip] UCCX query to CUCM database
Wes Sisk
wsisk at cisco.com
Tue May 17 12:25:18 EDT 2011
Interesting approach. A bit of guidance.
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?
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).
If you don't know the dn&partition then it would require a database
lookup using AXL to get the 2nd line information.
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.
Regards,
Wes
On 5/17/2011 10:59 AM, Kevin Damisch wrote:
>
> 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^rd party web service required?
>
> Thanks,
>
> Kevin
>
>
> ------------------------------------------------------------------------
>
> 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.
>
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20110517/57afc133/attachment.html>
More information about the cisco-voip
mailing list