[freeside-commits] freeside/FS/bin freeside-cdrrewrited,1.6,1.7
Ivan,,,
ivan at wavetail.420.am
Mon May 2 09:14:26 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/bin
In directory wavetail.420.am:/tmp/cvs-serv30817
Modified Files:
freeside-cdrrewrited
Log Message:
taqua rewriting, RT#12181
Index: freeside-cdrrewrited
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/bin/freeside-cdrrewrited,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- freeside-cdrrewrited 1 May 2011 19:07:29 -0000 1.6
+++ freeside-cdrrewrited 2 May 2011 16:14:24 -0000 1.7
@@ -4,7 +4,7 @@
use vars qw( $conf );
use FS::Daemon ':all'; #daemonize1 drop_root daemonize2 myexit logfile sig*
use FS::UID qw( adminsuidsetup );
-use FS::Record qw( qsearch ); #qsearchs);
+use FS::Record qw( qsearch qsearchs );
#use FS::cdr;
#use FS::cust_pkg;
#use FS::queue;
@@ -104,6 +104,7 @@
}
push @status, 'taqua-accountcode';
+ $cdr->status('done'); #so it doesn't try to rate
}
$cdr->freesiderewritestatus(
@@ -150,9 +151,9 @@
=head1 DESCRIPTION
-Runs continuously, searches for CDRs and does forwarded-call rewriting if the
-"cdr-asterisk_forward_rewrite" or "cdr-charged_party_rewrite" config option is
-enabled.
+Runs continuously, searches for CDRs and does forwarded-call rewriting if any
+of the "cdr-asterisk_forward_rewrite", "cdr-charged_party_rewrite" or
+"cdr-taqua-accountcode_rewrite" config options are enabled.
=head1 SEE ALSO
More information about the freeside-commits
mailing list