diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-06-28 00:51:44 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-06-28 00:51:44 -0700 |
commit | 189f40043dc1e82373243acc73abd03f8151c87c (patch) | |
tree | db1a223daf619db8f7f633bb4eb805f35496a90a /bin | |
parent | 6805930da094e93edb07c01f50a6a3c071d8ab5e (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', # |