cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
893
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Vishnu Kannan on 12-02-2010 04:36:41 PM
I am trying to use the "get_file_list" and "get_file" API for transferring CDR files from CuCM to a remote server for a custom billing app.
The CDR AXL documentation shows a WSDL file that is to be used for getting list of files.
Should the WSDL file be posted as such? (after appenind the necessary timing values)
Or should it be encapsulated inside a SOAP header and then posted?
Could anyone let me know what has to be posted to the CDR AXL API inorder to retrive CDR files?

Subject: RE: CDR "get_file_list" API usage
Replied by: Mayank Sharma on 12-02-2010 04:36:41 PM
WSDL, as the name suggests, is only a description of what is available for you to use. If you are using a higher level language like C# or Java, you can create a class from this WSDL, create an instance of this class and then you will be able to use the methods and properties of this class.
 
If you just want to deal with XML, you can create an XML SOAP request and send it as a whole to the CUCM server. It's a bit tedious for me and that is why I tend to make a class of the WSDL use it that way.
 
Hope this helps,
 
Thanks,
Max

Subject: RE: CDR "get_file_list" API usage
Replied by: Vishnu Kannan on 12-02-2010 04:36:41 PM
Hi Max,
I dont know to use WSDL. What should be the format and contents that needs to be posted to CUCM for the CDR get file list API. SHould it be as a WSDL file: like having Types, Messages, ports, operations, etc... or should it be in a different format. It would be helpful if you could post a sample get_file_list request...
Thanks,
Vishnu

Subject: RE: CDR "get_file_list" API usage
Replied by: David Staudt on 12-02-2010 04:36:41 PM
See the attached file for a get_file_list sample, including HTTP headers.  Note this must be posted via HTTPS/SSL.
However, the CDRonDemand web service is NOT going to work as a general mechanism/transport for getting CDR files to your application.  CDRoD requests are limited to (10 per minute?) and can only request one file at a time.
It is HIGHLY recommended that bulk CDR billing applications use the FTP delivery mechanism built into UCM to receive these files (see the Serviceability web pages.)  CDRoD should be used only to casually check the occasional single file.

Subject: RE: CDR "get_file_list" API usage
Replied by: Vishnu Kannan on 12-02-2010 04:36:41 PM
HI David,
 
Thanks a lot for your help! The code works. But the CuCM is throwing an error back which is as follows:
"cvc-datatype-valid.1.2.1: 'True' is not a valid value for 'boolean'."
 
I tried to debug but was unseccessful.
 
Can you throw somelight into this problem.
 
Thanks once again for the help extended.
 
Vishnu Kannan

Subject: RE: CDR "get_file_list" API usage
Replied by: David Staudt on 12-02-2010 04:36:41 PM
Looks like xsd:boolean should be lowercase: true
 
http://books.xmlschemata.org/relaxng/ch19-77025.html

Subject: RE: CDR "get_file_list" API usage
Replied by: Michael Schmidt on 17-06-2013 04:13:47 AM
Hi David,

I added at Serviceability ==> Tools ==> CDR Management a "Billing server".

At this server no billing software is installed but only a FTP server.

It it possible to save the CDR data in this way to a FTP server?

The "Billing server" with protocol "FTP" was added without error but no data is written to the FTP server?

Is there any log why there are not data is written?

BR
Michael

Subject: RE: CDR "get_file_list" API usage
Replied by: Mahmoud Ahmed on 17-06-2013 05:52:15 AM
Hi mechael

you can start the following services

cisco unified servicebility -> tools -> control center - network services

CDR services
* cisco cdr repository (restart)
* cisco cdr agent (restart)


Subject: RE: CDR "get_file_list" API usage
Replied by: Michael Schmidt on 17-06-2013 07:11:40 AM
Hi Mahmoud,

thanks for your answer. I already tried SFTP instead of FTP and with SFTP (which also CUCM / CUC is using for backup) it works and CDR / CMR data is written to the defined path.

But FTP is also working at this server because when I use web browser and make ftp-connection to the server it works.

But it doesn`t matter when it`s working via SFTP.

BR
Michael

Subject: RE: CDR "get_file_list" API usage
Replied by: David Staudt on 17-06-2013 10:35:40 AM
You can check the 'Cisco CDR Agent' and 'Cisco CDR Repository Manager' logs via the RTMT tool for clues...
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links