Author Topic: Access SMDR Logs on Mitel 3300  (Read 23461 times)

Offline pakman

  • Sr. Member
  • ****
  • Posts: 483
  • Karma: +1/-0
    • View Profile
Access SMDR Logs on Mitel 3300
« 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,
« Last Edit: May 14, 2013, 01:38:35 PM by ralph »


Offline x-man

  • Hero Member
  • *****
  • Posts: 1129
  • Country: gb
  • Karma: +25/-0
    • View Profile
Re: Access SMDR Logs
« Reply #1 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.

Offline ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: Access SMDR Logs on Mitel 3300
« Reply #2 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

Offline petr.necas

  • Sr. Member
  • ****
  • Posts: 393
  • Country: cz
  • Karma: +8/-0
    • View Profile
Re: Access SMDR Logs on Mitel 3300
« Reply #3 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


Offline petr.necas

  • Sr. Member
  • ****
  • Posts: 393
  • Country: cz
  • Karma: +8/-0
    • View Profile
Re: Access SMDR Logs on Mitel 3300
« Reply #4 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

Offline pakman

  • Sr. Member
  • ****
  • Posts: 483
  • Karma: +1/-0
    • View Profile
Re: Access SMDR Logs on Mitel 3300
« Reply #5 on: May 15, 2013, 09:34:25 AM »
Thanks!

Offline bluewhite4

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1041
  • Country: us
  • Karma: +20/-0
    • View Profile
Re: Access SMDR Logs on Mitel 3300
« Reply #6 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.

Offline ralph

  • Mitel Forums Admin
  • Hero Member
  • *****
  • Posts: 5767
  • Country: us
  • Karma: +469/-0
  • Published Author: http://amzn.to/2dcYSY5
    • View Profile
Re: Access SMDR Logs on Mitel 3300
« Reply #7 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

Offline imanm93

  • Jr. Member
  • **
  • Posts: 76
  • Country: au
  • Karma: +0/-0
  • Keep it simple!
    • View Profile
    • Iman Mohammadi's Blog
Re: Access SMDR Logs on Mitel 3300
« Reply #8 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"

Offline pmhaynes

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 238
  • Country: gb
  • Karma: +11/-0
    • View Profile
Re: Access SMDR Logs on Mitel 3300
« Reply #9 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

Offline sarond

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1404
  • Country: au
  • Karma: +73/-0
    • View Profile
Re: Access SMDR Logs on Mitel 3300
« Reply #10 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.

Offline imanm93

  • Jr. Member
  • **
  • Posts: 76
  • Country: au
  • Karma: +0/-0
  • Keep it simple!
    • View Profile
    • Iman Mohammadi's Blog
Re: Access SMDR Logs on Mitel 3300
« Reply #11 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?

Offline sarond

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1404
  • Country: au
  • Karma: +73/-0
    • View Profile
Re: Access SMDR Logs on Mitel 3300
« Reply #12 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.

Offline imanm93

  • Jr. Member
  • **
  • Posts: 76
  • Country: au
  • Karma: +0/-0
  • Keep it simple!
    • View Profile
    • Iman Mohammadi's Blog
Re: Access SMDR Logs on Mitel 3300
« Reply #13 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

Offline imanm93

  • Jr. Member
  • **
  • Posts: 76
  • Country: au
  • Karma: +0/-0
  • Keep it simple!
    • View Profile
    • Iman Mohammadi's Blog
Re: Access SMDR Logs on Mitel 3300
« Reply #14 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?


 

Sitemap 1 2 3 4 5 6 7 8 9 10