X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fsvc_phone.pm;h=e8b0d0a71899d4512c5a3602c11e1716fa1ffa9e;hb=fc2bc78541d1c8c0f1f0570b55e41ac032d03e65;hp=e3d18e092be5fa15721053f241340387b9e47aec;hpb=4b4d74a09dd4e39f53b7d0944b20b178cbecd5ec;p=freeside.git diff --git a/FS/FS/svc_phone.pm b/FS/FS/svc_phone.pm index e3d18e092..e8b0d0a71 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' : '';