|
|
@ -11,6 +11,8 @@ separated text file.
|
|
|
|
for an updated list of supported databases, from MySQL to MsSQL
|
|
|
|
for an updated list of supported databases, from MySQL to MsSQL
|
|
|
|
and text files.
|
|
|
|
and text files.
|
|
|
|
* cdr_tds supports FreeTDS databases (Among them MS SQL)
|
|
|
|
* cdr_tds supports FreeTDS databases (Among them MS SQL)
|
|
|
|
|
|
|
|
NOTE: Please read README.tds for information on possible
|
|
|
|
|
|
|
|
problems with the FreeTDS driver
|
|
|
|
* cdr_sqlite supports SQlite
|
|
|
|
* cdr_sqlite supports SQlite
|
|
|
|
* cdr_pgsql supports PostgreSQL
|
|
|
|
* cdr_pgsql supports PostgreSQL
|
|
|
|
|
|
|
|
|
|
|
@ -37,28 +39,28 @@ channel configuration files, like sip.conf, iax.conf etc.
|
|
|
|
Fields of the CDR in Asterisk
|
|
|
|
Fields of the CDR in Asterisk
|
|
|
|
-----------------------------
|
|
|
|
-----------------------------
|
|
|
|
|
|
|
|
|
|
|
|
1. accountcode: What account number to use, (string, 20 characters)
|
|
|
|
1. accountcode: What account number to use, (string, 20 characters)
|
|
|
|
2. src: Caller*ID number (string, 80 characters)
|
|
|
|
2. src: Caller*ID number (string, 80 characters)
|
|
|
|
3. dst: Destination extension (string, 80 characters)
|
|
|
|
3. dst: Destination extension (string, 80 characters)
|
|
|
|
4. dcontext: Destination context (string, 80 characters)
|
|
|
|
4. dcontext: Destination context (string, 80 characters)
|
|
|
|
5. clid: Caller*ID with text (80 characters)
|
|
|
|
5. clid: Caller*ID with text (80 characters)
|
|
|
|
6. channel: Channel used (80 characters)
|
|
|
|
6. channel: Channel used (80 characters)
|
|
|
|
7. dstchannel: Destination channel if appropriate (80 characters)
|
|
|
|
7. dstchannel: Destination channel if appropriate (80 characters)
|
|
|
|
8. lastapp: Last application if appropriate (80 characters)
|
|
|
|
8. lastapp: Last application if appropriate (80 characters)
|
|
|
|
9. lastdata: Last application data (arguments) (80 characters)
|
|
|
|
9. lastdata: Last application data (arguments) (80 characters)
|
|
|
|
10. start: Start of call (date/time)
|
|
|
|
10. start: Start of call (date/time)
|
|
|
|
11. answer: Answer of call (date/time)
|
|
|
|
11. answer: Answer of call (date/time)
|
|
|
|
12. end: End of call (date/time)
|
|
|
|
12. end: End of call (date/time)
|
|
|
|
13. duration: Total time in system, in seconds (integer), from dial to hangup
|
|
|
|
13. duration: Total time in system, in seconds (integer), from dial to hangup
|
|
|
|
14. billsec: Total time call is up, in seconds (integer), from answer to hangup
|
|
|
|
14. billsec: Total time call is up, in seconds (integer), from answer to hangup
|
|
|
|
15. disposition: What happened to the call: ANSWERED, NO ANSWER, BUSY
|
|
|
|
15. disposition: What happened to the call: ANSWERED, NO ANSWER, BUSY
|
|
|
|
16. amaflags: What flags to use: DOCUMENTATION, BILL, IGNORE etc,
|
|
|
|
16. amaflags: What flags to use: DOCUMENTATION, BILL, IGNORE etc,
|
|
|
|
specified on a per channel basis like accountcode.
|
|
|
|
specified on a per channel basis like accountcode.
|
|
|
|
17. user field: A user-defined field, maximum 255 characters
|
|
|
|
17. user field: A user-defined field, maximum 255 characters
|
|
|
|
|
|
|
|
|
|
|
|
In some cases, uniqueid is appended:
|
|
|
|
In some cases, uniqueid is appended:
|
|
|
|
|
|
|
|
|
|
|
|
* uniqueid: Unique Channel Identifier (32 characters)
|
|
|
|
* uniqueid: Unique Channel Identifier (32 characters)
|
|
|
|
This needs to be enabled in the source code at compile time
|
|
|
|
This needs to be enabled in the source code at compile time
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|