[freeside-commits] freeside/FS/FS Schema.pm, 1.281, 1.282 Conf.pm, 1.440, 1.441
Ivan,,,
ivan at wavetail.420.am
Sun Apr 10 21:59:34 PDT 2011
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail.420.am:/tmp/cvs-serv15554/FS/FS
Modified Files:
Schema.pm Conf.pm
Log Message:
taqua accountcodes, RT#12181
Index: Schema.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Schema.pm,v
retrieving revision 1.281
retrieving revision 1.282
diff -u -w -d -r1.281 -r1.282
--- Schema.pm 6 Apr 2011 23:40:38 -0000 1.281
+++ Schema.pm 11 Apr 2011 04:59:31 -0000 1.282
@@ -2789,7 +2789,7 @@
# fields for unitel/RSLCOM/convergent that don't map well to asterisk
# defaults
# though these are now used elsewhere:
- # charged_party, upstream_price, rated_price, carrierid
+ # charged_party, upstream_price, rated_price, carrierid, cdrtypenum
###
#cdr_type: Usage = 1, S&E = 7, OC&C = 8
@@ -2835,6 +2835,10 @@
#an indexed place to put big numbers
'cdrid', 'bigint', 'NULL', '', '', '',
+ #for taqua accountcode rewriting, for starters
+ 'sessionnum', 'int', 'NULL', '', '', '',
+ 'subscriber', 'varchar', 'NULL', $char_d, '', '',
+
#old
'cdrbatch', 'varchar', 'NULL', 255, '', '',
#new
@@ -2846,6 +2850,7 @@
'index' => [ [ 'calldate' ],
[ 'src' ], [ 'dst' ], [ 'dcontext' ], [ 'charged_party' ],
[ 'accountcode' ], [ 'carrierid' ], [ 'cdrid' ],
+ [ 'sessionnum' ],
[ 'freesidestatus' ], [ 'freesiderewritestatus' ],
[ 'cdrbatch' ], [ 'cdrbatchnum' ],
],
Index: Conf.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Conf.pm,v
retrieving revision 1.440
retrieving revision 1.441
diff -u -w -d -r1.440 -r1.441
--- Conf.pm 10 Apr 2011 22:22:35 -0000 1.440
+++ Conf.pm 11 Apr 2011 04:59:31 -0000 1.441
@@ -3964,12 +3964,19 @@
{
'key' => 'cdr-taqua-da_rewrite',
- 'section' => '',
+ 'section' => 'telephony',
'description' => 'For the Taqua CDR format, a comma-separated list of directory assistance 800 numbers. Any CDRs with these numbers as "BilledNumber" will be rewritten to the "CallingPartyNumber" (and CallType "12") on import.',
'type' => 'text',
},
{
+ 'key' => 'cdr-taqua-accountcode_rewrite',
+ 'section' => 'telephony',
+ 'description' => 'For the Taqua CDR format, pull accountcodes from secondary CDRs with matching sessionNumber.',
+ 'type' => 'checkbox',
+ },
+
+ {
'key' => 'cust_pkg-show_autosuspend',
'section' => 'UI',
'description' => 'Show package auto-suspend dates. Use with caution for now; can slow down customer view for large insallations.',
More information about the freeside-commits
mailing list