AGG Software Forums
September 08, 2024, 07:33:15 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome on our forum!
 
   Home   Help Search Login Register  

Pages: [1]
  Print  
Author Topic: PBX Data logger, problem with SQL database send  (Read 35497 times)
Digitalfury
Jr. Member
**

Karma: +0/-0
Posts: 6


View Profile
« on: September 13, 2011, 10:00:00 AM »

I am getting an error on the SQL Database send for pbx logger. Working with Avaya IP Office.

Data have been processed with errors

The data is not being entered into the table.
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #1 on: September 14, 2009, 05:56:36 PM »

Is it possible the module is temporary disabled? In any other case, the program should display a bit more detailed error message.
Logged
Digitalfury
Jr. Member
**

Karma: +0/-0
Posts: 6


View Profile
« Reply #2 on: September 14, 2009, 06:40:58 PM »

I have had a bit more luck with the ODBC export method. The only problem I am having now is that the call_duration field is throwing odd results. Due to the format.

It works when set up as a datetime2 field. But you obviously get an odd date in the duration field.

When it is set up as a Time field in both the bindings and the SQL database the logger throws a Datetime overflow error.
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #3 on: September 22, 2011, 10:00:00 AM »

Could you capture your data to a log file and attach it here? I'll verify our parser settings.
Logged
Digitalfury
Jr. Member
**

Karma: +0/-0
Posts: 6


View Profile
« Reply #4 on: September 27, 2011, 10:00:00 AM »

Attached

* Prefix200909.log (0.27 KB - downloaded 9 times.)
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #5 on: September 30, 2011, 10:00:00 AM »

I've verified the parser and it doesn't append the date to the call_duration field. Due technical reasons, the program uses the "datetime" data type for the call duration field, but a date part is empty in this case.
Logged
Digitalfury
Jr. Member
**

Karma: +0/-0
Posts: 6


View Profile
« Reply #6 on: September 30, 2011, 10:00:00 AM »

How should I rectify the problem? I have tried using the Time(7) field, but the parser throws a datetime overflow error when sending data to the SQL Server.
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #7 on: September 15, 2009, 10:52:40 AM »

You should use the "datetime" data type. Could you attach a screenshot with wrong data within your database?
Logged
Digitalfury
Jr. Member
**

Karma: +0/-0
Posts: 6


View Profile
« Reply #8 on: September 15, 2009, 11:01:26 AM »

Attached, Surely it is possible to get duration as a time. obviously duration has no date value.


* screen.jpg (436.64 KB, 1280x1024 - viewed 17 times.)
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #9 on: September 15, 2009, 11:18:17 AM »

I see that the the date part is empty (=0). Just change display mode for the call_duration column do hh:nn:ss.
Logged
Digitalfury
Jr. Member
**

Karma: +0/-0
Posts: 6


View Profile
« Reply #10 on: September 15, 2009, 01:09:20 PM »

I have tried this. It only allows me to change the format. then I get the datetime overflow error on the pbx logger.

Any thoughts?
Logged
Arthur Grasin
Tech. Support
Administrator
Hero Member
*****

Karma: +0/-0
Posts: 806



View Profile WWW
« Reply #11 on: September 15, 2009, 01:39:05 PM »

You should change the display format in the client application that will retrieve data from the database.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines