[cisco-voip] building an API box - what do I need?
Lelio Fulgenzi
lelio at uoguelph.ca
Thu Mar 22 18:00:07 EDT 2018
Thanks Stephen. Is automationFX a product you sell? I don't see it on your product list.
Sent from my iPhone
On Mar 22, 2018, at 5:25 PM, Stephen Welsh <stephen.welsh at unifiedfx.com<mailto:stephen.welsh at unifiedfx.com>> wrote:
Hi Lelio,
You remember CUAE, I loved that product, created and deployed a few client apps including a slick agent less single sign solution for Extension Mobility that also worked with terminal server clients.
AutomationFX (powers all our new web based apps) is follows a lot of design principles from CUAE’s architecture, even to the point of exposing CUCM API’s in a simple and consistent way.
Kind Regards
Stephen Welsh
CTO
UnifiedFX
On 21 Mar 2018, at 22:46, Lelio Fulgenzi <lelio at uoguelph.ca<mailto:lelio at uoguelph.ca>> wrote:
Only if they didn't EoL the CUAE product.
Another example of acquiring a company and mothballing it. :(
Sent from my iPhone
On Mar 21, 2018, at 6:30 PM, Lelio Fulgenzi <lelio at uoguelph.ca<mailto:lelio at uoguelph.ca>> wrote:
Thanks!
My hope is to be able to use any number of tools, based on what's easier? what's fastest? what's the best?
For example, I want to run a query on all phones, and double check important settings, like CSS and devicepool combo.
Or something more involved, like grabbing all devices and reconciling those against an external charge table.
Reports would then be mailed out.
Sent from my iPhone
On Mar 21, 2018, at 5:03 PM, Bill Talley <btalley at gmail.com<mailto:btalley at gmail.com>> wrote:
Hi Lelio,
I just went through the same ordeal a few weeks ago which you're embarking on now. I'm no expert in this by any means, but know information is also hard to come by and will share whatever I can.
Checkout my notes here, https://www.iptinfo.com/2018/02/22/querying-cucm-via-axl-using-python-scripts-installing-python/, but more importantly check out the links at the bottom of the page. Those are blogs I used to get started on installing and using Python to utilize AXL to query and modify CUCM.
Here's a link to my sample Python script which will prompt you for a client/directory name, CUCM IP address, CUCM version, CUCM AXL username and CUCM AXL password, then will query for and output a list of phone (basic info) and create a csv file containing that list of phones. I have a more complex script that queries for cluster nodes, software versions, phone devices, hunt devices, gateways, media devices, etc if you're interested in seeing something like that.
https://www.iptinfo.com/2018/02/28/querying-cucm-via-axl-sample-python-script/
As far as username and passwords embedded in the script, if you control the machine the script will be executed on, you could create system variables containing that info on the machine, then call the system variables from the script.
Lastly, here's a link to the CUCM AXL developer guides and database dictionaries. The AXL programming guides tell you the supported search criteria and response data that will be returned.
https://developer.cisco.com/docs/axl/#previous-versions
Bill
On Wed, Mar 21, 2018 at 3:17 PM, Lelio Fulgenzi <lelio at uoguelph.ca<mailto:lelio at uoguelph.ca>> wrote:
I'm going to make a (sad) attempt to try my hand at API usage. You know, running those sweet commands against CUCM or WebEx, etc to make my life easier. I'm hoping that by starting with some simple examples, I can build what I need as time goes on.
My hope is to build scripts that I can run via CLI, but also create simple web pages with buttons that execute those scripts, with or without arguments. The webpages themselves will be protected appropriately.
But I'm starting from scratch. I do have a resource that I'm hoping will help out, but I'm wondering, if you were building an api box from scratch, what sort of things would you want (or need) on it to make things run smoothly?
I'm guessing if I want to automate any of these scripts, I'll have no choice but to store the userID/password either in the script or read from a file. I've asked this before of a few people, but there is no real way to store a password securely and decrypt it at time of running the script.
For interactive scripts, either CLI or web form, do you use the same userID/password, or are you asking for credentials and use those credentials?
I know... a big ask.
---
Lelio Fulgenzi, B.A. | Senior Analyst
Computing and Communications Services | University of Guelph
Room 037 Animal Science & Nutrition Bldg | 50 Stone Rd E | Guelph, ON | N1G 2W1
519-824-4120 Ext. 56354<tel:519-824-4120%20Ext.%2056354> | lelio at uoguelph.ca<mailto:lelio at uoguelph.ca><mailto:lelio at uoguelph.ca<mailto:lelio at uoguelph.ca>>
www.uoguelph.ca/ccs<http://www.uoguelph.ca/ccs><http://www.uoguelph.ca/ccs> | @UofGCCS on Instagram, Twitter and Facebook
[University of Guelph Cornerstone with Improve Life tagline]
_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>
https://puck.nether.net/mailman/listinfo/cisco-voip
_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>
https://puck.nether.net/mailman/listinfo/cisco-voip
_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net<mailto: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/20180322/e5fe6ca7/attachment.html>
More information about the cisco-voip
mailing list