Mitel Forums - The Unofficial Source

Mitel Forums => Mitel MiVoice Business/MCD/3300 => Topic started by: pakman on May 14, 2013, 11:56:39 AM

Title: Access SMDR Logs on Mitel 3300
Post by: pakman on May 14, 2013, 11:56:39 AM
How do I access these? I see there enabled but I've never had to look at them before.

Thanks,
Title: Re: Access SMDR Logs
Post by: x-man on May 14, 2013, 01:12:28 PM
wither telnet into the switch on port 1752 or get a call logging programme and set it up to collect from the same port. Many programmes have free trials. If you want to look at them in detail from the telnet session set up the file save first.
Title: Re: Access SMDR Logs on Mitel 3300
Post by: ralph on May 14, 2013, 03:03:37 PM
You can view them from the maintenance commands.
The command is "logs re smdr new 2000"

Ralph
Title: Re: Access SMDR Logs on Mitel 3300
Post by: petr.necas on May 15, 2013, 06:49:38 AM
With new versions (I think since MCD 5.0) you can also schedule export of the SMDR logs in the Scheduler.

in Maintenance and Diagnostics --> Scheduler --> select date, hit Add, Select Activity: File Transfer, File Transfer Option: SMDR File Transfer, and so on

Title: Re: Access SMDR Logs on Mitel 3300
Post by: petr.necas on May 15, 2013, 07:58:54 AM
Ralph, I found that using the LOGSYS READ SMDR command was unreliable and the result of the command was different each time I ran the command. Because by connecting to the TCP port 1752 you can read the data only once, as well as the SMDR export in the Scheduler I ended up parsing the /db/cc/redunlogs/smdr.256 file.

Could someone try to run LOGSYS READ SMDR ALL few times and compare the results of each run with other runs? I escalated this to Mitel support but their conclusion was that it some flow control issue of ESM and reading SMDR logs via LOGSYS READ was not recommended way of reading SMDR logs anyway.

Petr
Title: Re: Access SMDR Logs on Mitel 3300
Post by: pakman on May 15, 2013, 09:34:25 AM
Thanks!
Title: Re: Access SMDR Logs on Mitel 3300
Post by: bluewhite4 on May 15, 2013, 12:35:31 PM
Ralph, I found that using the LOGSYS READ SMDR command was unreliable and the result of the command was different each time I ran the command. Because by connecting to the TCP port 1752 you can read the data only once, as well as the SMDR export in the Scheduler I ended up parsing the /db/cc/redunlogs/smdr.256 file.

Could someone try to run LOGSYS READ SMDR ALL few times and compare the results of each run with other runs? I escalated this to Mitel support but their conclusion was that it some flow control issue of ESM and reading SMDR logs via LOGSYS READ was not recommended way of reading SMDR logs anyway.

Petr

Interesting. I've been doing it this way for years without a problem, and was even told how to do it originally by support a number of years ago.
Title: Re: Access SMDR Logs on Mitel 3300
Post by: ralph on May 15, 2013, 05:34:20 PM
I've been using the logs read command forever without ever noticing an issue.

You can always reprint the logs to the printer port. 
The command is "logs print smdr"   (all don't remember if you can use the "all" options after that or not but the help files should clarify.)

Ralph
Title: Re: Access SMDR Logs on Mitel 3300
Post by: imanm93 on April 27, 2019, 05:05:37 AM
Hello everyone,
every time that I read smdr logs into a <filename> I only able to have access to last 20,000 logs and earlier than those are not accessible.
How can I have older logs? I need some logs for last week but I only receive last 2 days with "logsys read smdr into <filename> all"
Title: Re: Access SMDR Logs on Mitel 3300
Post by: pmhaynes on April 27, 2019, 08:32:47 AM
Hello everyone,
every time that I read smdr logs into a <filename> I only able to have access to last 20,000 logs and earlier than those are not accessible.
How can I have older logs? I need some logs for last week but I only receive last 2 days with "logsys read smdr into <filename> all"

There is only a small buffer. What is output is what you get i'm afraid
Title: Re: Access SMDR Logs on Mitel 3300
Post by: sarond on April 27, 2019, 09:22:12 AM
You can now use the scheduler to transfer the SMDR records to a file. You could set this up to run daily if you like.
Title: Re: Access SMDR Logs on Mitel 3300
Post by: imanm93 on April 27, 2019, 10:18:44 AM
You can now use the scheduler to transfer the SMDR records to a file. You could set this up to run daily if you like.

In scheduler, which activity should I choose to transfer SMDR logs into a file?
Title: Re: Access SMDR Logs on Mitel 3300
Post by: sarond on April 27, 2019, 09:19:49 PM
You would use File Transfer and then you get another option for SMDR File Transfer.

You have to have your external FTP server setup as this is where the file will be transferred to.
Title: Re: Access SMDR Logs on Mitel 3300
Post by: imanm93 on April 28, 2019, 12:50:09 AM
You would use File Transfer and then you get another option for SMDR File Transfer.

You have to have your external FTP server setup as this is where the file will be transferred to.

Great! Thanks mate
Title: Re: Access SMDR Logs on Mitel 3300
Post by: imanm93 on May 02, 2019, 01:51:56 AM
Hello again,
Is there anyway to capture ACD Data as we've done the same for SMDR?
By using Logsys Read <FileName> into ...? or even a scheduler backup?
Title: Re: Access SMDR Logs on Mitel 3300
Post by: bajangerry on April 07, 2021, 04:34:48 PM
I know this is really old but just in case you are still looking for something to do this please see my little ACD logging utility here
https://github.com/BajanGerry/SimpleACDLogger
Title: Re: Access SMDR Logs on Mitel 3300
Post by: johnp on April 07, 2021, 04:46:45 PM
Gerry you rock!
Title: Re: Access SMDR Logs on Mitel 3300
Post by: bajangerry on April 07, 2021, 04:53:26 PM
Thanks Johnp   :D

I will be adding a new SimpleSMDR app on Github in the coming days that will run on any PC and give people easy searching ability for their SMDR records. Will post when it is ready.
Title: Re: Access SMDR Logs on Mitel 3300
Post by: johnp on April 07, 2021, 05:08:18 PM
I has been awhile since I looked at SimpleSMDR, I know when I got it working on the public version of MSL I boosted the database using info from Tapit. Hacked my way through pricing so that I could determine a local call. I am sure you would cry to look at my code :-)
Title: Re: Access SMDR Logs on Mitel 3300
Post by: bajangerry on April 07, 2021, 05:37:32 PM
Hacking is all I do!