[freeside-commits] branch master updated. 1c83c4c02ba6d35ffbabe71bfd4cf6e70afbb894
Ivan
ivan at 420.am
Wed Sep 23 13:16:35 PDT 2015
The branch, master has been updated
via 1c83c4c02ba6d35ffbabe71bfd4cf6e70afbb894 (commit)
from 60ca6141ee3efd2479dc89615504433a0d950356 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1c83c4c02ba6d35ffbabe71bfd4cf6e70afbb894
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Sep 23 13:16:34 2015 -0700
import a2billing username as charged_party, RT#32909
diff --git a/FS/bin/freeside-cdr-a2billing-import b/FS/bin/freeside-cdr-a2billing-import
index 923f5fb..a8469e7 100755
--- a/FS/bin/freeside-cdr-a2billing-import
+++ b/FS/bin/freeside-cdr-a2billing-import
@@ -91,7 +91,7 @@ my %disposition = (
);
my @cols = (
- 'cc_call.id as id', 'cc_card.username as username',
+ "$table.id as id", 'cc_card.username as username',
qw( sessionid
starttime stoptime sessiontime real_sessiontime
terminatecauseid
@@ -101,6 +101,7 @@ my @cols = (
);
my $sql = 'SELECT '.join(',', @cols). " FROM $table".
+ " LEFT JOIN cc_card ON ( $table.card_id = cc_card.id ) ".
' WHERE freesidestatus IS NULL' .
($start && " AND starttime >= '$start'") .
($end && " AND starttime < '$end'") ;
-----------------------------------------------------------------------
Summary of changes:
FS/bin/freeside-cdr-a2billing-import | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list