-1

I am having trouble in saving my cdr to database. The database connections are fine. I am able to insert data into my table using INSERT statements manually but the call records are not being saved automatically as the Asterisk tutorial suggests. I have used the following guide:

https://wiki.asterisk.org/wiki/display/AST/MSSQL+CDR+Backend

Kindly suggest.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Y Khan
  • 1
  • 1

1 Answers1

0

1) check by isql that you have connection on odbc level

 isql database_entry_in_odbc_ini

2) check that you CAN insert cdr via odbc and table structure is correct.

3) check

 asterisk -r
 cdr odbc show status

4) enable debug in asterisk and see what exactly dooing when call end.

arheops
  • 15,544
  • 1
  • 21
  • 27
  • I am able to save CDR but for ANSWERED calls only. I need to do it for MISSED calls. I have set unanswered=yes in cdr.conf. Kindly suggest. – Y Khan Apr 01 '15 at 09:15
  • you need restart cdr module or asterisk after change. – arheops Apr 01 '15 at 14:48