Telcobridges - Session Border Controllers
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How can get CDRs from FTP in one file?

Go down

How can get CDRs from FTP in one file? Empty How can get CDRs from FTP in one file?

Post by ahsanul.moyeen Thu Apr 29, 2021 8:16 am

Hi,

I hope all is well, I need to know how we can get CDRs from FTP in one file? please advise.

Regards,

ahsanul.moyeen

Number of Messages : 265
Point : 511
Registration Date : 2020-11-24

Back to top Go down

How can get CDRs from FTP in one file? Empty Re: How can get CDRs from FTP in one file?

Post by ahsanul.moyeen Thu Apr 29, 2021 8:17 am

Hello,

Our products rotate the cdr files configured in the  Text CDR parameters Rotation delay and compress the others after this rotation delay passed. You cannot get all cdrs in the same file. The system automatically generates a new file every 1 hour (because default rotation is set to 1). If you want to learn which methods you can use  to get the CDRs from the system, please check the following link;

https://docs.telcobridges.com/tbwiki/TMG:Retrieve_Text_CDR

Best Regards,

ahsanul.moyeen

Number of Messages : 265
Point : 511
Registration Date : 2020-11-24

Back to top Go down

How can get CDRs from FTP in one file? Empty Re: How can get CDRs from FTP in one file?

Post by ahsanul.moyeen Thu Apr 29, 2021 8:18 am

Hi,

Do you have a better solution for CDRs? because we can not unzip so many files one by one, it will take hours. Please advise.

Regards,

ahsanul.moyeen

Number of Messages : 265
Point : 511
Registration Date : 2020-11-24

Back to top Go down

How can get CDRs from FTP in one file? Empty Re: How can get CDRs from FTP in one file?

Post by ahsanul.moyeen Thu Apr 29, 2021 8:19 am

Hi Maziar,

You can adjust it to have less CDR files in Gateway -> Text CDR parameters:

How can get CDRs from FTP in one file? 214


Best Regards,

ahsanul.moyeen

Number of Messages : 265
Point : 511
Registration Date : 2020-11-24

Back to top Go down

How can get CDRs from FTP in one file? Empty Re: How can get CDRs from FTP in one file?

Post by ahsanul.moyeen Thu Apr 29, 2021 8:19 am

Hi,
We need to have one daily file not hourly base, Can you help?
Regards,

ahsanul.moyeen

Number of Messages : 265
Point : 511
Registration Date : 2020-11-24

Back to top Go down

How can get CDRs from FTP in one file? Empty Re: How can get CDRs from FTP in one file?

Post by ahsanul.moyeen Thu Apr 29, 2021 8:20 am

Hi,

At the moment, we don’t have the standard option to make is a daily file. However, it could be a custom way to do it if you could develop your own script, like the built-in tbcopycdr script by putting all CDR files in one folder, and modify tbcopycdr so it will compress the daily file instead of the hourly file and send it to your server.

Thanks.

ahsanul.moyeen

Number of Messages : 265
Point : 511
Registration Date : 2020-11-24

Back to top Go down

How can get CDRs from FTP in one file? Empty Re: How can get CDRs from FTP in one file?

Post by ahsanul.moyeen Thu Apr 29, 2021 8:20 am

Hi,

If a daily file is not possible, then can you put files in either text or csv format? If it’s csv/txt format then if does not really matter how many files are there as I can simply merge them into one file.

Please advise

Thanks,

ahsanul.moyeen

Number of Messages : 265
Point : 511
Registration Date : 2020-11-24

Back to top Go down

How can get CDRs from FTP in one file? Empty Re: How can get CDRs from FTP in one file?

Post by ahsanul.moyeen Thu Apr 29, 2021 8:22 am

Hi,

You could try to make 0 value for, Maximum CDR log file segment size below, and then save and activate configuration,

How can get CDRs from FTP in one file? 3_10

The CDR generated from SBC, under the below directory path are already in text format (before compression if done):

/lib/tb/toolpack/setup/12358/cdr_logs


Best regards,

ahsanul.moyeen

Number of Messages : 265
Point : 511
Registration Date : 2020-11-24

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum