AXLAPIService Cisco Unified Communications Manager - cisco

Hello I am trying to get a list of calls that were placed to a specific phone number, is this possible using the api? thanks

I guess "using the api" you mean AXL? No you can't you need to use the Call Detail Records. You will find a nice explanation in Cisco community forum here.
Basically you can view the CDR using the Cisco Unified Real-Time Monitoring Tool (RTMT).
You find this tool in your CUCM under "Advanced Features" -> "Plugins".
How ever you can instruct your CUCM to upload the CDR Files every X Minutes to one of your servers via FTP or SFTP. There you can have a cron-job which parses those files into a database to make the easier to use.
You can setup the CDR Upload in the "Cisco Unified Serviceability" under "Tools" -> "CDR Magement".
If you need real time information, for example because you want to send an E-Mail for every missed call, then you can use the "Cisco Unified JTAPI".
You will find this under "Advanced Features" -> "Plugins". How ever then you need to read the Developers Guide and invest some coding.

This topic is a little old. But the proper place to look for received and placed calls to a phone number/IP phone on Cisco UC is the CDR records.
Look at: CDRonDemand API https://developer.cisco.com/site/sxml/discover/overview/cdr-on-demand/
Also, you can send CDR records to SFTP destination "Billing Server"
Look at this guide: https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/callReportingBillingAdmin/12_5_1/cucm_b_reporting-billing-administration-guide-1251SU1/cucm_b_reporting-and-billing-administration-guide_chapter_01011.html
There are many existing applications that can ingest this data and make it easy to access. Such as this: https://www.callrecordanalyzer.com/

Related

Issues Getting Started with Restcomm

I've been trying to get started with programming with Restcomm for a few weeks now, and I'm having trouble figuring what I need in order to get myself set up with all of the services.
So far, I have gotten myself situated with the Restcomm software via the AWS Marketplace; I am able to log into the software, but have failed to register a phone number yet. Whenever I select a number from the page by clicking "Register Number," a message comes up saying that registration "failed" without any additional information.
Additionally, I have downloaded and unzipped the folders for Mobicents (which I have not read much about the use of on my desktop yet) and the Telscale USSD Gateway (which I have read most of the background documentation for, but am yet to get in motion with because of my inability to utilize Restcomm).
I have really been trying to make sense of all of these pieces on my own, but I'm at a point of frustration. Could I get some guidance just walking me through what I need in order to get started with using Restcomm and having functions through telephones correspond with a simple database?
Thanks!
If you have been able to log into Restcomm AMI, you should be able to use the pre-packaged demo apps. Here is the documentation explaining how to test the demo apps. http://docs.telestax.com/restcomm-testing-default-demos/

writing a iiop client in order to dynamically configure a cisco appliance

My firm is about to purchase a cisco appliance named dcm.
It's only api is a limited snmp or iiop.
I want to create a simple gui that will help my users configure certain fields on the dcm with ease.
I have done this before with snmp but have zero expirience with iiop.
I preffer to implement with either java or python.
I would appreciate if someone can point me in the right direction (java/python, recommended libraries etc.)
BTW i saw a lot of mentions about rmi-iiop but I'm pretty sure it's irrelevant. ( am I right?)
Thanks.

Sharing Data between Windows Phone 8 and Windows 8 Store App

