Alcatel OmniPCX Office (OHL Driver XML). Параметры соединения и формат данных SMDR/CDR


Данные ниже соответствуют только программе Advanced PBX Data Logger и могут быть не применимы для других программных продуктов.

Requirements

You need to purchase "a Metering License" from Alcatel. It is impossible to record call accounting data via IP or RS232 without ordering a Metering License for CAPInterface and using OHL Driver (doesn't work if you do not have the metering license inside your PBX).

Configuring OXO

1. Open "OmniPCX Office Management Console" and connect to your PBX using the "Installer" account.
2. Go to the "Software Key Features - Network Management" tab and ensure that the "Call account over IP" option is enabled.

Metering license

3. Go to the "Metering - Printout" tab and set the following options.

SMDR settings

4. Go to the "System - Management Password" tab and set the password for "Administrator".

Metering password

OLD Driver / OHL Driver

1. Create a C:\Logs folder. The driver will store data in this folder.
2. Download the latest version of the Office Link Driver (for example, OLD Driver).
3. Start the installation wizard and select the "Metering mode" there. On a computer with 64 bit OS this driver will be installed to C:\Program Files (x86)\Alcatel\OHL Driver\
4. Go to the driver folder, right click over appliconf.exe and select "Run as Administrator".

OLD driver configuration

5. Specify the IP address of your PBX and the admin password, then click the "Test Connection" button. If the test is successful then you should click the "Save" button.
6. Open OhlDriver.conf in the program folder using Notepad or any other text editor.
7. Scroll to the "Metering parameters" group and specify the created folder after METERING_COLLECTOR_DIR=. Change METERING_COLLECTOR_MAX_TICKET to 100000 (after this limit the driver will create a new XML file).
Then save the file.

#######################################################
# Metering parameters
#######################################################
METERING_OVER_HTTPS=1
METERING_COLLECTOR_DIR=C:\Logs\
METERING_COLLECTOR_FILE=TicketCollector.xml
METERING_COLLECTOR_MAX_TICKET=100000
METERING_PORT=COM1
METERING_BAUDRATE=9600
METERING_BUFFER_MAX_SIZE=2000
METERING_OVERFLOW_THRESHOLD=80
METERING_OVERFLOW_BEHAVIOR=0
METERING_LOG_LEVEL=1

8. Start the driver by clicking the "Start" button. OLD Driver will create and update the "TicketCollector.xml" file in the "C:\Logs\" folder. The content of the XML file should look like:

<?xml version="1.0"?>
<CallAccountingList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TicketCollector.xsd"><CallAccounting xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="CAPTicket_V001.001.xsd">
		<OmniPCXOffice>
			<SoftwareVersion>3EH30394DVAA ALZCH710/070.001</SoftwareVersion>
			<CPUIPAddress>192.168.1.1</CPUIPAddress>
		</OmniPCXOffice>
		<Checksum>25959554</Checksum>
		<TicketType>Call</TicketType>
		<ChargedUserType>A</ChargedUserType>
		<ChargedUserID>455</ChargedUserID>
		<SubscriberName>Helpdesk</SubscriberName>
		<CommunicationType>Outgoing</CommunicationType>
		<TrunkType>P</TrunkType>
		<TrunkID>001</TrunkID>
		<Date>2013-03-13</Date>
		<Time>12:48:00</Time>
		<CallDuration>00:00:06</CallDuration>
		<TaxesAmount>2</TaxesAmount>
		<Service>ST</Service>
		<DialledNumber>0111111111</DialledNumber>
		<DiallingMode>M</DiallingMode>
		<RingingDuration>00:00:00</RingingDuration>
		<Cost>0.20</Cost>
		<Currency>EUR</Currency>
	</CallAccounting>
</CallAccountingList>


9. Create the "File" data source in the PBX logger and add the folder with the "TicketCollector.xml" file.

File data source 1

File data source 2

File data source 3

Данные, извлекаемые PBX Data Logger

ОписаниеТип данныхИмя колонки
CPU IP addressstringFLAG1
Ticket ТипstringCALL_TYPE
Charged user ТипstringFLAG2
Charged user IDstringEXT
Subscriber namestringACC
Call НаправлениеstringDIRECTION
Линия ТипstringFLAG3
ЛинияstringTRUNK
Дата звонкаdatetimeCALL_DATE
Start timedatetimeSTART_TIME
Время звонкаdatetimeCALL_TIME
Длительность звонкаdatetimeCALL_DURATION
Длительность звонка (с)integerCALL_DURATION_S
Taxes amountstringFLAG4
СлужбаstringFLAG5
Набранный номерstringDIALED_PHONE
Вызывающий телефонstringCALLER_PHONE
Dialling РежимstringFLAG6
Ожидания ответаing durationdatetimeRING
СтоимостьfloatCOST
CurrencystringFLAG7

Замечание: Продукты и компании, указанные здесь используются только для обозначение и идентификации и могут быть торговыми и/или зарегистрированными марками соответствующих компаний.