CDR Custom with only outbound calls

Hi,

I have asterisk 11.25.

I know how to make custom CDR but it maps to Master.csv in which all calls cdr is written.
How can I make a custom cdr with only outbound calls made and it doesn’t include internal calls?

Custom CDR it is basically a copy of the Master CDR, but you can define which fields to output and the order but it will log all calls by default , only workaround I see here is use NoCDR() app for internal calls, but it will affect also Master CDR

1 Like

Thank you for explaining but guess have to make a script to remove other entries from the file once its created and rotated.

You could set a custom userfield on outbound calls to the PSTN, then you can grep for that field in your CDR to find only those entries.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.