I am about to begin a fairly simple application, but I want to make sure I structure the backend of the application correctly because I plan to expand on it greatly in the future. Here's my question:
I am creating both a Windows Phone 8 and Windows 8 Store application. In this case, it is a unit conversion application where the user is given the ability to define custom unit conversion units. I would like to allow the user to essentially sync those custom units between the two platforms so that they don't need to define them multiple times.
What backend approach should I take?
XML storage coupled with SkyDrive, Azure, a local database that syncs over USB....There are a lot of options, and I'm not sure which way is preferred in the scenario I described above. Any help or suggestions would be greatly appreciated.
As for actual data sharing I would suggest using Azure, which is a bit more reliable and also transparent for the user (as opposed to a local db syncing over USB) and cleaner than XML-files in SkyDrive (the user doesn't need to see these files anyway).
As for code sharing you could use two techniques:
Portable Class Libraries
Linked Files
I have recently written two articles on this:
http://www.kenneth-truyers.net/2013/03/27/portable-class-libraries-or-source-code-sharing/
http://www.kenneth-truyers.net/2013/02/24/patterns-for-sharing-code-in-windows-phone-and-windows-8-applications/
It doesn't actually have to be Azure, if you are shooting for lower price range. You can also choose a webhosting and use build a WebAPI service, which will help you sync your data and put them on all devices. Of course, Azure is being preferred as the ultimate solution, because it offers much more features.
I have used windows 8 roaming data support for one app. In my case, data is simply the history of user operations in the app and data size is < 1k. windows 8 roaming data support can support up to 100k of data as per documentation and is a good start for w8 apps with very low investment. it covers for all w8 devices. it is certainly good for simple key/value pair kind of data for user.
Now the caveats - currently, it does not support windows phone roaming currently. It is a feature ask for phone 8 - it can be voted up. Finally, this will not roam to android and other mobile devices.
Another way to think about it - when do you need to build it?
If it is simply per user data storage - backend need not come in place in first release. You can start with w8 roaming data support and in future release x, it can be moved from windows 8 roaming data to skydrive or your web api or azure. what I mean to say, it need not be built affront.
If the backend is going to allow sharing of data between users or experience over aggregated data from multiple users - then, it is all together different problem. in that case, roaming data is not a solution. a backend web api or service is must.
HTH.
Other references: guidelines for windows 8 roaming data.

IBM iSeries Frontend Development

I'm sure many of you are familiar with the IBM i5 series emulator (looks like this poop)
My company uses this religiously and there is no Biz logic in it so anytime somone in our finance dpt makes a human error it accepts it and adds it to the database. Not to mention its ugly, hard to use, not intuitive, etc....
I would like to create a frontend for this interface so that we can control the logic before its submitted to the system (we dont control the system itself) so in effect I need to make my own emulator app.
However I cant seem to find any information on how to interface with the i series, namely login, send commands, and view or gather data from the screens it would normally send back.
Any suggestions?
The problem is not the iSeries but the software package your company is running on it.
There ARE advantages to use green screens: it's fast and it's almost unbeatable at data entry, provided you get used to it.
But to answer your question, the iSeries is a J2EE enabled machine: a HTTP server comes installed and depending of the version of the iSeries, WebSphere might be already installed, or are entitled to install it. Then you can use JT400, which is the java toolkit for the os400 containing the jdbc drivers to connect the database and the necessary classes for calling programs.
If you prefer php, there is a flavor of the Zend framework made to work on the iSeries but I never tried it.
I'd recommend that you take a look at both the Attachmate Verastream Host Integrator (VHI) and IBM's Host Access Transformation Services (HATS) products. They effectively just screen scrape the green screen terminals to allow you to pull and push data and provide macro recording and editing tools to automate the process. App integration can be achieved via web services or html/jsp/servlet programming (plus .Net for VHI and EJB's for HATS). They do come with enterprise pricing however which may be an obstacle for some. They do have free trial offerings for evaluation purposes to help determine if they are an appropriate solution to your problem.
What software packages are they using? Most programs that I use in the 5250 emulator has some business logic that error checks the data before adding it to the database. Can you get us some more information so we can direct you in a better direction.
There are vendors that sell products that screen-scrape the 5250 data stream and produces a web front-end. Or you can write your own front-end in the language of your choice and just do SQL calls to the database.
THere's got to be some source code. Start by looking at the menu and menu option your users are accessing and figure that's running behind them.
Use command STRPDM to look for source code - look in different libraries (they are like folders)
You might have source code in a "member" called something like xxxMNUSRC xxxRPGSRC (rpg program source) or xxxCLSRC (cl programs), xxxDDSSRC (display/screen source, physical/logical file source)
Objects a "compiled" objects such as files (tables), screens, priter files (reports)
Stay away from Qxxx and #xxx libraries - those are system libraries.
http://systeminetwork.com/ is a good resource for iSeries related questions.

Is there a standalone community website application which one can easily populate with a Ning content dump?

Ning provides a structured content dump of Ning sites when requested. I was wondering whether a) the schema for this dump is publically specified and b) any open-source web applications can use such a dump to populate a community website.
FWIW, if dump format is not yet published, it certainly will be by the time when networks are asked to start paying, and there will be flow of requests. I don't know details of format, but I would expect it to be in JSON or possibly in XML (maybe both alternatives are given).
Given that there may be a few networks who want to do, I would bet on tools being built by some network creators. Activity on creator network is quite high, and people seem helpful, so you could try asking this question there (if you haven't already).

Resources