----- Original Message -----
From: tarik@pasifiktelekom.com.tr [mailto:tarik@pasifiktelekom.com.tr]
To: service@ivc.nnov.ru
Sent: Thu, 3 Nov 2016 15:07:58 +0300
Subject:
Hi,
Yes, the same thing happen to me, when I originate call I get the same error in freeswitch, column count different this is happen in cdr_sqlite.conf.xml.
in Terminal:
nano /usr/local/freeswitch/conf/autoload_configs/cdr_sqlite.conf.xml
comment this line:
<templates>
<!--<template name=”example”>”${caller_id_name}”,”${caller_id_number}”,”${destination_number}”,”${context}”,”${start_stamp}”,”${answer_stamp}”,”${end_stamp}”,${duration},${billsec},”${hangup_cause}”, “${hangup_cause_q850}”,”${uuid}”,”${bleg_uuid}”,”${accountcode}”</template>-->
</templates>
replace it with:
<templates>
<template name="example">"${caller_id_name}","${caller_id_number}","${destination_number}","${context}","${start_stamp}","${answer_stamp}","${end_stamp}",${duration},${billsec},"${hangup_cause}","${uuid}","${bleg_uuid}","${accountcode}",0</template>
</templates>
After that restart supervisor.
I attached some notes and .sql schema, and .yaml schema configuration for cdr-pusher.
Best regards.
Tarek,
----- Original Message -----
From: Mikhail Demekhov [mailto:Mikhail Demekhov]
To: tarik@pasifiktelekom.com.tr
Sent: Thu, 3 Nov 2016 13:03:08 +0300
Subject:
03.11.2016 12:12, tarik@pasifiktelekom.com.tr пишет:
> Yes I used
> cdr-pusher
> https://github.com/areski/cdr-pusher
> I get cdr and store it in PostgreDB from FreeSWITCH.
>
I installed cdr-stats on Debian 8 with FreeSWITCH.
cdr-pusher successfully processed the first entry in the cdr.db (msg =
"Total fetched from database: 8" msg = "Total number pushed to
PostgreSQL: 8") and added to the database cdr.db"flag_imported".
Thereafter Freeswitch stopped writing in cdr.db error
switch_core_sqldb.c: 587 NATIVE SQL ERR [table cdr has 15 columns but 14
values were supplied]
In Dashboard, I do not see these records 8.
But Diagnosis CDR-Staty shows TOTAL CDR 8
How to solve these problems?
Regards,
Mikhail Demekhov
>
>
> *----- Original Message -----*
> *From:* Mikhail Demekhov [mailto:Mikhail Demekhov]
> *To:* freeswitch-users@lists.freeswitch.org
> *Sent:* Wed, 2 Nov 2016 17:37:36 +0300
> *Subject:*
>
> Hello!
>
> Anyone using CDR-Stats (http://cdr-stats.readthedocs.io/en/stable/)?
> There are several questions on the use.
>
> Regards,
> Mikhail Demekhov
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting@freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
> --
> Bu eposta GarantiMail Security Gateway tarafından antivirüs ve antispam kontrolünden geçirilmiştir. #MAILGW02#
>
--
Bu eposta GarantiMail Security Gateway tarafından antivirüs ve antispam kontrolünden geçirilmiştir. #MAILGW02#