Hi! Im trying to setup asternic cdr on a standalone server. All works, but there zero calls in all columns. If cdr table is from transit server (for example, sip-operator < - > asterisk cdr (transit)< - > Freepbx) will it work?
Please help me with this installation.
Answered by admin
See post in contextsoftware needs to know which devices are extensions.. for that it tries to read information from know backends, freepbx, thirdlane, or in case of vanilla/clear asterisk, filenames... You can edit the file functions-astdb.php to suit your needs. That function by default reads the sip.conf file, populates an array with channel, name and extension, and then use that to populate the acdrchannels mysql table. You can adapt that to your needs, but selecting from cdr will be expensive if you have tons of records, it is not really advisable unless you have a few cdrs only.