From 2b0b1cf5e74a29114bd7dd683240a3be9c9ab2a1 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 13 Feb 2014 13:37:36 -0800 Subject: [PATCH] fix voipswitch import, RT#26228 --- bin/cdr-voipswitch.import | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cdr-voipswitch.import b/bin/cdr-voipswitch.import index ce5b4539d..817c4bc73 100644 --- a/bin/cdr-voipswitch.import +++ b/bin/cdr-voipswitch.import @@ -121,7 +121,7 @@ my $imported = 0; my $row; while ( $row = $sth->fetchrow_hashref ) { - my $cdr = FS::cdr->new( + my $cdr = FS::cdr->new({ cdrid => $row->{id_call}, charged_party => sprintf('%.2d', $row->{client_type}). $row->{id_client}, -- 2.11.0