1.2.1 Structure of NSB_AOC_OPEN_INFO

Description

Connecting parameters necessary for opening the channel of accounting records.

Columns

Name

Type

Description

 

eConnType

NSB_CONN_TYPE

Type of connection. Possible values are:

NSB_CONN_TYPE_TCP

TCP channel

NSB_CONN_TYPE_UART

N/A

NSB_CONN_TYPE_MODEM

N/A

pAddress

LPCSTR

PBX address. According to the type of connection, it is:

NSB_CONN_TYPE_TCP

IP address

NSB_CONN_TYPE_UART

N/A

NSB_CONN_TYPE_MODEM

N/A

pUserName

LPCSTR

Username 1

pPassword

LPCSTR

Password 1

nStartFrom

DWORD

Number of the accounting record, from which sending is to begin.

 

pGetIdentity

NSB_PF_AOC_GET_IDENTITY

Call-back fiction for  the username and password

 

pGetIdentityParam

LPVOID

A parameter for username and password Call-back