diff options
author | mark <mark> | 2011-12-13 20:40:28 +0000 |
---|---|---|
committer | mark <mark> | 2011-12-13 20:40:28 +0000 |
commit | c0049ff53677ec701570992a585ae779807b5d1a (patch) | |
tree | 8de790dbf45508253178bccdea025bc609bf6e0b /FS/FS/svc_phone.pm | |
parent | b4e0275bb2074630cea6fc2658d73aedcd29b239 (diff) |
CDR type separation and summary formats, #15535
Diffstat (limited to 'FS/FS/svc_phone.pm')
-rw-r--r-- | FS/FS/svc_phone.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/FS/FS/svc_phone.pm b/FS/FS/svc_phone.pm index e3d18e0..e8b0d0a 100644 --- a/FS/FS/svc_phone.pm +++ b/FS/FS/svc_phone.pm @@ -658,6 +658,10 @@ on inbound processing status. =item default_prefix => "XXX": Also accept the phone number of the service prepended with the chosen prefix. +=item begin, end: Start and end of a date range, as unix timestamp. + +=item cdrtypenum: Only return CDRs with this type number. + =item disable_src => 1: Only match on "charged_party", not "src". =item by_svcnum: not supported for svc_phone @@ -696,6 +700,10 @@ sub get_cdrs { $hash{'freesidestatus'} = $options{'status'} if exists($options{'status'}); } + + if ($options{'cdrtypenum'}) { + $hash{'cdrtypenum'} = $options{'cdrtypenum'}; + } my $for_update = $options{'for_update'} ? 'FOR UPDATE' : ''; |