Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once connected to the phone system, you can transfer the XML CDR files, located by default in 

Referencemacro
Labelopt/3com/VCX/acctxml/db/export
, to the call logging PC, e.g. .

Screenshotmacro
Borderfalse
Shadowfalse
URL/download/attachments/13435351/3COM_2.png

In this example, the XML files are being copied in the following location:

Referencemacro
LabelC:\Program Files\Tri-Line\TIM PlusEnterprise\FTP
, given the
Referencemacro
LabelFTP
folder has been created in advance for this purpose.

On the phone system, the CDR files are stored by default in the following location:

/download/attachments/13435351/3COM_2.png
Screenshotmacro
Borderfalse
Shadowfalse
URL
Screenshotmacro

Creating a batch file

To enable TIM Enterprise to process the XML files, you need to create a batch file containing the following lines:

Code Block
languagenone
xcopy/Y "C:\Program Files\Tri-Line\TIM Enterprise\FTP\*.XML"
"C:\Program Files\Tri-Line\TIM Enterprise\spool\*.{sitecode}" 
cd "\Program Files\Tri-Line\TIM Enterprise\FTP\" 
del *.* /q
cd\ 

 

The batch file will cut the XML files and rename the file extension to the relevant

Keywordmacro
Label{sitecode}
, then paste the files into 
Referencemacro
Labelspool
folder. A Windows scheduled task needs to be set up to run the batch file every 5 minutes or so.