Koozali.org: home of the SME Server

CDR not working when compiling Asterisk from source

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
CDR not working when compiling Asterisk from source
« on: May 23, 2010, 10:41:32 AM »
The CDR panel is not working when installing Asterisk from source as per Wikis.
This was noted in http://forums.contribs.org/index.php/topic,45563.0.html where a fix was provided.
Is this still the way to go?

Installed rpms:
asterisk-1.4.28
asterisk-addons-1.4.10
libpri-1.4.10.2
dahdi-linux-complete-2.3.0+2.3.0

sail-2.4.1-23
perl-File-ReadBackwards-1.04-1.2.el4.rf
sme-ast-en-uk-gpl-sounds-1.0.0-3

Thanks for assistance and regards.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
[SOLVED] Re: CDR not working when compiling Asterisk from source
« Reply #1 on: May 25, 2010, 05:17:21 AM »
This was noted in http://forums.contribs.org/index.php/topic,45563.0.html where a fix was provided.
Is this still the way to go?

Yes it is with minor variations:
1) No need to edit cdr_addon_mysql.c - in my case, done already. 
Also not that this file is one directory below - check it just in case.
[root@sme75b2 asterisk-addons-1.4.10]# nano cdr_addon_mysql.c
[root@sme75b2 asterisk-addons-1.4.10]# cd cdr
[root@sme75b2 cdr]# ls
cdr_addon_mysql.c  Makefile

You still have to do:
./configure

make menuselect
Click right Arrow and deselect  app_saycountpl and chan_ooh323
[Note: 2 separate operations, scroll down to get second one...and SAVE!]

make
make install

2) Did not work until I did: Initialise / Regen / Commit / Stop / Reboot.

Now all is fine AFAICT.

Thanks Idkeen for legup!
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.