ONLINE TRAFFIC MONITOR
CHAPTER 11
203
ECOTEL 3G 16.1. Revised: 2011.
Example:
11.3 SENDING CDRS VIA E-MAIL
With an appropriate configuration, you can send corresponding CDRs of outgoing and incoming calls as e-mail.
Bear in mind that the mail server must be configured in the [Mail] section of the pabx.cfg, as described in
Chapter 5.2.2 . The sender is given as cdr and the system’s name appears in the subject box. The text box con-
tains the CDR information according to the format for the entry in Log=/data/cdr.log @<account> @<domain>.
A space must appear between cdr.log and @<account>; @<domain> is optional.
Enter an @ sign to send each CDR entry as e-mail:
Example:
If you replace the first @ sign with an !, the present cdr.log will be sent whenecver a new one is generated:
Example:
F1,25.11.09-14:11:10,[0002:01]CB,DLA,,,,,0102,11,14,1,,
Log=/data/cdr.log @bob@example.com
Log=/data/cdr.log daily 60 5 !bob@example.com