Picture of nickname
Registered 3 years 41 days
nickname Saturday, 5 March 2022, 05:36 PM
Example for using the CDR Records
Dear innovaphone forum,

is it possible to get a little coding example of how to receive the cdr-records like the reporting app and how to actually work with the data (like inserting it into the database) ?


Best regards
Nick


Andreas Fink
Moderator Registered 13 years 57 days
Andreas Fink (innovaphone) Monday, 14 March 2022, 08:24 PM
Re: Example for using the CDR Records
Hello Nick,

the CDRs are delivered from a innovaphone Gateway or PBX usually via HTTP POST or GET.

You can process the incoming HTTP requests in your App Service by using a Webserver Plugin (see examples at the end of the document):
https://sdk.innovaphone.com/13r2/sdk/common/interface/webserver_plugin.htm

To process the requests from Gateway CDRs a HttpQueryArgs Lib is helpful:
https://sdk.innovaphone.com/common/ilib/http_query_args.htm


The CDRs delivered from the PBX are in the XML format, so XML could be useful here:
https://sdk.innovaphone.com/common/ilib/xml.htm

Best Regards
Andreas Fink
← You can define your color theme preference here