diff options
author | Mark Wells <mark@freeside.biz> | 2013-03-22 17:27:55 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2013-03-22 17:27:55 -0700 |
commit | 4055cf6d3af3a16318a54e374cc04ae065f0dc14 (patch) | |
tree | 64e2b44b15b2bf42b8b891049c98e69913fe5933 /FS/FS/part_pkg | |
parent | 6a3667417caf5efcd06c3ded9da2df7021a38fe9 (diff) |
option to skip rating calls where source and destination are the same customer, #21677
Diffstat (limited to 'FS/FS/part_pkg')
-rw-r--r-- | FS/FS/part_pkg/voip_cdr.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/FS/FS/part_pkg/voip_cdr.pm b/FS/FS/part_pkg/voip_cdr.pm index 67ddfb5..1c891b1 100644 --- a/FS/FS/part_pkg/voip_cdr.pm +++ b/FS/FS/part_pkg/voip_cdr.pm @@ -208,6 +208,11 @@ tie my %detail_formats, 'Tie::IxHash', 'skip_max_callers' => { 'name' => 'Do not charge for CDRs where max_callers is less than or equal to this value: ', }, + 'skip_same_customer' => { + 'name' => 'Do not charge for calls between numbers belonging to the same customer', + 'type' => 'checkbox', + }, + 'use_duration' => { 'name' => 'Calculate usage based on the duration field instead of the billsec field', 'type' => 'checkbox', }, @@ -313,6 +318,7 @@ tie my %detail_formats, 'Tie::IxHash', noskip_dst_length_accountcode_tollfree skip_lastapp skip_max_callers + skip_same_customer use_duration 411_rewrite output_format |