<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
You should be able to use the Serviceability API to get the perfmon counters for CallManger->Cisco Lines. This will give you active/busy status per-line.
<div class=""><br class="">
</div>
<div class="">Pretty much anything you can see in RTMT you can get via the Serviceability API.</div>
<div class=""><br class="">
<div class="">-Ryan </div>
<br class="">
<div>
<div class="">On Sep 16, 2015, at 3:28 PM, John Kougoulos <<a href="mailto:john.kougoulos@gmail.com" class="">john.kougoulos@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">
<div class="">yes, probably this is the best place, I think this is the method used also by eg attendant console. You can get some info eg device registration from the serviceability API of cucm but not many other things related to active status<br class="">
<br class="">
</div>
Regards,<br class="">
</div>
John<br class="">
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Wed, Sep 16, 2015 at 3:25 PM, Mark Holloway <span dir="ltr" class="">
<<a href="mailto:mh@markholloway.com" target="_blank" class="">mh@markholloway.com</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
After digging a bit more I think IM&P server is the right server to query using REST.<br class="">
<div class="HOEnZb">
<div class="h5"><br class="">
> On Sep 16, 2015, at 8:46 AM, Mark Holloway <<a href="mailto:mh@markholloway.com" class="">mh@markholloway.com</a>> wrote:<br class="">
><br class="">
> Does anyone know if it’s possible to query CUCM over HTTP/HTTPS to see if a user is available to take a call? (ie. is the phone registered, is DND on or off, are all lines occupied and the user is busy)<br class="">
><br class="">
><br class="">
><br class="">
> _______________________________________________<br class="">
> cisco-voip mailing list<br class="">
> <a href="mailto:cisco-voip@puck.nether.net" class="">cisco-voip@puck.nether.net</a><br class="">
> <a href="https://puck.nether.net/mailman/listinfo/cisco-voip" rel="noreferrer" target="_blank" class="">
https://puck.nether.net/mailman/listinfo/cisco-voip</a><br class="">
<br class="">
_______________________________________________<br class="">
cisco-voip mailing list<br class="">
<a href="mailto:cisco-voip@puck.nether.net" class="">cisco-voip@puck.nether.net</a><br class="">
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" rel="noreferrer" target="_blank" class="">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
_______________________________________________<br class="">
cisco-voip mailing list<br class="">
<a href="mailto:cisco-voip@puck.nether.net" class="">cisco-voip@puck.nether.net</a><br class="">
https://puck.nether.net/mailman/listinfo/cisco-voip<br class="">
</div>
</div>
<br class="">
</div>
</body>
</html>