diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-06-28 00:51:45 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-06-28 00:51:45 -0700 |
commit | ce5f9fdd644365ce377232af6d66c1c6c97e8ee5 (patch) | |
tree | c73179238d0fbc6fd2091d90f37a636ef1fa5ffb /bin | |
parent | 223baf5004076bc4bc67c8c5ac48b35d3d00a171 (diff) |
use a separate table for freesidestatus for IVR imports, RT#39055
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cdr-ivr.import | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bin/cdr-ivr.import b/bin/cdr-ivr.import index 07c180b1e..9a4eb0d5e 100755 --- a/bin/cdr-ivr.import +++ b/bin/cdr-ivr.import @@ -5,11 +5,12 @@ use Date::Parse 'str2time'; use FS::cdr::Import; FS::cdr::Import->dbi_import( - 'dbd' => 'Sybase', - 'database' => 'TEL_DATA', - 'table' => 'BILLING', - 'primary_key' => 'BILLING_ID', - 'column_map' => { #freeside => IVR + 'dbd' => 'Sybase', + 'database' => 'TEL_DATA', + 'table' => 'BILLING', + 'primary_key' => 'BILLING_ID', + 'status_table' => 'FREESIDE_BILLING', + 'column_map' => { #freeside => IVR 'cdrid' => 'BILLING_ID', #Primary key #'' => 'CALL_SESSION_ID', # Call Session Id (unique per call session – GUID) 'uniqueid' => 'CALL_ID', # |